Searched refs:gwrt (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Droute.c1674 struct rtentry *gwrt = NULL; local
1726 if ((gwrt = rt->rt_gwroute) != NULL)
1768 * lock being acquired if gwrt is a clone of rt.
1770 if (gwrt != NULL)
1771 rtfree_locked(gwrt);
2305 struct rtentry *gwrt; local
2321 gwrt = rtalloc1_scoped_locked(gate, 1, RTF_PRCLONING, ifscope);
2322 if (gwrt != NULL)
2323 RT_LOCK_ASSERT_NOTHELD(gwrt);
2340 if (gwrt
2482 rt_set_gwroute(struct rtentry *rt, struct sockaddr *dst, struct rtentry *gwrt) argument
3379 struct rtentry *gwrt = rt->rt_gwroute; local
3526 rt_revalidate_gwroute(struct rtentry *rt, struct rtentry *gwrt) argument
[all...]
H A Dif_llreach.c451 struct rtentry *gwrt; local
455 (gwrt = rt->rt_gwroute) != NULL &&
456 rt_key(rt)->sa_family == rt_key(gwrt)->sa_family &&
457 (gwrt->rt_flags & RTF_UP)) {
459 RT_LOCK(gwrt);
460 if (gwrt->rt_llinfo_get_iflri != NULL) {
461 (*gwrt->rt_llinfo_get_iflri)(gwrt, iflri);
464 RT_UNLOCK(gwrt);
/darwin-on-arm/xnu/bsd/netinet6/
H A Dnd6.c2993 struct rtentry *gwrt; local
3036 if ((gwrt = rt->rt_gwroute) == NULL) {
3044 * Take gwrt's lock while holding route's lock;
3045 * this is okay since gwrt never points back
3048 RT_LOCK_SPIN(gwrt);
3049 if (!(gwrt->rt_flags & RTF_UP)) {
3051 RT_UNLOCK(gwrt);
3053 rtfree(gwrt);
3056 gwrt = rtalloc1_scoped_locked(
3067 gwrt
[all...]

Completed in 37 milliseconds