Searched refs:IFSCOPE_NONE (Results 1 - 25 of 39) sorted by relevance

12

/darwin-on-arm/xnu/bsd/net/
H A Droute.c380 static unsigned int primary_ifscope = IFSCOPE_NONE;
381 static unsigned int primary6_ifscope = IFSCOPE_NONE;
506 * non-NULL and ifscope is IFSCOPE_NONE, the existing scope ID is left intact.
515 unsigned int ifscope = (pifscope != NULL) ? *pifscope : IFSCOPE_NONE;
523 if (pifscope == NULL || ifscope != IFSCOPE_NONE)
537 if (eifscope != IFSCOPE_NONE && ifscope == IFSCOPE_NONE)
544 if (ifscope != IFSCOPE_NONE && eifscope != ifscope)
546 } else if (pifscope == NULL || ifscope != IFSCOPE_NONE) {
574 * is IFSCOPE_NONE, w
[all...]
H A Droute.h387 #define IFSCOPE_NONE 0 macro
H A Dif.c689 return (ifa_foraddr_scoped(addr, IFSCOPE_NONE));
694 * constraint (unless the caller passes in IFSCOPE_NONE in which
706 (scope == IFSCOPE_NONE || ia->ia_ifp->if_index == scope)) {
724 return (ifa_foraddr6_scoped(addr6, IFSCOPE_NONE));
736 (scope == IFSCOPE_NONE || ia->ia_ifp->if_index == scope)) {
871 if (ifscope == IFSCOPE_NONE)
925 return (ifa_ifwithnet_common(addr, IFSCOPE_NONE));
954 ifscope = IFSCOPE_NONE;
1023 if (ifscope != IFSCOPE_NONE &&
H A Drtsock.c334 unsigned int ifscope = IFSCOPE_NONE;
453 sin_set_ifscope(info.rti_info[RTAX_DST], IFSCOPE_NONE);
455 sin_set_ifscope(info.rti_info[RTAX_GATEWAY], IFSCOPE_NONE);
H A Dif_stf.c527 struct ip_out_args ipoa = { IFSCOPE_NONE, { 0 }, IPOAF_SELECT_SRCIF };
H A Dif_utun_crypto_ipsec.c706 struct ip_out_args ipoa = { IFSCOPE_NONE, { 0 }, IPOAF_SELECT_SRCIF };
/darwin-on-arm/xnu/bsd/netinet6/
H A Dip6_forward.c138 unsigned int ifscope = IFSCOPE_NONE;
146 if (pf_mtag != NULL && pf_mtag->pftag_rtableid != IFSCOPE_NONE)
154 if (ifscope != IFSCOPE_NONE && (rt = ip6forward_rt->ro_rt) != NULL) {
H A Din6_src.c234 if (ip6oa.ip6oa_boundif != IFSCOPE_NONE)
635 if (!ip6_doscopedroute && ifscope != IFSCOPE_NONE)
636 ifscope = IFSCOPE_NONE;
683 if (ip6_doscopedroute && ifscope == IFSCOPE_NONE)
712 if (ifscope != IFSCOPE_NONE || (ro != NULL && ro->ro_rt != NULL)) {
727 if (scope == IFSCOPE_NONE) {
776 if (ifa == NULL && ifscope == IFSCOPE_NONE) {
H A Dnd6_rtr.c791 ifscope = scoped ? new->ifp->if_index : IFSCOPE_NONE;
803 if (ifscope != IFSCOPE_NONE)
810 (ifscope != IFSCOPE_NONE), err));
875 dr->ifp->if_index : IFSCOPE_NONE;
877 ifscope = IFSCOPE_NONE;
892 if_name(dr->ifp) : "ANY", (ifscope != IFSCOPE_NONE), err));
897 if (ifscope != IFSCOPE_NONE)
3347 err = nd6_prefix_onlink_scoped(pr, IFSCOPE_NONE);
3413 ifscope = IFSCOPE_NONE;
3420 ifscope = (opr != NULL) ? ifp->if_index : IFSCOPE_NONE;
[all...]
H A Dudp6_output.c189 { IFSCOPE_NONE, { 0 }, IP6OAF_SELECT_SRCIF };
H A Dip6_output.c303 struct ip6_out_args ip6oa = { IFSCOPE_NONE, { 0 }, 0 };
389 ip6oa.ip6oa_boundif != IFSCOPE_NONE) {
398 ip6oa.ip6oa_boundif = IFSCOPE_NONE;
907 ip6oa.ip6oa_boundif = IFSCOPE_NONE;
910 if (opt->ip6po_pktinfo->ipi6_ifindex != IFSCOPE_NONE)
911 opt->ip6po_pktinfo->ipi6_ifindex = IFSCOPE_NONE;
1775 ifp != NULL ? ifp->if_index : IFSCOPE_NONE);
H A Draw_ip6.c351 { IFSCOPE_NONE, { 0 }, IP6OAF_SELECT_SRCIF };
878 inp->inp_boundifp->if_index : IFSCOPE_NONE;
H A Dip6_input.c822 RTF_PRCLONING, IFSCOPE_NONE);
1057 ours = nd6_prproxy_isours(m, ip6, NULL, IFSCOPE_NONE);
H A Dnd6_nbr.c569 { IFSCOPE_NONE, { 0 }, IP6OAF_SELECT_SRCIF | IP6OAF_BOUND_SRCADDR };
1282 { IFSCOPE_NONE, { 0 }, IP6OAF_SELECT_SRCIF | IP6OAF_BOUND_SRCADDR };
/darwin-on-arm/xnu/bsd/netinet/
H A Dkpi_ipfilter.c274 struct ip_out_args ipoa = { IFSCOPE_NONE, { 0 }, 0 };
349 struct ip6_out_args ip6oa = { IFSCOPE_NONE, { 0 }, 0 };
H A Dip_output.c305 unsigned int ifscope = IFSCOPE_NONE;
401 ipoa->ipoa_boundif != IFSCOPE_NONE) {
412 ifscope = IFSCOPE_NONE;
673 if (ifscope == IFSCOPE_NONE)
2420 ifscope = IFSCOPE_NONE;
3126 if (ifscope != IFSCOPE_NONE || ro->ro_rt != NULL) {
3138 if (scope == IFSCOPE_NONE) {
3159 ifscope = IFSCOPE_NONE;
3187 if (ifa == NULL && ifscope == IFSCOPE_NONE) {
3208 rt_tables[AF_INET], IFSCOPE_NONE)) !
[all...]
H A Dudp_usrreq.c1314 struct ip_out_args ipoa = { IFSCOPE_NONE, { 0 }, IPOAF_SELECT_SRCIF };
1364 if (ipoa.ipoa_boundif == IFSCOPE_NONE &&
1416 (ipoa.ipoa_boundif != IFSCOPE_NONE && pktinfo)) {
1455 outif->if_index : IFSCOPE_NONE;
1471 outif->if_index : IFSCOPE_NONE;
1562 if (ipoa.ipoa_boundif != IFSCOPE_NONE)
H A Din_gif.c114 struct ip_out_args ipoa = { IFSCOPE_NONE, { 0 }, IPOAF_SELECT_SRCIF };
H A Dtcp_subr.c771 if (ifscope != IFSCOPE_NONE)
793 if (ifscope != IFSCOPE_NONE)
2034 rt = tcp_rtlookup6(inp, IFSCOPE_NONE);
2037 rt = tcp_rtlookup(inp, IFSCOPE_NONE);
2148 * input_ifscope is IFSCOPE_NONE).
2231 * input_ifscope is IFSCOPE_NONE).
2347 rt = tcp_rtlookup6(inp, IFSCOPE_NONE);
2350 rt = tcp_rtlookup(inp, IFSCOPE_NONE);
H A Din_pcb.c729 unsigned int ifscope = IFSCOPE_NONE;
1969 if ((ifscope > (unsigned)if_index) || (ifscope != IFSCOPE_NONE &&
1976 VERIFY(ifp != NULL || ifscope == IFSCOPE_NONE);
H A Dip_divert.c361 { IFSCOPE_NONE, { 0 }, IPOAF_SELECT_SRCIF };
H A Dtcp_usrreq.c728 tcp_mss(tp, -1, IFSCOPE_NONE);
779 tcp_mss(tp, -1, IFSCOPE_NONE);
H A Dtcp_output.c1990 { IFSCOPE_NONE, { 0 }, IPOAF_SELECT_SRCIF | IPOAF_BOUND_SRCADDR };
1995 { IFSCOPE_NONE, { 0 }, IP6OAF_SELECT_SRCIF | IP6OAF_BOUND_SRCADDR };
H A Dip_icmp.c814 struct ip_out_args ipoa = { IFSCOPE_NONE, { 0 },
/darwin-on-arm/xnu/bsd/kern/
H A Dnetboot.c578 return (route_cmd(RTM_ADD, zeroes, router, zeroes, flags, IFSCOPE_NONE));

Completed in 266 milliseconds

12