Home
last modified time | relevance | path

Searched refs:is_gw (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_addr.c384 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 Dif_fwsubr.c94 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 Dif_ether.h117 int arpresolve(struct ifnet *ifp, int is_gw, struct mbuf *m,
H A Dif_ether.c460 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 Dnhop_ctl.c197 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 Dnhop.h186 bool nhop_set_gw(struct nhop_object *nh, const struct sockaddr *sa, bool is_gw);