| /freebsd-head/sys/netinet6/ |
| HD | in6_src.c | 238 error = in6_setscope(&tmp, ifp, &odstzone); in in6_selectsrc() 297 error = in6_setscope(&dst, ifp, &odstzone); in in6_selectsrc() 315 if (in6_setscope(&dst, ifp1, &dstzone) || in in6_selectsrc() 320 if (in6_setscope(&src, ifp, &osrczone) || in in6_selectsrc() 321 in6_setscope(&src, ifp1, &srczone) || in in6_selectsrc() 576 error = in6_setscope(&dstsock->sin6_addr, retifp, NULL); in in6_selectsrc_socket()
|
| HD | scope6_var.h | 60 int in6_setscope(struct in6_addr *, struct ifnet *, u_int32_t *);
|
| HD | nd6_nbr.c | 170 if (in6_setscope(&taddr6, ifp, NULL) != 0) in nd6_ns_input() 336 if (in6_setscope(&in6_all, ifp, NULL) != 0) in nd6_ns_input() 470 if (in6_setscope(&ip6->ip6_dst, ifp, NULL) != 0) in nd6_ns_output_fib() 709 if (in6_setscope(&taddr6, ifp, NULL)) in nd6_na_input() 1033 if (in6_setscope(&daddr6, ifp, NULL)) in nd6_na_output_fib()
|
| HD | icmp6.c | 255 if (in6_setscope(&ip6->ip6_src, ifp, NULL) != 0) in icmp6_error2() 257 if (in6_setscope(&ip6->ip6_dst, ifp, NULL) != 0) in icmp6_error2() 1096 if (in6_setscope(&icmp6dst.sin6_addr, m->m_pkthdr.rcvif, NULL)) in icmp6_notify_error() 1102 if (in6_setscope(&icmp6src.sin6_addr, m->m_pkthdr.rcvif, NULL)) in icmp6_notify_error() 1179 if (in6_setscope(&inc.inc6_faddr, m->m_pkthdr.rcvif, NULL)) in icmp6_mtudisc_update() 1318 if (in6_setscope(&in6_subj, m->m_pkthdr.rcvif, NULL)) in ni6_input() 2230 if (in6_setscope(&redtgt6, ifp, NULL) || in icmp6_redirect_input() 2231 in6_setscope(&reddst6, ifp, NULL)) { in icmp6_redirect_input()
|
| HD | sctp6_usrreq.c | 119 if (in6_setscope(&src.sin6_addr, m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_input_with_port() 127 if (in6_setscope(&dst.sin6_addr, m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_input_with_port() 280 if (in6_setscope(&src.sin6_addr, ip6cp->ip6c_m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_ctlinput() 288 if (in6_setscope(&dst.sin6_addr, ip6cp->ip6c_m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_ctlinput()
|
| HD | in6_ifattach.c | 448 if (in6_setscope(&ifra.ifra_addr.sin6_addr, ifp, NULL)) in in6_ifattach_linklocal() 643 if (in6_setscope(in6, ifp, NULL)) in in6_nigroup0()
|
| HD | in6.c | 425 error = in6_setscope(&sa6->sin6_addr, ifp, NULL); in in6_control_ioctl() 661 if ((error = in6_setscope(maddr, ifp, NULL)) != 0) { in in6_solicited_node_maddr() 712 if ((error = in6_setscope(&mltaddr, ifp, NULL)) != 0) in in6_update_ifa_join_mc() 765 if ((error = in6_setscope(&mltaddr, ifp, NULL)) != 0) in in6_update_ifa_join_mc() 905 if (in6_setscope(&in6_tmp, ifp, &zoneid)) in in6_validate_ifra() 1865 in6_setscope(&in6, ifp, NULL); in in6_ifhasaddr()
|
| HD | in6_mcast.c | 1490 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_block_unblock_source() 1703 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_get_source_filters() 2013 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_join_group() 2311 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_leave_group() 2526 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_set_source_filters() 2817 (void)in6_setscope(&mcaddr, ifp, NULL); in sysctl_ip6_mcast_filters()
|
| HD | ip6_mroute.c | 1484 if ((error = in6_setscope(&src0, ifp, &iszone)) != 0 || in ip6_mdq() 1485 (error = in6_setscope(&dst0, ifp, &idzone)) != 0) { in ip6_mdq() 1500 if (in6_setscope(&src0, mif6table[mifi].m6_ifp, in ip6_mdq() 1502 in6_setscope(&dst0, mif6table[mifi].m6_ifp, in ip6_mdq()
|
| HD | scope6.c | 404 in6_setscope(struct in6_addr *in6, struct ifnet *ifp, u_int32_t *ret_id) in in6_setscope() function
|
| HD | mld6.c | 656 in6_setscope(&mld->mld_addr, ifp, NULL); in mld_v1_input_query() 862 in6_setscope(&mld->mld_addr, ifp, NULL); in mld_v2_input_query() 1144 in6_setscope(&mld->mld_addr, ifp, NULL); in mld_v1_input_report() 3111 (void)in6_setscope(&ip6->ip6_dst, ifp, NULL); /* XXX LOR */ in mld_dispatch_packet()
|
| HD | ip6_input.c | 777 if (in6_setscope(&ip6->ip6_src, rcvif, NULL) || in ip6_input() 778 in6_setscope(&ip6->ip6_dst, rcvif, NULL)) { in ip6_input()
|
| HD | ip6_output.c | 824 if (in6_setscope(&src0, origifp, &zone) == 0 && in ip6_output() 826 in6_setscope(&dst0, origifp, &zone) == 0 && in ip6_output() 2971 in6_setscope(&pktinfo->ipi6_addr, ifp, NULL); in ip6_setpktopt()
|
| HD | nd6.c | 1267 if (in6_setscope(&sin6_copy.sin6_addr, ifp, &zone)) in nd6_is_new_addr_neighbor() 1837 if ((error = in6_setscope(&nb_addr, ifp, NULL)) != 0) in nd6_ioctl()
|
| /freebsd-head/sys/netinet/ |
| HD | ip_carp.c | 1325 if (in6_setscope(&ip6->ip6_dst, sc->sc_carpdev, NULL) != 0) { in carp_send_ad_locked() 1515 if (in6_setscope(&ip6->ip6_dst, sc->sc_carpdev, NULL) != 0) { in vrrp_send_ad_locked() 1939 if ((error = in6_setscope(&in6, ifp, NULL)) != 0) { in carp_multicast_setup() 1958 if ((error = in6_setscope(&in6, ifp, NULL)) != 0) { in carp_multicast_setup()
|
| HD | sctputil.c | 7367 if (in6_setscope(&src.sin6_addr, ip6cp->ip6c_m->m_pkthdr.rcvif, NULL) != 0) { in sctp_recv_icmp6_tunneled_packet() 7375 if (in6_setscope(&dst.sin6_addr, ip6cp->ip6c_m->m_pkthdr.rcvif, NULL) != 0) { in sctp_recv_icmp6_tunneled_packet()
|
| HD | tcp_subr.c | 3048 if (in6_setscope(&inc.inc6_faddr, in tcp6_ctlinput_with_port()
|
| /freebsd-head/sys/netpfil/pf/ |
| HD | pf_norm.c | 1009 in6_setscope(&hdr->ip6_src, ifp, NULL); in pf_refragment6() 1010 in6_setscope(&hdr->ip6_dst, ifp, NULL); in pf_refragment6()
|
| HD | if_pfsync.c | 2840 if ((error = in6_setscope(&syncpeer_sa6->sin6_addr, ifp, NULL))) in pfsync_multicast_setup()
|
| /freebsd-head/share/doc/IPv6/ |
| HD | IMPLEMENTATION | 477 - int in6_setscope(struct in6_addr *in6, struct ifnet *ifp, 502 in6_setscope() will be used when the kernel receives a packet from the 527 in6_setscope(&dst->sin6_addr, ifp, NULL); 534 detected, and the scope zone was originally ambiguous, in6_setscope() 559 in6_setscope(&sin6->sin6_addr, ifp, NULL);
|