| /freebsd-12-stable/sys/netinet6/ |
| D | ip6_forward.c | 199 if (in6_setscope(&src_in6, rt->rt_ifp, &outzone)) { in ip6_forward() 205 if (in6_setscope(&src_in6, m->m_pkthdr.rcvif, &inzone)) { in ip6_forward() 239 if (in6_setscope(&dst_in6, m->m_pkthdr.rcvif, &inzone) != 0 || in ip6_forward() 240 in6_setscope(&dst_in6, rt->rt_ifp, &outzone) != 0 || in ip6_forward()
|
| D | in6_src.c | 244 error = in6_setscope(&tmp, ifp, &odstzone); in in6_selectsrc() 307 error = in6_setscope(&dst, ifp, &odstzone); in in6_selectsrc() 325 if (in6_setscope(&dst, ifp1, &dstzone) || in in6_selectsrc() 330 if (in6_setscope(&src, ifp, &osrczone) || in in6_selectsrc() 331 in6_setscope(&src, ifp1, &srczone) || in in6_selectsrc() 586 error = in6_setscope(&dstsock->sin6_addr, retifp, NULL); in in6_selectsrc_socket()
|
| D | scope6_var.h | 64 int in6_setscope(struct in6_addr *, struct ifnet *, u_int32_t *);
|
| D | icmp6.c | 244 if (in6_setscope(&ip6->ip6_src, ifp, NULL) != 0) in icmp6_error2() 246 if (in6_setscope(&ip6->ip6_dst, ifp, NULL) != 0) in icmp6_error2() 1059 if (in6_setscope(&icmp6dst.sin6_addr, m->m_pkthdr.rcvif, NULL)) in icmp6_notify_error() 1065 if (in6_setscope(&icmp6src.sin6_addr, m->m_pkthdr.rcvif, NULL)) in icmp6_notify_error() 1145 if (in6_setscope(&inc.inc6_faddr, m->m_pkthdr.rcvif, NULL)) in icmp6_mtudisc_update() 1282 if (in6_setscope(&in6_subj, m->m_pkthdr.rcvif, NULL)) in ni6_input() 2248 if (in6_setscope(&redtgt6, ifp, NULL) || in icmp6_redirect_input() 2249 in6_setscope(&reddst6, ifp, NULL)) { in icmp6_redirect_input() 2290 if (in6_setscope(&nh6.nh_addr, m->m_pkthdr.rcvif, NULL)) in icmp6_redirect_input()
|
| D | nd6_nbr.c | 163 if (in6_setscope(&taddr6, ifp, NULL) != 0) in nd6_ns_input() 356 if (in6_setscope(&in6_all, ifp, NULL) != 0) in nd6_ns_input() 465 if (in6_setscope(&ip6->ip6_dst, ifp, NULL) != 0) in nd6_ns_output_fib() 670 if (in6_setscope(&taddr6, ifp, NULL)) in nd6_na_input() 997 if (in6_setscope(&daddr6, ifp, NULL)) in nd6_na_output_fib()
|
| D | sctp6_usrreq.c | 124 if (in6_setscope(&src.sin6_addr, m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_input_with_port() 132 if (in6_setscope(&dst.sin6_addr, m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_input_with_port() 312 if (in6_setscope(&src.sin6_addr, ip6cp->ip6c_m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_ctlinput() 320 if (in6_setscope(&dst.sin6_addr, ip6cp->ip6c_m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_ctlinput()
|
| D | in6.c | 401 error = in6_setscope(&sa6->sin6_addr, ifp, NULL); in in6_control() 783 if ((error = in6_setscope(&mltaddr, ifp, NULL)) != 0) { in in6_update_ifa_join_mc() 812 if ((error = in6_setscope(&mltaddr, ifp, NULL)) != 0) in in6_update_ifa_join_mc() 865 if ((error = in6_setscope(&mltaddr, ifp, NULL)) != 0) in in6_update_ifa_join_mc() 1005 if (in6_setscope(&in6_tmp, ifp, &zoneid)) in in6_validate_ifra() 1707 in6_setscope(&in6, ifp, NULL); in in6_ifhasaddr()
|
| D | in6_ifattach.c | 463 if (in6_setscope(&ifra.ifra_addr.sin6_addr, ifp, NULL)) in in6_ifattach_linklocal() 653 if (in6_setscope(in6, ifp, NULL)) in in6_nigroup0()
|
| D | in6_mcast.c | 1457 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_block_unblock_source() 1666 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_get_source_filters() 1974 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_join_group() 2271 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_leave_group() 2482 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_set_source_filters() 2780 (void)in6_setscope(&mcaddr, ifp, NULL); in sysctl_ip6_mcast_filters()
|
| D | ip6_mroute.c | 1503 if ((error = in6_setscope(&src0, ifp, &iszone)) != 0 || in ip6_mdq() 1504 (error = in6_setscope(&dst0, ifp, &idzone)) != 0) { in ip6_mdq() 1519 if (in6_setscope(&src0, mif6table[mifi].m6_ifp, in ip6_mdq() 1521 in6_setscope(&dst0, mif6table[mifi].m6_ifp, in ip6_mdq()
|
| D | scope6.c | 396 in6_setscope(struct in6_addr *in6, struct ifnet *ifp, u_int32_t *ret_id) in in6_setscope() function
|
| D | mld6.c | 690 in6_setscope(&mld->mld_addr, ifp, NULL); in mld_v1_input_query() 896 in6_setscope(&mld->mld_addr, ifp, NULL); in mld_v2_input_query() 1182 in6_setscope(&mld->mld_addr, ifp, NULL); in mld_v1_input_report() 3140 (void)in6_setscope(&ip6->ip6_dst, ifp, NULL); /* XXX LOR */ in mld_dispatch_packet()
|
| D | ip6_input.c | 784 if (in6_setscope(&ip6->ip6_src, rcvif, NULL) || in ip6_input() 785 in6_setscope(&ip6->ip6_dst, rcvif, NULL)) { in ip6_input()
|
| D | ip6_output.c | 648 if (in6_setscope(&src0, ifp, &zone) == 0 && in ip6_output() 650 in6_setscope(&dst0, ifp, &zone) == 0 && in ip6_output() 2828 in6_setscope(&pktinfo->ipi6_addr, ifp, NULL); in ip6_setpktopt()
|
| D | nd6.c | 1235 if (in6_setscope(&sin6_copy.sin6_addr, ifp, &zone)) in nd6_is_new_addr_neighbor() 1788 if ((error = in6_setscope(&nb_addr, ifp, NULL)) != 0) in nd6_ioctl()
|
| /freebsd-12-stable/sys/netinet/ |
| D | ip_carp.c | 1019 if (in6_setscope(&ip6->ip6_dst, sc->sc_carpdev, NULL) != 0) { in carp_send_ad_locked() 1421 if ((error = in6_setscope(&in6, ifp, NULL)) != 0) { in carp_multicast_setup() 1440 if ((error = in6_setscope(&in6, ifp, NULL)) != 0) { in carp_multicast_setup()
|
| D | tcp_subr.c | 2596 if (in6_setscope(&inc.inc6_faddr, in tcp6_ctlinput()
|
| D | sctputil.c | 7320 if (in6_setscope(&src.sin6_addr, ip6cp->ip6c_m->m_pkthdr.rcvif, NULL) != 0) { in sctp_recv_icmp6_tunneled_packet() 7328 if (in6_setscope(&dst.sin6_addr, ip6cp->ip6c_m->m_pkthdr.rcvif, NULL) != 0) { in sctp_recv_icmp6_tunneled_packet()
|
| /freebsd-12-stable/share/doc/IPv6/ |
| D | IMPLEMENTATION | 478 - int in6_setscope(struct in6_addr *in6, struct ifnet *ifp, 503 in6_setscope() will be used when the kernel receives a packet from the 528 in6_setscope(&dst->sin6_addr, ifp, NULL); 535 detected, and the scope zone was originally ambiguous, in6_setscope() 560 in6_setscope(&sin6->sin6_addr, ifp, NULL);
|
| /freebsd-12-stable/sys/net/ |
| D | if_spppsubr.c | 3559 (void)in6_setscope(&desiredaddr, SP2IFP(sp), NULL); in sppp_ipv6cp_RCR() 3707 (void)in6_setscope(&suggestaddr, SP2IFP(sp), NULL); in sppp_ipv6cp_RCN_nak()
|