Home
last modified time | relevance | path

Searched refs:in6_setscope (Results 1 – 18 of 18) sorted by relevance

/f-stack/freebsd/netinet6/
H A Dscope6_var.h61 int in6_setscope(struct in6_addr *, struct ifnet *, u_int32_t *);
H A Din6_src.c240 error = in6_setscope(&tmp, ifp, &odstzone); in in6_selectsrc()
303 error = in6_setscope(&dst, ifp, &odstzone); in in6_selectsrc()
321 if (in6_setscope(&dst, ifp1, &dstzone) || in in6_selectsrc()
326 if (in6_setscope(&src, ifp, &osrczone) || in in6_selectsrc()
327 in6_setscope(&src, ifp1, &srczone) || in in6_selectsrc()
582 error = in6_setscope(&dstsock->sin6_addr, retifp, NULL); in in6_selectsrc_socket()
H A Dnd6_nbr.c161 if (in6_setscope(&taddr6, ifp, NULL) != 0) in nd6_ns_input()
353 if (in6_setscope(&in6_all, ifp, NULL) != 0) in nd6_ns_input()
462 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()
995 if (in6_setscope(&daddr6, ifp, NULL)) in nd6_na_output_fib()
H A Dicmp6.c247 if (in6_setscope(&ip6->ip6_src, ifp, NULL) != 0) in icmp6_error2()
249 if (in6_setscope(&ip6->ip6_dst, ifp, NULL) != 0) in icmp6_error2()
1064 if (in6_setscope(&icmp6dst.sin6_addr, m->m_pkthdr.rcvif, NULL)) in icmp6_notify_error()
1070 if (in6_setscope(&icmp6src.sin6_addr, m->m_pkthdr.rcvif, NULL)) in icmp6_notify_error()
1150 if (in6_setscope(&inc.inc6_faddr, m->m_pkthdr.rcvif, NULL)) in icmp6_mtudisc_update()
1287 if (in6_setscope(&in6_subj, m->m_pkthdr.rcvif, NULL)) in ni6_input()
2246 if (in6_setscope(&redtgt6, ifp, NULL) || in icmp6_redirect_input()
2247 in6_setscope(&reddst6, ifp, NULL)) { in icmp6_redirect_input()
H A Dsctp6_usrreq.c122 if (in6_setscope(&src.sin6_addr, m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_input_with_port()
130 if (in6_setscope(&dst.sin6_addr, m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_input_with_port()
309 if (in6_setscope(&src.sin6_addr, ip6cp->ip6c_m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_ctlinput()
317 if (in6_setscope(&dst.sin6_addr, ip6cp->ip6c_m->m_pkthdr.rcvif, NULL) != 0) { in sctp6_ctlinput()
H A Din6_ifattach.c450 if (in6_setscope(&ifra.ifra_addr.sin6_addr, ifp, NULL)) in in6_ifattach_linklocal()
645 if (in6_setscope(in6, ifp, NULL)) in in6_nigroup0()
H A Din6.c405 error = in6_setscope(&sa6->sin6_addr, ifp, NULL); in in6_control()
765 if ((error = in6_setscope(&mltaddr, ifp, NULL)) != 0) { in in6_update_ifa_join_mc()
794 if ((error = in6_setscope(&mltaddr, ifp, NULL)) != 0) in in6_update_ifa_join_mc()
847 if ((error = in6_setscope(&mltaddr, ifp, NULL)) != 0) in in6_update_ifa_join_mc()
987 if (in6_setscope(&in6_tmp, ifp, &zoneid)) in in6_validate_ifra()
1770 in6_setscope(&in6, ifp, NULL); in in6_ifhasaddr()
H A Din6_mcast.c1452 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_block_unblock_source()
1661 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_get_source_filters()
1968 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_join_group()
2265 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_leave_group()
2476 (void)in6_setscope(&gsa->sin6.sin6_addr, ifp, NULL); in in6p_set_source_filters()
2777 (void)in6_setscope(&mcaddr, ifp, NULL); in sysctl_ip6_mcast_filters()
H A Dip6_mroute.c1488 if ((error = in6_setscope(&src0, ifp, &iszone)) != 0 || in ip6_mdq()
1489 (error = in6_setscope(&dst0, ifp, &idzone)) != 0) { in ip6_mdq()
1504 if (in6_setscope(&src0, mif6table[mifi].m6_ifp, in ip6_mdq()
1506 in6_setscope(&dst0, mif6table[mifi].m6_ifp, in ip6_mdq()
H A Dscope6.c393 in6_setscope(struct in6_addr *in6, struct ifnet *ifp, u_int32_t *ret_id) in in6_setscope() function
H A Dmld6.c692 in6_setscope(&mld->mld_addr, ifp, NULL); in mld_v1_input_query()
898 in6_setscope(&mld->mld_addr, ifp, NULL); in mld_v2_input_query()
1180 in6_setscope(&mld->mld_addr, ifp, NULL); in mld_v1_input_report()
3143 (void)in6_setscope(&ip6->ip6_dst, ifp, NULL); /* XXX LOR */ in mld_dispatch_packet()
H A Dip6_input.c783 if (in6_setscope(&ip6->ip6_src, rcvif, NULL) || in ip6_input()
784 in6_setscope(&ip6->ip6_dst, rcvif, NULL)) { in ip6_input()
H A Dip6_output.c814 if (in6_setscope(&src0, ifp, &zone) == 0 && in ip6_output()
816 in6_setscope(&dst0, ifp, &zone) == 0 && in ip6_output()
2978 in6_setscope(&pktinfo->ipi6_addr, ifp, NULL); in ip6_setpktopt()
H A Dnd6.c1262 if (in6_setscope(&sin6_copy.sin6_addr, ifp, &zone)) in nd6_is_new_addr_neighbor()
1805 if ((error = in6_setscope(&nb_addr, ifp, NULL)) != 0) in nd6_ioctl()
/f-stack/freebsd/netinet/
H A Dip_carp.c1026 if (in6_setscope(&ip6->ip6_dst, sc->sc_carpdev, NULL) != 0) { in carp_send_ad_locked()
1432 if ((error = in6_setscope(&in6, ifp, NULL)) != 0) { in carp_multicast_setup()
1451 if ((error = in6_setscope(&in6, ifp, NULL)) != 0) { in carp_multicast_setup()
H A Dtcp_subr.c2679 if (in6_setscope(&inc.inc6_faddr, in tcp6_ctlinput()
H A Dsctputil.c7311 if (in6_setscope(&src.sin6_addr, ip6cp->ip6c_m->m_pkthdr.rcvif, NULL) != 0) { in sctp_recv_icmp6_tunneled_packet()
7319 if (in6_setscope(&dst.sin6_addr, ip6cp->ip6c_m->m_pkthdr.rcvif, NULL) != 0) { in sctp_recv_icmp6_tunneled_packet()
/f-stack/freebsd/net/
H A Dif_spppsubr.c3556 (void)in6_setscope(&desiredaddr, SP2IFP(sp), NULL); in sppp_ipv6cp_RCR()
3704 (void)in6_setscope(&suggestaddr, SP2IFP(sp), NULL); in sppp_ipv6cp_RCN_nak()