Searched refs:is_gw (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_addr.c | 384 bool is_gw = (nh->nh_flags & NHF_GATEWAY) != 0; in addr4_resolve() local 388 else if (is_gw) in addr4_resolve() 394 bool is_gw = (nh->nh_flags & NHF_GATEWAY) != 0; in addr4_resolve() local 397 if (is_gw && nh->gw_sa.sa_family == AF_INET6) in addr4_resolve() 398 error = nd6_resolve(ifp, LLE_SF(AF_INET, is_gw), NULL, in addr4_resolve() 402 error = arpresolve(ifp, is_gw, NULL, is_gw ? in addr4_resolve() 408 else if (is_gw) in addr4_resolve() 578 bool is_gw = (nh->nh_flags & NHF_GATEWAY) != 0; in addr6_resolve() local 583 else if (is_gw) in addr6_resolve() 589 bool is_gw = (nh->nh_flags & NHF_GATEWAY) != 0; in addr6_resolve() local [all …]
|
/freebsd/sys/net/ |
H A D | if_fwsubr.c | 94 int is_gw = 0; in firewire_output() local 112 is_gw = (ro->ro_flags & RT_HAS_GW) != 0; in firewire_output() 169 error = arpresolve(ifp, is_gw, m, dst, in firewire_output() 197 error = nd6_resolve(fc->fc_ifp, LLE_SF(af, is_gw), m, in firewire_output()
|
/freebsd/sys/netinet/ |
H A D | if_ether.h | 117 int arpresolve(struct ifnet *ifp, int is_gw, struct mbuf *m,
|
H A D | if_ether.c | 460 arpresolve_full(struct ifnet *ifp, int is_gw, int flags, struct mbuf *m, in arpresolve_full() argument 553 error = is_gw != 0 ? EHOSTUNREACH : EHOSTDOWN; in arpresolve_full() 597 arpresolve(struct ifnet *ifp, int is_gw, struct mbuf *m, in arpresolve() argument 642 return (arpresolve_full(ifp, is_gw, la == NULL ? LLE_CREATE : 0, m, dst, in arpresolve()
|
/freebsd/sys/net/route/ |
H A D | nhop_ctl.c | 197 bool is_gw = info->rti_flags & RTF_GATEWAY; in set_nhop_gw_from_info() local 199 if ((gw->sa_family == AF_LINK) && !is_gw) { in set_nhop_gw_from_info() 231 if (!nhop_set_gw(nh, gw, is_gw)) in set_nhop_gw_from_info() 754 nhop_set_gw(struct nhop_object *nh, const struct sockaddr *gw, bool is_gw) in nhop_set_gw() argument 772 if (is_gw) { in nhop_set_gw()
|
H A D | nhop.h | 186 bool nhop_set_gw(struct nhop_object *nh, const struct sockaddr *sa, bool is_gw);
|