Home
last modified time | relevance | path

Searched refs:in6_embedded_scope (Results 1 – 25 of 35) sorted by relevance

12

/xnu-10063.101.15/bsd/netinet6/
H A Dscope6.c88 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 Dscope6_var.h74 extern int in6_embedded_scope;
77 #define IN6_NULL_IF_EMBEDDED_SCOPE(_var) (in6_embedded_scope ? NULL : (_var))
H A Din6_ifattach.c861 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 Draw_ip6.c480 } else if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&in6p->in6p_faddr)) { in rip6_output()
584 if (in6_embedded_scope) { in rip6_output()
596 if (in6_embedded_scope) { in rip6_output()
612 if (in6_embedded_scope) { in rip6_output()
1089 if (in6_embedded_scope) { in rip6_bind()
H A Din6_pcb.c260 if (in6_embedded_scope) { in in6_pcbbind()
964 if (in6_embedded_scope) { in in6_sockaddr()
971 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&sin6->sin6_addr)) { in in6_sockaddr()
991 if (in6_embedded_scope) { in in6_sockaddr_s()
998 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&sin6->sin6_addr)) { in in6_sockaddr_s()
1604 if (in6_embedded_scope) { in init_sin6()
H A Dicmp6.c1231 if (in6_embedded_scope && IN6_IS_ADDR_LINKLOCAL(dst)) { in icmp6_mtudisc_update()
2143 if (!in6_embedded_scope) { in icmp6_rip6_input()
2324 if (!in6_embedded_scope) { in icmp6_reflect()
2343 if (!in6_embedded_scope) { in icmp6_reflect()
2351 if (!in6_embedded_scope && in icmp6_reflect()
2362 if (!in6_embedded_scope) { in icmp6_reflect()
2418 if (!in6_embedded_scope) { in icmp6_reflect()
2597 if (!in6_embedded_scope) { in icmp6_redirect_input()
2709 if (!in6_embedded_scope) { in icmp6_redirect_input()
2729 if (!in6_embedded_scope) { in icmp6_redirect_input()
H A Din6_mcast.c442 if (!in6_embedded_scope) { in im6o_mc_filter()
1274 if (in6_embedded_scope && (IN6_IS_ADDR_MC_LINKLOCAL(mcaddr) || in in6_mc_join()
2148 if (in6_embedded_scope) { in in6p_join_group()
2152 if (!in6_embedded_scope) { in in6p_join_group()
2171 if (in6_embedded_scope) { in in6p_join_group()
2432 if (!in6_embedded_scope) { in in6p_leave_group()
2478 if (in6_embedded_scope) { in in6p_leave_group()
2513 if (!in6_embedded_scope) { in in6p_leave_group()
2532 if (in6_embedded_scope) { in in6p_leave_group()
H A Dip6_input.c480 PE_parse_boot_argn("in6_embedded_scope", &in6_embedded_scope, sizeof(in6_embedded_scope)); in ip6_init()
674 if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_dst)) { in ip6_input_check_interface()
1072 if ((m->m_pkthdr.pkt_flags & PKTF_IFAINFO) != 0 && in6_embedded_scope) { in ip6_input()
1081 } else if (in6_embedded_scope) { in ip6_input()
2106 if (!in6_embedded_scope) { in ip6_notify_pmtu()
H A Dudp6_output.c199 } else if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&in6p->in6p_faddr)) { in udp6_output()
486 if (!in6_embedded_scope) { in udp6_output()
H A Dipsec.c1412 if (in6_embedded_scope) { in ipsec6_setspidx_ipaddr()
1431 if (in6_embedded_scope) { in ipsec6_setspidx_ipaddr()
2433 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_src)) { in ipsec6_encapsulate()
2436 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&oip6->ip6_dst)) { in ipsec6_encapsulate()
2455 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) { in ipsec6_encapsulate()
2820 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst)) { in ipsec46_encapsulate()
3952 if (in6_embedded_scope) { in ipsec6_output_trans()
3969 if (in6_embedded_scope) { in ipsec6_output_trans()
4378 if (in6_embedded_scope) { in ipsec6_output_tunnel()
4395 if (in6_embedded_scope) { in ipsec6_output_tunnel()
[all …]
H A Din6.c1540 if (in6_embedded_scope) { in in6_control()
1701 if (in6_embedded_scope) { in in6ctl_aifaddr()
2061 if (in6_embedded_scope || !IN6_IS_SCOPE_EMBED(&tmp.sin6_addr)) { in in6_to_kamescope()
2485 if (in6_embedded_scope) { in in6_update_ifa()
3365 if (IN6_IS_SCOPE_EMBED(p1) && !in6_embedded_scope) { in in6_are_prefix_equal()
4342 if (!in6_embedded_scope) { in in6_getconninfo()
4361 if (!in6_embedded_scope) { in in6_getconninfo()
4455 if (in6_embedded_scope) { in in6_ip6_to_sockaddr()
H A Dnd6_nbr.c333 if (!in6_embedded_scope) { in nd6_ns_input()
2561 if (in6_embedded_scope) { in nd6_alt_node_present()
2579 if (in6_embedded_scope) { in nd6_alt_node_present()
2648 if (in6_embedded_scope) { in nd6_alt_node_absent()
2663 if (in6_embedded_scope) { in nd6_alt_node_absent()
H A Din6_src.c2252 if (in6_embedded_scope) { in in6_embedscope()
2261 if (in6_embedded_scope) { in in6_embedscope()
2282 if (in6_embedded_scope) { in in6_embedscope()
2319 if (!in6_embedded_scope) { in in6_recoverscope()
H A Dip6_output.c1150 …src_sa.sin6_scope_id = (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_src)) ? ip6_output_get… in ip6_output_list()
1156 …dst_sa.sin6_scope_id = (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_dst)) ? ip6_output_get… in ip6_output_list()
1257 …src_sa.sin6_scope_id = (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&src_sa.sin6_addr)) ? ip6_output… in ip6_output_list()
1272 …dst_sa.sin6_scope_id = (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&dst_sa.sin6_addr)) ? ip6_outpu… in ip6_output_list()
H A Dnd6_rtr.c284 …src_sa6.sin6_scope_id = (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&src_sa6.sin6_addr)) ? ip6_inpu… in nd6_rs_input()
970 if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&gate.sin6_addr)) { in defrouter_addreq()
1264 if (IN6_IS_SCOPE_EMBED(&dr0.rtaddr) && in6_embedded_scope) { in defrtrlist_ioctl()
4387 if (in6_embedded_scope) { in rt6_flush()
H A Dnd6.c3557 if (in6_embedded_scope && (IN6_IS_ADDR_LINKLOCAL(&nbi_32.addr) || in nd6_ioctl()
3595 if (in6_embedded_scope && (IN6_IS_ADDR_LINKLOCAL(&nbi_64.addr) || in nd6_ioctl()
4318 if (in6_embedded_scope) { in nd6_output_list()
/xnu-10063.101.15/bsd/net/
H A Diptap.c575 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()
636 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_src)) { in iptap_bpf_tap()
639 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(&ip6->ip6_dst)) { in iptap_bpf_tap()
H A Droute.c543 if (!in6_embedded_scope) { in sin6_set_embedded_ifscope()
558 if (!in6_embedded_scope) { in sin6_get_embedded_ifscope()
985 if (!in6_embedded_scope && dst->sa_family == AF_INET6) { in rtalloc1_common_locked()
1657 if (!in6_embedded_scope) { in ifa_ifwithroute_common_locked()
1935 if (!in6_embedded_scope) { in rtrequest_common_locked()
/xnu-10063.101.15/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_manager.c431 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(in6)) { in flow_mgr_clear_embedded_scope_id()
684 if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&SIN6(saddr)->sin6_addr)) { in flow_req_prepare()
690 if (!in6_embedded_scope && IN6_IS_SCOPE_EMBED(&SIN6(daddr)->sin6_addr)) { in flow_req_prepare()
H A Dflow_route.c1288 if (in6_embedded_scope) { in flow_route_select_laddr()
1392 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(&src_ip._v6)) { in _flow_route_laddr_validate()
/xnu-10063.101.15/bsd/skywalk/nexus/flowswitch/
H A Dfsw_ip_frag.c422 if (in6_embedded_scope) { in ipf_pkt2mbuf()
428 if (in6_embedded_scope) { in ipf_pkt2mbuf()
H A Dfsw.c1219 if (in6_embedded_scope && IN6_IS_SCOPE_EMBED(in6)) { in fsw_protoctl_event_callback()
/xnu-10063.101.15/bsd/netinet/
H A Dtcp_usrreq.c1948 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&ina6_local) && in tcp_fill_info_for_info_tuple()
1954 if (in6_embedded_scope && IN6_IS_SCOPE_LINKLOCAL(&ina6_remote) && in tcp_fill_info_for_info_tuple()
H A Dflow_divert.c3784 in6_embedded_scope && in flow_divert_connect_out_internal()
3791 in6_embedded_scope && in flow_divert_connect_out_internal()
H A Dtcp_output.c3283 } else if (!in6_embedded_scope && isipv6 && (IN6_IS_SCOPE_EMBED(&inp->in6p_faddr))) { in tcp_ip_output()

12