Searched refs:nh6 (Results 1 - 18 of 18) sorted by relevance

/freebsd-11-stable/sys/netinet6/
H A Din6_gif.c207 struct nhop6_basic nh6; local
211 &nh6) != 0)
214 if (nh6.nh_ifp != m->m_pkthdr.rcvif)
H A Dip6_output.c1291 struct nhop6_extended nh6; local
1299 if (fib6_lookup_nh_ext(fibnum, &kdst, scopeid, NHR_REF, 0, &nh6) != 0)
1302 ifp = nh6.nh_ifp;
1303 mtu = nh6.nh_mtu;
1306 fib6_free_nh_ext(fibnum, &nh6);
1326 struct nhop6_basic nh6; local
1352 &nh6) == 0)
1353 ro_pmtu->ro_mtu = nh6.nh_mtu;
H A Din6_src.c943 struct nhop6_basic nh6; local
950 if (fib6_lookup_nh_basic(fibnum, &dst, scopeid, 0, 0, &nh6)==0){
951 hlim = ND_IFINFO(nh6.nh_ifp)->chlim;
H A Dicmp6.c2283 struct nhop6_basic nh6; local
2288 if (fib6_lookup_nh_basic(ifp->if_fib, &kdst, scopeid, 0, 0,&nh6)==0){
2289 if ((nh6.nh_flags & NHF_GATEWAY) == 0) {
2302 if (in6_setscope(&nh6.nh_addr, m->m_pkthdr.rcvif, NULL))
2305 if (IN6_ARE_ADDR_EQUAL(&src6, &nh6.nh_addr) == 0) {
2310 ip6_sprintf(ip6buf, &nh6.nh_addr),
H A Din6.c2119 struct nhop6_basic nh6; local
2132 error = fib6_lookup_nh_basic(fibnum, &dst, scopeid, 0, 0, &nh6);
2133 if (error != 0 || (nh6.nh_flags & NHF_GATEWAY) || nh6.nh_ifp != ifp) {
H A Din6_mcast.c1777 struct nhop6_basic nh6; local
1789 if (fib6_lookup_nh_basic(fibnum, &dst, scopeid, 0, 0, &nh6) != 0)
1792 return (nh6.nh_ifp);
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw_table_value.c121 _MCPY(nh6, IPFW_VTYPE_NH6);
660 v.nh6 = iv->nh6;
687 iv.nh6 = v->nh6;
H A Dip_fw2.c805 struct nhop6_basic nh6; local
810 if (fib6_lookup_nh_basic(fib, src, 0, NHR_IFAIF, 0, &nh6) != 0)
814 if (ifp != NULL && ifp != nh6.nh_ifp)
818 if (ifp == NULL && (nh6.nh_flags & NHF_DEFAULT) != 0)
822 if (ifp == NULL && (nh6.nh_flags & (NHF_REJECT|NHF_BLACKHOLE)) != 0)
2954 * we can use nh6 field from
2958 struct ip_fw_nh6 *nh6; local
2961 nh6 = &args->hopstore6;
2962 nh6->sin6_addr = TARG_VAL(
2963 chain, tablearg, nh6);
[all...]
H A Dip_fw_private.h344 struct in6_addr nh6; member in struct:table_value
346 uint32_t zoneid; /* scope zone id for nh6 */
H A Dip_fw_table_algo.c3819 struct nhop6_basic nh6; local
3834 (struct in6_addr *)key, 0, 0, 0, &nh6);
/freebsd-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64stl.c100 daddr = TARG_VAL(chain, tablearg, nh6);
H A Dnat64_translate.c148 struct nhop6_basic nh6; local
173 error = nat64_find_route6(&nh6, &dst6, m);
177 ifp = nh6.nh_ifp;
/freebsd-11-stable/sys/dev/cxgbe/tom/
H A Dt4_listen.c1148 struct nhop6_basic nh6; local
1161 0, 0, 0, &nh6) != 0)
1163 if (nh6.nh_ifp != ifp)
1165 ((struct sockaddr_in6 *)dst)->sin6_addr = nh6.nh_addr;
/freebsd-11-stable/sys/netinet/
H A Dtcp_subr.c2441 struct nhop6_extended nh6; local
2455 0, &nh6) != 0)
2458 ifp = nh6.nh_ifp;
2459 maxmtu = nh6.nh_mtu;
2471 fib6_free_nh_ext(inc->inc_fibnum, &nh6);
H A Dip_fw.h880 struct in6_addr nh6; member in struct:_ipfw_table_value
882 uint32_t zoneid; /* scope zone id for nh6 */
/freebsd-11-stable/sbin/ipfw/
H A Dtables.c1631 v->nh6 = ((struct sockaddr_in6 *)
1848 sa6.sin6_addr = v->nh6;
2016 struct in6_addr nh6; member in struct:_table_value
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c550 struct nhop6_extended nh6 = {0}; local
558 NHR_REF, 0, &nh6);
559 *ifp = nh6.nh_ifp;
561 fib6_free_nh_ext(RT_DEFAULT_FIB, &nh6);
/freebsd-11-stable/sys/netpfil/pf/
H A Dpf.c3159 struct nhop6_basic nh6; local
3178 if (fib6_lookup_nh_basic(rtableid, &dst6, scopeid, 0,0,&nh6)==0)
3179 mss = nh6.nh_mtu - hlen - sizeof(struct tcphdr);
5421 struct nhop6_basic nh6; local
5451 if (fib6_lookup_nh_basic(rtableid, &addr->v6, 0, 0, 0, &nh6)!=0)
5453 ifp = nh6.nh_ifp;

Completed in 192 milliseconds