/freebsd-13-stable/sys/netinet6/ |
H A D | ip6_forward.c | 207 outzone = in6_get_unicast_scopeid(&ip6->ip6_src, nh->nh_ifp); 212 in6_ifstat_inc(nh->nh_ifp, ifs6_in_discard); 222 if_name(m->m_pkthdr.rcvif), if_name(nh->nh_ifp)); 238 outzone = in6_get_unicast_scopeid(&ip6->ip6_dst, nh->nh_ifp); 262 if (V_ip6_sendredirects && nh->nh_ifp == m->m_pkthdr.rcvif && !srcrt && 274 if ((nh->nh_ifp->if_flags & IFF_LOOPBACK) != 0) { 295 if_name(nh->nh_ifp)); 302 origifp = nh->nh_ifp; 316 if (pfil_run_hooks(V_inet6_pfil_head, &m, nh->nh_ifp, PFIL_OUT | 374 if (m->m_pkthdr.len > IN6_LINKMTU(nh->nh_ifp)) { [all...] |
H A D | ip6_fastfwd.c | 206 in6_ifstat_inc(nh->nh_ifp, ifs6_in_toobig); 217 if (pfil_run_hooks(V_inet6_pfil_head, &m, nh->nh_ifp, PFIL_OUT | 226 in6_ifstat_inc(nh->nh_ifp, ifs6_in_toobig); 281 IP_PROBE(send, NULL, NULL, ip6, nh->nh_ifp, NULL, ip6); 285 error = (*nh->nh_ifp->if_output)(nh->nh_ifp, m, 288 in6_ifstat_inc(nh->nh_ifp, ifs6_out_discard); 291 in6_ifstat_inc(nh->nh_ifp, ifs6_out_forward); 299 in6_ifstat_inc(nh->nh_ifp, ifs6_out_discard);
|
H A D | in6_rmx.c | 115 nh->nh_mtu = IN6_LINKMTU(nh->nh_ifp); 116 } else if (nh->nh_mtu > IN6_LINKMTU(nh->nh_ifp)) 117 nh->nh_mtu = IN6_LINKMTU(nh->nh_ifp);
|
H A D | in6_fib.c | 132 if (RT_LINK_IS_UP(nh->nh_ifp)) { 170 if (RT_LINK_IS_UP(nh->nh_ifp)) { 342 if (RT_LINK_IS_UP(nh->nh_ifp))
|
H A D | in6_src.c | 728 ifp = nh->nh_ifp; 782 ifp = ro->ro_nh->nh_ifp; 922 hlim = ND_IFINFO(nh->nh_ifp)->chlim;
|
/freebsd-13-stable/sys/netinet/ |
H A D | in_rmx.c | 79 if (in_broadcast(addr4->sin_addr, nh->nh_ifp)) { 92 nh->nh_mtu = nh->nh_ifp->if_mtu; 93 } else if (nh->nh_mtu > nh->nh_ifp->if_mtu) 94 nh->nh_mtu = nh->nh_ifp->if_mtu;
|
H A D | ip_fastfwd.c | 374 if (pfil_run_hooks(V_inet_pfil_head, &m, nh->nh_ifp, 436 if (V_ipsendredirects && (nh->nh_ifp == m->m_pkthdr.rcvif)) 450 IP_PROBE(send, NULL, NULL, ip, nh->nh_ifp, ip, NULL); 451 error = (*nh->nh_ifp->if_output)(nh->nh_ifp, m, 468 nh->nh_ifp->if_hwassist) != 0) 484 mtod(m, struct ip *), nh->nh_ifp, 486 error = (*nh->nh_ifp->if_output)(nh->nh_ifp, m,
|
H A D | in_fib.c | 124 if (RT_LINK_IS_UP(nh->nh_ifp)) { 161 if (RT_LINK_IS_UP(nh->nh_ifp)) { 327 if (RT_LINK_IS_UP(nh->nh_ifp))
|
H A D | sctp_os_bsd.h | 212 #define SCTP_GET_IFN_VOID_FROM_ROUTE(ro) (void *)ro->ro_nh->nh_ifp 213 #define SCTP_GET_IF_INDEX_FROM_ROUTE(ro) (ro)->ro_nh->nh_ifp->if_index 214 #define SCTP_ROUTE_HAS_VALID_IFN(ro) ((ro)->ro_nh && (ro)->ro_nh->nh_ifp) 366 #define SCTP_GET_HLIM(inp, ro) in6_selecthlim(&inp->ip_inp.inp, (ro ? (ro->ro_nh ? (ro->ro_nh->nh_ifp) : (NULL)) : (NULL)));
|
H A D | tcp_offload.c | 98 ifp = nh->nh_ifp;
|
H A D | in_pcb.c | 1188 if (nh == NULL || nh->nh_ifp == NULL) { 1239 if ((nh->nh_ifp->if_flags & IFF_LOOPBACK) == 0) { 1264 ifp = nh->nh_ifp; 1294 if ((nh->nh_ifp->if_flags & IFF_LOOPBACK) != 0) {
|
H A D | if_ether.c | 1075 if (nh->nh_ifp == ifp) 1091 if (nh->nh_ifp != ifp) {
|
/freebsd-13-stable/sys/net/route/ |
H A D | nhop_ctl.c | 95 _Static_assert(__offsetof(struct nhop_object, nh_ifp) == 32, 96 "nhop_object: wrong nh_ifp offset"); 139 if ((nh->nh_ifp->if_flags & IFF_LOOPBACK) && 147 if_name(nh->nh_ifp), nh->gwl_sa.sdl_index); 152 aifp = nh->nh_ifp; 297 nh->nh_ifp = info->rti_ifa->ifa_ifp; 440 nh->nh_ifp = info->rti_ifp; 473 nh->nh_ifp = nh_orig->nh_ifp; 542 if_ref(nh->nh_ifp); [all...] |
H A D | nhop.h | 89 * nh_ifp: logical transmit interface. The one from which if_transmit() will be 91 * nh_aifp: ifnet of the source address. Same as nh_ifp except IPv6 loopback 103 * nh_ifp denotes the logical transmit interface (). 104 * nh_aifp is the same as nh_ifp 108 * nh_ifp points to the loopback interface (lo0). 114 * nh_ifp denotes the logical transmit interface. 115 * nh_aifp is the same as nh_ifp 135 struct ifnet *nh_ifp; /* Logical egress interface. Always != NULL */ member in struct:nhop_object 157 #define NH_IS_VALID(_nh) RT_LINK_IS_UP((_nh)->nh_ifp)
|
H A D | route_ddb.c | 145 if ((nh->nh_ifp->if_flags & IFF_DYING) == 0) { 146 rt_dumpaddr_ddb("ifp", nh->nh_ifp->if_addr->ifa_addr);
|
H A D | nhop.c | 218 ifindex = nh->nh_ifp->if_index & 0xFFFF;
|
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_addr.c | 341 } else if (nh->nh_ifp->if_flags & IFF_LOOPBACK) { 354 ifp = nh->nh_ifp; 356 } else if (ifp != nh->nh_ifp) { 367 if (nh->nh_ifp->if_flags & IFF_LOOPBACK) 373 ifp = nh->nh_ifp; 532 } else if (nh->nh_ifp->if_flags & IFF_LOOPBACK) { 545 ifp = nh->nh_ifp; 547 } else if (ifp != nh->nh_ifp) { 558 if (nh->nh_ifp->if_flags & IFF_LOOPBACK) 564 ifp = nh->nh_ifp; [all...] |
/freebsd-13-stable/sys/net/ |
H A D | route.c | 398 info->rti_ifp = nh->nh_ifp; 440 if (RT_LINK_IS_UP(nh->nh_ifp)) { 485 if (nh->nh_ifp != ifp)
|
H A D | rtsock.c | 793 if (nh->nh_ifp != NULL && 794 nh->nh_ifp->if_type == IFT_PROPVIRTUAL) { 956 ifp = nh->nh_ifp; 1129 rtm->rtm_index = nh->nh_ifp->if_index; 1992 info.rti_ifp = nh->nh_ifp; 2252 if (nh->nh_ifp && !(nh->nh_ifp->if_flags & IFF_DYING)) { 2253 info.rti_info[RTAX_IFP] = nh->nh_ifp->if_addr->ifa_addr; 2255 if (nh->nh_ifp->if_flags & IFF_POINTOPOINT) 2277 rtm->rtm_index = nh->nh_ifp [all...] |
H A D | if_vxlan.c | 2544 if ((csum_flags & ro->ro_nh->nh_ifp->if_hwassist) != 2547 const struct ifnet *nh_ifp = ro->ro_nh->nh_ifp; local 2551 "hwassist 0x%08x\n", nh_ifp->if_xname, 2552 csum_flags & ~(uint32_t)nh_ifp->if_hwassist, 2554 (uint32_t)nh_ifp->if_hwassist); 2656 if ((csum_flags & ro->ro_nh->nh_ifp->if_hwassist) != 2659 const struct ifnet *nh_ifp = ro->ro_nh->nh_ifp; local 2663 "hwassist 0x%08x\n", nh_ifp [all...] |
H A D | if_stf.c | 579 if (nh->nh_ifp != inifp)
|
/freebsd-13-stable/sys/tests/fib_lookup/ |
H A D | fib_lookup.c | 601 acc += (uintptr_t) nh_fib->nh_ifp; 603 acc -= (uintptr_t) nh_fib->nh_ifp;
|
/freebsd-13-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.c | 196 ifp = nh4->nh_ifp; 208 ifp = nh6->nh_ifp; 640 htons(nh->nh_ifp->if_index & 0xffff); 1337 if (V_nat64out->output(nh->nh_ifp, m, (struct sockaddr *)&dst, 1732 if (V_nat64out->output(nh->nh_ifp, m, (struct sockaddr *)&dst,
|
/freebsd-13-stable/sys/dev/cxgbe/tom/ |
H A D | t4_connect.c | 233 struct ifnet *rt_ifp = nh->nh_ifp;
|
/freebsd-13-stable/sys/netgraph/netflow/ |
H A D | netflow.c | 362 fle->f.fle_o_ifx = nh->nh_ifp->if_index; 436 fle6->f.fle_o_ifx = nh->nh_ifp->if_index;
|