| /xnu-8019.80.24/bsd/netinet6/ |
| H A D | scope6.c | 88 int in6_embedded_scope = 1; variable 90 in6_embedded_scope, CTLFLAG_RW | CTLFLAG_LOCKED, &in6_embedded_scope, 0, ""); 247 if (in6_embedded_scope) { in sa6_embedscope() 265 if (in6_embedded_scope) { in rtkey_to_sa6() 285 if (!in6_embedded_scope) { in sa6_recoverscope() 291 if (in6_embedded_scope && sin6->sin6_scope_id != 0) { in sa6_recoverscope() 445 if (in6_embedded_scope && (IN6_IS_SCOPE_LINKLOCAL(in6) || IN6_IS_ADDR_MC_INTFACELOCAL(in6))) { in in6_setscope() 458 if (!in6_embedded_scope) { in in6_clearscope() 479 } else if (IN6_IS_SCOPE_EMBED(addr_a) && !in6_embedded_scope) { in in6_are_addr_equal_scoped() 491 } else if (IN6_IS_SCOPE_EMBED(addr_a) && !in6_embedded_scope) { in in6_are_masked_addr_scope_equal() [all …]
|
| H A D | scope6_var.h | 74 extern int in6_embedded_scope; 77 #define IN6_NULL_IF_EMBEDDED_SCOPE(_var) (in6_embedded_scope ? NULL : (_var))
|
| H A D | in6_ifattach.c | 881 if (in6_embedded_scope) { in in6_ifattach_aliasreq() 889 } else if (in6_embedded_scope && in6->s6_addr16[1] != 0 && in in6_ifattach_aliasreq() 904 if (in6_embedded_scope) { in in6_ifattach_aliasreq() 914 if (!in6_embedded_scope) { in in6_ifattach_aliasreq() 999 if (in6_embedded_scope) { in in6_ifattach_llcgareq() 1208 if (in6_embedded_scope) { in in6_ifdetach()
|
| H A D | in6_pcb.c | 246 if (in6_embedded_scope) { in in6_pcbbind() 919 if (in6_embedded_scope) { in in6_sockaddr() 926 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&sin6->sin6_addr)) { in in6_sockaddr() 946 if (in6_embedded_scope) { in in6_sockaddr_s() 953 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&sin6->sin6_addr)) { in in6_sockaddr_s() 1559 if (in6_embedded_scope) { in init_sin6()
|
| H A D | raw_ip6.c | 470 } else if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&in6p->in6p_faddr)) { in rip6_output() 570 if (in6_embedded_scope) { in rip6_output() 582 if (in6_embedded_scope) { in rip6_output() 598 if (in6_embedded_scope) { in rip6_output() 1075 if (in6_embedded_scope) { in rip6_bind()
|
| H A D | icmp6.c | 1202 if (in6_embedded_scope && IN6_IS_ADDR_LINKLOCAL(dst)) { in icmp6_mtudisc_update() 2114 if (!in6_embedded_scope) { in icmp6_rip6_input() 2298 if (!in6_embedded_scope) { in icmp6_reflect() 2317 if (!in6_embedded_scope) { in icmp6_reflect() 2325 if (!in6_embedded_scope && in icmp6_reflect() 2336 if (!in6_embedded_scope) { in icmp6_reflect() 2392 if (!in6_embedded_scope) { in icmp6_reflect() 2571 if (!in6_embedded_scope) { in icmp6_redirect_input() 2683 if (!in6_embedded_scope) { in icmp6_redirect_input() 2703 if (!in6_embedded_scope) { in icmp6_redirect_input()
|
| H A D | nd6_nbr.c | 325 if (!in6_embedded_scope) { in nd6_ns_input() 2533 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&sin6->sin6_addr) && in nd6_alt_node_present() 2537 if (!in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&sin6->sin6_addr) && (temp_ifscope_id == 0)) { in nd6_alt_node_present() 2551 if (in6_embedded_scope && temp_embedded_id == 0) { in nd6_alt_node_present() 2554 if (!in6_embedded_scope && temp_ifscope_id == 0) { in nd6_alt_node_present() 2608 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&sin6->sin6_addr) && in nd6_alt_node_absent() 2612 if (!in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&sin6->sin6_addr) && (temp_ifscope_id == 0)) { in nd6_alt_node_absent() 2623 if (in6_embedded_scope && temp_embedded_id == 0) { in nd6_alt_node_absent() 2626 if (!in6_embedded_scope && temp_ifscope_id == 0) { in nd6_alt_node_absent()
|
| H A D | in6_mcast.c | 420 if (!in6_embedded_scope) { in im6o_mc_filter() 1252 if (in6_embedded_scope && (IN6_IS_ADDR_MC_LINKLOCAL(mcaddr) || in in6_mc_join() 2137 if (in6_embedded_scope) { in in6p_join_group() 2141 if (!in6_embedded_scope) { in in6p_join_group() 2160 if (in6_embedded_scope) { in in6p_join_group() 2421 if (!in6_embedded_scope) { in in6p_leave_group() 2467 if (in6_embedded_scope) { in in6p_leave_group() 2502 if (!in6_embedded_scope) { in in6p_leave_group() 2521 if (in6_embedded_scope) { in in6p_leave_group()
|
| H A D | ip6_input.c | 476 PE_parse_boot_argn("in6_embedded_scope", &in6_embedded_scope, sizeof(in6_embedded_scope)); in ip6_init() 670 if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_dst)) { in ip6_input_check_interface() 1063 if (m->m_pkthdr.pkt_flags & PKTF_IFAINFO && in6_embedded_scope) { in ip6_input() 1072 } else if (in6_embedded_scope) { in ip6_input() 2105 if (!in6_embedded_scope) { in ip6_notify_pmtu()
|
| H A D | udp6_output.c | 199 } else if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&in6p->in6p_faddr)) { in udp6_output() 484 if (!in6_embedded_scope) { in udp6_output()
|
| H A D | in6_src.c | 2213 if (in6_embedded_scope) { in in6_embedscope() 2222 if (in6_embedded_scope) { in in6_embedscope() 2243 if (in6_embedded_scope) { in in6_embedscope() 2280 if (!in6_embedded_scope) { in in6_recoverscope()
|
| H A D | in6.c | 1569 if (in6_embedded_scope) { in in6_control() 2052 if (in6_embedded_scope || !IN6_IS_SCOPE_EMBED(&tmp.sin6_addr)) { in in6_to_kamescope() 2479 if (in6_embedded_scope) { in in6_update_ifa() 3338 if (IN6_IS_SCOPE_EMBED(p1) && !in6_embedded_scope) { in in6_are_prefix_equal() 4417 if (!in6_embedded_scope) { in in6_getconninfo() 4436 if (!in6_embedded_scope) { in in6_getconninfo() 4927 if (in6_embedded_scope) { in in6_ip6_to_sockaddr()
|
| H A D | ipsec.c | 1410 if (in6_embedded_scope) { in ipsec6_setspidx_ipaddr() 1429 if (in6_embedded_scope) { in ipsec6_setspidx_ipaddr() 2446 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_src)) { in ipsec6_encapsulate() 2449 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_dst)) { in ipsec6_encapsulate() 3662 if (in6_embedded_scope) { in ipsec6_output_trans() 3679 if (in6_embedded_scope) { in ipsec6_output_trans() 4080 if (in6_embedded_scope) { in ipsec6_output_tunnel() 4097 if (in6_embedded_scope) { in ipsec6_output_tunnel()
|
| H A D | ip6_output.c | 1143 …src_sa.sin6_scope_id = (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_src)) ? ip6_output_get… in ip6_output_list() 1149 …dst_sa.sin6_scope_id = (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_dst)) ? ip6_output_get… in ip6_output_list() 1250 …src_sa.sin6_scope_id = (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&src_sa.sin6_addr)) ? ip6_output… in ip6_output_list() 1265 …dst_sa.sin6_scope_id = (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&dst_sa.sin6_addr)) ? ip6_outpu… in ip6_output_list()
|
| H A D | nd6_rtr.c | 285 …src_sa6.sin6_scope_id = (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&src_sa6.sin6_addr)) ? ip6_inpu… in nd6_rs_input() 964 if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&gate.sin6_addr)) { in defrouter_addreq() 1241 if (IN6_IS_SCOPE_EMBED(&dr0.rtaddr) && in6_embedded_scope) { in defrtrlist_ioctl() 4361 if (in6_embedded_scope) { in rt6_flush()
|
| H A D | nd6.c | 3494 if (in6_embedded_scope && (IN6_IS_ADDR_LINKLOCAL(&nbi_32.addr) || in nd6_ioctl() 3532 if (in6_embedded_scope && (IN6_IS_ADDR_LINKLOCAL(&nbi_64.addr) || in nd6_ioctl() 4243 if (in6_embedded_scope) { in nd6_output_list()
|
| /xnu-8019.80.24/bsd/net/ |
| H A D | iptap.c | 584 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_src)) { in iptap_bpf_tap() 588 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_dst)) { in iptap_bpf_tap() 645 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_src)) { in iptap_bpf_tap() 648 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_dst)) { in iptap_bpf_tap()
|
| H A D | route.c | 545 if (!in6_embedded_scope) { in sin6_set_embedded_ifscope() 560 if (!in6_embedded_scope) { in sin6_get_embedded_ifscope() 985 if (!in6_embedded_scope && dst->sa_family == AF_INET6) { in rtalloc1_common_locked() 1660 if (!in6_embedded_scope) { in ifa_ifwithroute_common_locked() 1933 if (!in6_embedded_scope) { in rtrequest_common_locked()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_manager.c | 464 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(in6)) { in flow_mgr_clear_embedded_scope_id() 719 if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&SIN6(saddr)->sin6_addr)) { in flow_req_prepare() 725 if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&SIN6(daddr)->sin6_addr)) { in flow_req_prepare()
|
| H A D | flow_route.c | 1301 if (in6_embedded_scope) { in flow_route_select_laddr() 1405 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(&src_ip._v6)) { in _flow_route_laddr_validate()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_ip_frag.c | 425 if (in6_embedded_scope) { in ipf_pkt2mbuf() 431 if (in6_embedded_scope) { in ipf_pkt2mbuf()
|
| /xnu-8019.80.24/bsd/netinet/ |
| H A D | tcp_usrreq.c | 1845 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&ina6_local) && in tcp_fill_info_for_info_tuple() 1851 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&ina6_remote) && in tcp_fill_info_for_info_tuple()
|
| H A D | tcp_output.c | 2912 } else if (!in6_embedded_scope && isipv6 && (IN6_IS_SCOPE_EMBED(&inp->in6p_faddr))) { in tcp_ip_output()
|
| H A D | tcp_subr.c | 819 if (!in6_embedded_scope) { in tcp_respond()
|
| /xnu-8019.80.24/bsd/netkey/ |
| H A D | key.c | 1346 if (in6_embedded_scope) { in key_allocsa_extended() 1453 if (in6_embedded_scope) { in key_checksa_present() 1494 if (in6_embedded_scope) { in key_checksa_present()
|