Home
last modified time | relevance | path

Searched refs:v6src (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_ftable.c989 ip_select_src_ill(const in6_addr_t *v6src, zoneid_t zoneid, ip_stack_t *ipst) in ip_select_src_ill() argument
993 boolean_t isv6 = !IN6_IS_ADDR_V4MAPPED(v6src); in ip_select_src_ill()
997 ipif = ipif_lookup_addr_nondup_v6(v6src, NULL, zoneid, ipst); in ip_select_src_ill()
999 IN6_V4MAPPED_TO_IPADDR(v6src, v4src); in ip_select_src_ill()
1014 ip_verify_src_on_ill(const in6_addr_t v6src, ill_t *ill, zoneid_t zoneid) in ip_verify_src_on_ill() argument
1025 ipif = ipif_lookup_addr_nondup_v6(&v6src, ill, zoneid, ipst); in ip_verify_src_on_ill()
1027 IN6_V4MAPPED_TO_IPADDR(&v6src, v4src); in ip_verify_src_on_ill()
1061 ip_select_route(const in6_addr_t *v6dst, const in6_addr_t v6src, in ip_select_route() argument
1084 verify_src = (!V6_OR_V4_INADDR_ANY(v6src) && in ip_select_route()
1119 ill = ip_select_src_ill(&v6src, ixa->ixa_zoneid, ipst); in ip_select_route()
[all …]
H A Dip_multi.c88 const in6_addr_t *v6src);
94 mcast_record_t fmode, const in6_addr_t *v6src);
1792 const in6_addr_t *v6src, ipaddr_t ifaddr, uint_t ifindex, ill_t **illpp) in ip_opt_check() argument
1801 src_unspec = IN6_IS_ADDR_UNSPECIFIED(v6src); in ip_opt_check()
1807 if (!IN6_IS_ADDR_V4MAPPED(v6src) && !src_unspec) in ip_opt_check()
1813 IN6_V4MAPPED_TO_IPADDR(v6src, v4src); in ip_opt_check()
1818 if (IN6_IS_ADDR_V4MAPPED(v6src) && !src_unspec) in ip_opt_check()
1821 IN6_IS_ADDR_MULTICAST(v6src)) { in ip_opt_check()
2456 mcast_record_t fmode, const in6_addr_t *v6src) in ip_opt_add_group() argument
2462 err = ip_opt_check(connp, v6group, v6src, ifaddr, ifindex, &ill); in ip_opt_add_group()
[all …]
H A Dicmp.c429 in6_addr_t v6src; in rawip_do_bind() local
447 IN6_IPADDR_TO_V4MAPPED(v4src, &v6src); in rawip_do_bind()
466 v6src = sin6->sin6_addr; in rawip_do_bind()
467 if (!IN6_IS_ADDR_UNSPECIFIED(&v6src)) { in rawip_do_bind()
468 if (IN6_IS_ADDR_LINKSCOPE(&v6src)) in rawip_do_bind()
470 laddr_type = ip_laddr_verify_v6(&v6src, zoneid, ipst, in rawip_do_bind()
502 connp->conn_bound_addr_v6 = v6src; in rawip_do_bind()
503 connp->conn_laddr_v6 = v6src; in rawip_do_bind()
516 connp->conn_saddr_v6 = v6src; in rawip_do_bind()
731 in6_addr_t v6src = connp->conn_saddr_v6; in rawip_do_connect() local
[all …]
H A Dconn_opt.c1570 in6_addr_t *v6src = &pkti->ipi6_addr; in conn_opt_set_ipv6() local
1574 if (IN6_IS_ADDR_V4MAPPED(v6src)) { in conn_opt_set_ipv6()
1575 IN6_V4MAPPED_TO_IPADDR(v6src, v4src); in conn_opt_set_ipv6()
1581 if (IN6_IS_ADDR_LINKSCOPE(v6src)) in conn_opt_set_ipv6()
1584 laddr_type = ip_laddr_verify_v6(v6src, zoneid, in conn_opt_set_ipv6()
2186 const in6_addr_t *v6src, const in6_addr_t *v6dst, uint32_t flowinfo) in conn_build_hdr_template() argument
2234 IN6_V4MAPPED_TO_IPADDR(v6src, ipha->ipha_src); in conn_build_hdr_template()
2252 ip6h->ip6_src = *v6src; in conn_build_hdr_template()
2292 const in6_addr_t *v6src, const in6_addr_t *v6dst, in conn_prepend_hdr() argument
2339 IN6_V4MAPPED_TO_IPADDR(v6src, ipha->ipha_src); in conn_prepend_hdr()
[all …]
H A Dip6.c1270 in6_addr_t v6src; in icmp_pkt_v6() local
1328 v6src = *v6src_ptr; in icmp_pkt_v6()
1341 v6src = ip6h->ip6_dst; in icmp_pkt_v6()
1344 v6src = ipv6_all_zeros; in icmp_pkt_v6()
1384 ip6h->ip6_src = v6src; in icmp_pkt_v6()
1868 ip_laddr_verify_v6(const in6_addr_t *v6src, zoneid_t zoneid, in ip_laddr_verify_v6() argument
1875 ASSERT(!IN6_IS_ADDR_V4MAPPED(v6src)); in ip_laddr_verify_v6()
1876 ASSERT(!IN6_IS_ADDR_UNSPECIFIED(v6src)); in ip_laddr_verify_v6()
1886 src_ire = ire_ftable_lookup_v6(v6src, NULL, NULL, 0, in ip_laddr_verify_v6()
1903 } else if (IN6_IS_ADDR_MULTICAST(v6src)) { in ip_laddr_verify_v6()
[all …]
H A Dip.c6431 in6_addr_t v6group, v6src; in ip_opt_set_multicast_sources() local
6485 IN6_INADDR_TO_V4MAPPED(&s->sin_addr, &v6src); in ip_opt_set_multicast_sources()
6495 v6src = s6->sin6_addr; in ip_opt_set_multicast_sources()
6501 IN6_INADDR_TO_V4MAPPED(&imreqp->imr_sourceaddr, &v6src); in ip_opt_set_multicast_sources()
6509 if (IN6_IS_ADDR_V4MAPPED_ANY(&v6src)) in ip_opt_set_multicast_sources()
6510 v6src = ipv6_all_zeros; in ip_opt_set_multicast_sources()
6532 checkonly, &v6group, fmode, &v6src); in ip_opt_set_multicast_sources()
6539 fmode, &v6src); in ip_opt_set_multicast_sources()
13720 mcast_record_t fmode, const in6_addr_t *v6src) in ip_multirt_apply_membership() argument
13783 fmode, v6src); in ip_multirt_apply_membership()
H A Dspd.c4406 ipsec_cache_outbound_policy(const conn_t *connp, const in6_addr_t *v6src, in ipsec_cache_outbound_policy() argument
4453 IN6_V4MAPPED_TO_IPADDR(v6src, sel.ips_local_addr_v4); in ipsec_cache_outbound_policy()
4456 sel.ips_local_addr_v6 = *v6src; in ipsec_cache_outbound_policy()
/titanic_41/usr/src/uts/common/inet/udp/
H A Dudp.c1994 const in6_addr_t *v6src, const in6_addr_t *v6dst, in_port_t dstport, in udp_prepend_hdr() argument
2011 mp = conn_prepend_hdr(ixa, ipp, v6src, v6dst, IPPROTO_UDP, flowinfo, in udp_prepend_hdr()
2075 udp_build_hdr_template(conn_t *connp, const in6_addr_t *v6src, in udp_build_hdr_template() argument
2088 error = conn_build_hdr_template(connp, UDPH_SIZE, 0, v6src, v6dst, in udp_build_hdr_template()
2609 in6_addr_t v6src; in udp_output_ancillary() local
2711 v6src = connp->conn_saddr_v6; in udp_output_ancillary()
2736 if (srcid != 0 && IN6_IS_ADDR_UNSPECIFIED(&v6src)) { in udp_output_ancillary()
2737 if (!ip_srcid_find_id(srcid, &v6src, IPCL_ZONEID(connp), in udp_output_ancillary()
2757 v6src = ipp->ipp_addr; in udp_output_ancillary()
2760 v6src = ipp->ipp_addr; in udp_output_ancillary()
[all …]
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_common.c925 in6_addr_t v6src, v6dst; in sctp_build_hdrs() local
930 v6src = connp->conn_saddr_v6; in sctp_build_hdrs()
1010 ip6h->ip6_src = v6src; in sctp_build_hdrs()
/titanic_41/usr/src/lib/libnwam/common/
H A Dlibnwam_ncp.c826 uint64_t v6src[] = { NWAM_ADDRSRC_DHCP, NWAM_ADDRSRC_AUTOCONF }; in nwam_ncu_create() local
834 (err = nwam_value_create_uint64_array(v6src, v6srccnt, in nwam_ncu_create()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c3495 mib_item_t *v6grp = NULL, *v6src = NULL; in group_report() local
3539 v6src = item; in group_report()
3652 if (!Vflag || v6src == NULL) in group_report()
3658 v6src->length/sizeof (ipv6_grpsrc_t)); in group_report()
3661 for (ips6 = (ipv6_grpsrc_t *)v6src->valp; in group_report()
3662 (char *)ips6 < (char *)v6src->valp + v6src->length; in group_report()