Home
last modified time | relevance | path

Searched refs:v4src (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_ftable.c995 ipaddr_t v4src; in ip_select_src_ill() local
1000 IN6_V4MAPPED_TO_IPADDR(v6src, v4src); in ip_select_src_ill()
1001 ipif = ipif_lookup_addr_nondup(v4src, NULL, zoneid, ipst); in ip_select_src_ill()
1019 ipaddr_t v4src; in ip_verify_src_on_ill() local
1028 IN6_V4MAPPED_TO_IPADDR(&v6src, v4src); in ip_verify_src_on_ill()
1029 ipif = ipif_lookup_addr_nondup(v4src, ill, zoneid, ipst); in ip_verify_src_on_ill()
H A Dconn_opt.c1621 ipaddr_t v4src; in conn_opt_set_ipv6() local
1625 IN6_V4MAPPED_TO_IPADDR(v6src, v4src); in conn_opt_set_ipv6()
1626 if (v4src != INADDR_ANY) { in conn_opt_set_ipv6()
1627 laddr_type = ip_laddr_verify_v4(v4src, in conn_opt_set_ipv6()
2577 ipaddr_t v4src, v4nexthop; in ip_attr_connect() local
2581 IN6_V4MAPPED_TO_IPADDR(v6src, v4src); in ip_attr_connect()
2583 if (connp->conn_unspec_src || v4src != INADDR_ANY) in ip_attr_connect()
2588 error = ip_set_destination_v4(&v4src, v4dst, v4nexthop, ixa, in ip_attr_connect()
2590 IN6_IPADDR_TO_V4MAPPED(v4src, &laddr); in ip_attr_connect()
H A Dicmp.c430 ipaddr_t v4src; /* Set if AF_INET */ in rawip_do_bind() local
448 v4src = sin->sin_addr.s_addr; in rawip_do_bind()
449 IN6_IPADDR_TO_V4MAPPED(v4src, &v6src); in rawip_do_bind()
450 if (v4src != INADDR_ANY) { in rawip_do_bind()
451 laddr_type = ip_laddr_verify_v4(v4src, zoneid, ipst, in rawip_do_bind()
3507 ipaddr_t v4src; in icmp_output_ancillary() local
3509 IN6_V4MAPPED_TO_IPADDR(&v6src, v4src); in icmp_output_ancillary()
3510 laddr_type = ip_laddr_verify_v4(v4src, ixa->ixa_zoneid, in icmp_output_ancillary()
H A Dip_multi.c1805 ipaddr_t v4src; in ip_opt_check() local
1811 v4src = INADDR_ANY; in ip_opt_check()
1813 IN6_V4MAPPED_TO_IPADDR(v6src, v4src); in ip_opt_check()
1815 if (!CLASSD(v4group) || CLASSD(v4src)) in ip_opt_check()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_common.c928 ipaddr_t v4src, v4dst; in sctp_build_hdrs() local
930 v4src = connp->conn_saddr_v4; in sctp_build_hdrs()
972 ipha->ipha_src = v4src; in sctp_build_hdrs()
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp.c4977 ipaddr_t v4src; /* Set if AF_INET */ in udp_do_bind() local
5002 v4src = sin->sin_addr.s_addr; in udp_do_bind()
5003 IN6_IPADDR_TO_V4MAPPED(v4src, &v6src); in udp_do_bind()
5004 if (v4src != INADDR_ANY) { in udp_do_bind()
5005 laddr_type = ip_laddr_verify_v4(v4src, zoneid, ipst, in udp_do_bind()
5026 IN6_V4MAPPED_TO_IPADDR(&v6src, v4src); in udp_do_bind()
5027 if (v4src != INADDR_ANY) { in udp_do_bind()
5028 laddr_type = ip_laddr_verify_v4(v4src, in udp_do_bind()
5392 IPPROTO_UDP, AF_INET, (uint8_t *)&v4src, in udp_do_bind()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c3891 mib_item_t *v4grp = NULL, *v4src = NULL; in group_report() local
3917 v4src = item; in group_report()
3971 if (!Vflag || v4src == NULL) in group_report()
3977 v4src->length/sizeof (ip_grpsrc_t)); in group_report()
3980 for (ips = (ip_grpsrc_t *)v4src->valp; in group_report()
3981 (char *)ips < (char *)v4src->valp + v4src->length; in group_report()