| /xnu-11215.1.10/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 | 861 if (in6_embedded_scope) { in in6_ifattach_aliasreq() 869 } else if (in6_embedded_scope && in6->s6_addr16[1] != 0 && in in6_ifattach_aliasreq() 884 if (in6_embedded_scope) { in in6_ifattach_aliasreq() 894 if (!in6_embedded_scope) { in in6_ifattach_aliasreq() 989 if (in6_embedded_scope) { in in6_ifattach_llcgareq() 1184 if (in6_embedded_scope) { in in6_ifdetach()
|
| H A D | raw_ip6.c | 483 } else if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&in6p->in6p_faddr)) { in rip6_output() 587 if (in6_embedded_scope) { in rip6_output() 599 if (in6_embedded_scope) { in rip6_output() 616 if (in6_embedded_scope) { in rip6_output() 1100 if (in6_embedded_scope) { in rip6_bind()
|
| H A D | in6_pcb.c | 261 if (in6_embedded_scope) { in in6_pcbbind() 966 if (in6_embedded_scope) { in in6_sockaddr() 973 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&sin6->sin6_addr)) { in in6_sockaddr() 993 if (in6_embedded_scope) { in in6_sockaddr_s() 1000 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&sin6->sin6_addr)) { in in6_sockaddr_s() 1608 if (in6_embedded_scope) { in init_sin6()
|
| H A D | icmp6.c | 1234 if (in6_embedded_scope && IN6_IS_ADDR_LINKLOCAL(dst)) { in icmp6_mtudisc_update() 2144 if (!in6_embedded_scope) { in icmp6_rip6_input() 2326 if (!in6_embedded_scope) { in icmp6_reflect() 2345 if (!in6_embedded_scope) { in icmp6_reflect() 2353 if (!in6_embedded_scope && in icmp6_reflect() 2364 if (!in6_embedded_scope) { in icmp6_reflect() 2420 if (!in6_embedded_scope) { in icmp6_reflect() 2598 if (!in6_embedded_scope) { in icmp6_redirect_input() 2707 if (!in6_embedded_scope) { in icmp6_redirect_input() 2727 if (!in6_embedded_scope) { in icmp6_redirect_input()
|
| H A D | in6_mcast.c | 444 if (!in6_embedded_scope) { in im6o_mc_filter() 1280 if (in6_embedded_scope && (IN6_IS_ADDR_MC_LINKLOCAL(mcaddr) || in in6_mc_join() 2155 if (in6_embedded_scope) { in in6p_join_group() 2159 if (!in6_embedded_scope) { in in6p_join_group() 2178 if (in6_embedded_scope) { in in6p_join_group() 2439 if (!in6_embedded_scope) { in in6p_leave_group() 2485 if (in6_embedded_scope) { in in6p_leave_group() 2520 if (!in6_embedded_scope) { in in6p_leave_group() 2539 if (in6_embedded_scope) { in in6p_leave_group()
|
| H A D | ip6_input.c | 479 PE_parse_boot_argn("in6_embedded_scope", &in6_embedded_scope, sizeof(in6_embedded_scope)); in ip6_init() 673 if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_dst)) { in ip6_input_check_interface() 1080 if ((m->m_pkthdr.pkt_flags & PKTF_IFAINFO) != 0 && in6_embedded_scope) { in ip6_input() 1089 } else if (in6_embedded_scope) { in ip6_input() 2130 if (!in6_embedded_scope) { in ip6_notify_pmtu()
|
| H A D | udp6_output.c | 202 } else if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&in6p->in6p_faddr)) { in udp6_output() 497 if (!in6_embedded_scope) { in udp6_output()
|
| H A D | ipsec.c | 1401 if (in6_embedded_scope) { in ipsec6_setspidx_ipaddr() 1420 if (in6_embedded_scope) { in ipsec6_setspidx_ipaddr() 2420 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_src)) { in ipsec6_encapsulate() 2423 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_dst)) { in ipsec6_encapsulate() 2442 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) { in ipsec6_encapsulate() 2805 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) { in ipsec46_encapsulate() 3937 if (in6_embedded_scope) { in ipsec6_output_trans() 3954 if (in6_embedded_scope) { in ipsec6_output_trans() 4363 if (in6_embedded_scope) { in ipsec6_output_tunnel() 4380 if (in6_embedded_scope) { in ipsec6_output_tunnel() [all …]
|
| H A D | in6.c | 1543 if (in6_embedded_scope) { in in6_control() 1710 if (in6_embedded_scope) { in in6ctl_aifaddr() 2071 if (in6_embedded_scope || !IN6_IS_SCOPE_EMBED(&tmp.sin6_addr)) { in in6_to_kamescope() 2495 if (in6_embedded_scope) { in in6_update_ifa() 3377 if (IN6_IS_SCOPE_EMBED(p1) && !in6_embedded_scope) { in in6_are_prefix_equal() 4354 if (!in6_embedded_scope) { in in6_getconninfo() 4373 if (!in6_embedded_scope) { in in6_getconninfo() 4467 if (in6_embedded_scope) { in in6_ip6_to_sockaddr()
|
| H A D | in6_src.c | 2260 if (in6_embedded_scope) { in in6_embedscope() 2269 if (in6_embedded_scope) { in in6_embedscope() 2290 if (in6_embedded_scope) { in in6_embedscope() 2327 if (!in6_embedded_scope) { in in6_recoverscope()
|
| H A D | nd6_nbr.c | 337 if (!in6_embedded_scope) { in nd6_ns_input() 2565 if (in6_embedded_scope) { in nd6_alt_node_present() 2583 if (in6_embedded_scope) { in nd6_alt_node_present() 2652 if (in6_embedded_scope) { in nd6_alt_node_absent() 2667 if (in6_embedded_scope) { in nd6_alt_node_absent()
|
| H A D | ip6_output.c | 1164 …src_sa.sin6_scope_id = (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_src)) ? ip6_output_get… in ip6_output_list() 1170 …dst_sa.sin6_scope_id = (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_dst)) ? ip6_output_get… in ip6_output_list() 1274 …src_sa.sin6_scope_id = (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&src_sa.sin6_addr)) ? ip6_output… in ip6_output_list() 1289 …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() 988 if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&gate.sin6_addr)) { in defrouter_addreq() 1278 if (IN6_IS_SCOPE_EMBED(&dr0.rtaddr) && in6_embedded_scope) { in defrtrlist_ioctl() 4422 if (in6_embedded_scope) { in rt6_flush()
|
| H A D | nd6.c | 3337 if (in6_embedded_scope && (IN6_IS_ADDR_LINKLOCAL(&nbi_32.addr) || in nd6_ioctl() 3375 if (in6_embedded_scope && (IN6_IS_ADDR_LINKLOCAL(&nbi_64.addr) || in nd6_ioctl() 4100 if (in6_embedded_scope) { in nd6_output_list()
|
| /xnu-11215.1.10/bsd/net/ |
| H A D | iptap.c | 575 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_src)) { in iptap_bpf_tap() 579 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_dst)) { in iptap_bpf_tap() 637 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_src)) { in iptap_bpf_tap() 640 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_dst)) { in iptap_bpf_tap()
|
| H A D | route.c | 549 if (!in6_embedded_scope) { in sin6_set_embedded_ifscope() 564 if (!in6_embedded_scope) { in sin6_get_embedded_ifscope() 991 if (!in6_embedded_scope && dst->sa_family == AF_INET6) { in rtalloc1_common_locked() 1663 if (!in6_embedded_scope) { in ifa_ifwithroute_common_locked() 1941 if (!in6_embedded_scope) { in rtrequest_common_locked()
|
| H A D | necp.c | 849 if (in6_embedded_scope || !IN6_IS_SCOPE_EMBED(&SIN6(&remote_address_sanitized)->sin6_addr)) { in necp_address_is_local_interface_address() 8239 if (in6_embedded_scope || !IN6_IS_SCOPE_EMBED(&SIN6(&local_address_sanitized)->sin6_addr)) { in necp_application_find_policy_match_internal() 8294 if (in6_embedded_scope || !IN6_IS_SCOPE_EMBED(&SIN6(&remote_address_sanitized)->sin6_addr)) { in necp_application_find_policy_match_internal() 9583 if (IN6_IS_SCOPE_EMBED(&sin6->sin6_addr) && in6_embedded_scope) { in necp_socket_fillout_info_locked() 9592 if (IN6_IS_SCOPE_EMBED(&sin6->sin6_addr) && in6_embedded_scope) { in necp_socket_fillout_info_locked()
|
| /xnu-11215.1.10/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_manager.c | 430 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(in6)) { in flow_mgr_clear_embedded_scope_id() 689 if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&SIN6(saddr)->sin6_addr)) { in flow_req_prepare() 695 if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&SIN6(daddr)->sin6_addr)) { in flow_req_prepare()
|
| H A D | flow_route.c | 1297 if (in6_embedded_scope) { in flow_route_select_laddr() 1401 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(&src_ip._v6)) { in _flow_route_laddr_validate()
|
| /xnu-11215.1.10/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_ip_frag.c | 435 if (in6_embedded_scope) { in ipf_pkt2mbuf() 441 if (in6_embedded_scope) { in ipf_pkt2mbuf()
|
| H A D | fsw.c | 1238 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(in6)) { in fsw_protoctl_event_callback()
|
| /xnu-11215.1.10/bsd/netinet/ |
| H A D | tcp_usrreq.c | 1921 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&ina6_local) && in tcp_fill_info_for_info_tuple() 1927 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&ina6_remote) && in tcp_fill_info_for_info_tuple()
|
| H A D | flow_divert.c | 3783 in6_embedded_scope && in flow_divert_connect_out_internal() 3790 in6_embedded_scope && in flow_divert_connect_out_internal()
|