Searched refs:nh4 (Results 1 - 17 of 17) sorted by relevance

/freebsd-11.0-release/sys/netinet/
H A Din_gif.c192 struct nhop4_basic nh4; local
197 if (fib4_lookup_nh_basic(sc->gif_fibnum, dst, 0, 0, &nh4) != 0)
200 if (nh4.nh_ifp != m->m_pkthdr.rcvif)
H A Dif_ether.c778 struct nhop4_basic nh4; local
1040 if (fib4_lookup_nh_basic(0, itaddr, 0, 0, &nh4) != 0)
1048 if (nh4.nh_ifp == ifp)
1062 if (fib4_lookup_nh_basic(0, isaddr, 0, 0, &nh4) != 0)
1064 if (nh4.nh_ifp != ifp) {
H A Dtcp_subr.c2313 struct nhop4_extended nh4; local
2322 NHR_REF, 0, &nh4) != 0)
2325 ifp = nh4.nh_ifp;
2326 maxmtu = nh4.nh_mtu;
2338 fib4_free_nh_ext(inc->inc_fibnum, &nh4);
H A Dip_fw.h828 uint32_t nh4; member in struct:_ipfw_table_value
H A Din_mcast.c1887 struct nhop4_basic nh4; local
1899 if (fib4_lookup_nh_basic(fibnum, gsin->sin_addr, 0, 0, &nh4)==0)
1900 ifp = nh4.nh_ifp;
/freebsd-11.0-release/sys/netpfil/ipfw/
H A Dip_fw_table_value.c119 _MCPY(nh4, IPFW_VTYPE_NH4);
621 v->nh4 = value; /* host format */
658 v.nh4 = iv->nh4;
685 iv.nh4 = v->nh4;
H A Dip_fw2.c442 struct nhop4_basic nh4;
444 if (fib4_lookup_nh_basic(fib, src, NHR_IFAIF, 0, &nh4) != 0)
454 if (ifp != NULL && ifp != nh4.nh_ifp)
458 if (ifp == NULL && (nh4.nh_flags & NHF_DEFAULT) != 0)
462 if (ifp == NULL && (nh4.nh_flags & (NHF_REJECT|NHF_BLACKHOLE)) != 0)
2399 nh4));
H A Dip_fw_private.h300 uint32_t nh4; member in struct:table_value
H A Dip_fw_table_algo.c3813 struct nhop4_basic nh4; local
3826 in, 0, 0, &nh4);
/freebsd-11.0-release/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c735 struct nhop4_extended nh4; local
811 if (fib4_lookup_nh_ext(fibnum, dst.sin_addr, NHR_REF, 0, &nh4) != 0) {
821 ifp = nh4.nh_ifp;
822 if (nh4.nh_flags & NHF_GATEWAY)
823 dst.sin_addr = nh4.nh_addr;
964 fib4_free_nh_ext(fibnum, &nh4);
986 struct nhop4_basic nh4; local
988 if (fib4_lookup_nh_basic(0, fin->fin_src, 0, 0, &nh4) != 0)
990 return (fin->fin_ifp == nh4.nh_ifp);
/freebsd-11.0-release/sys/net/
H A Dif_stf.c561 struct nhop4_basic nh4; local
563 if (fib4_lookup_nh_basic(sc->sc_fibnum, *in, 0, 0, &nh4) != 0)
566 if (nh4.nh_ifp != inifp)
/freebsd-11.0-release/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_cm.c1290 struct nhop4_extended nh4; local
1329 cm_id->remote_addr.sin_port, IPTOS_LOWDELAY, &nh4);
1336 if (!(nh4.nh_ifp->if_flags & IFCAP_TOE)) {
1338 fib4_free_nh_ext(RT_DEFAULT_FIB, &nh4);
1341 tdev = TOEDEV(nh4.nh_ifp);
1344 fib4_free_nh_ext(RT_DEFAULT_FIB, &nh4);
1347 fib4_free_nh_ext(RT_DEFAULT_FIB, &nh4);
/freebsd-11.0-release/sys/dev/cxgb/ulp/tom/
H A Dcxgb_listen.c484 struct nhop4_basic nh4; local
529 if (fib4_lookup_nh_basic(RT_DEFAULT_FIB, nam.sin_addr, 0, 0, &nh4) != 0)
532 nam.sin_addr = nh4.nh_addr;
533 if (nh4.nh_ifp == ifp)
/freebsd-11.0-release/sbin/ipfw/
H A Dtables.c1437 v->nh4 = val;
1535 v->nh4 = ntohl(a4);
1538 if (lookup_host(n, (struct in_addr *)&v->nh4) == 0)
1767 a4.s_addr = htonl(v->nh4);
1940 uint32_t nh4; member in struct:_table_value
/freebsd-11.0-release/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c2072 struct nhop4_extended nh4; local
2133 cm_id->remote_addr.sin_port, 0, &nh4);
2143 if (!(nh4.nh_ifp->if_capenable & IFCAP_TOE)) {
2151 tdev = TOEDEV(nh4.nh_ifp);
2159 fib4_free_nh_ext(RT_DEFAULT_FIB, &nh4);
2178 fib4_free_nh_ext(RT_DEFAULT_FIB, &nh4);
/freebsd-11.0-release/sys/dev/cxgbe/tom/
H A Dt4_listen.c1121 struct nhop4_basic nh4; local
1127 &nh4) != 0)
1129 if (nh4.nh_ifp != ifp)
1131 ((struct sockaddr_in *)dst)->sin_addr = nh4.nh_addr;
/freebsd-11.0-release/sys/netpfil/pf/
H A Dpf.c3036 struct nhop4_basic nh4; local
3050 if (fib4_lookup_nh_basic(rtableid, addr->v4, 0, 0, &nh4) == 0)
3051 mss = nh4.nh_mtu - hlen - sizeof(struct tcphdr);
5334 struct nhop4_basic nh4; local
5374 if (fib4_lookup_nh_basic(rtableid, addr->v4, 0, 0, &nh4) != 0)
5376 ifp = nh4.nh_ifp;
5443 struct nhop4_basic nh4; local
5449 m0->m_pkthdr.flowid, &nh4) != 0) {
5455 ifp = nh4.nh_ifp;
5456 dst.sin_addr = nh4
[all...]

Completed in 148 milliseconds