Searched refs:gwrt (Results 1 - 3 of 3) sorted by relevance
/xnu-2422.115.4/bsd/net/ |
H A D | route.c | 1754 struct rtentry *gwrt = NULL; local 1813 if ((gwrt = rt->rt_gwroute) != NULL) 1854 * lock being acquired if gwrt is a clone of rt. 1856 if (gwrt != NULL) 1857 rtfree_locked(gwrt); 2419 struct rtentry *gwrt; local 2435 gwrt = rtalloc1_scoped_locked(gate, 1, RTF_PRCLONING, ifscope); 2436 if (gwrt != NULL) 2437 RT_LOCK_ASSERT_NOTHELD(gwrt); 2454 if (gwrt 2596 rt_set_gwroute(struct rtentry *rt, struct sockaddr *dst, struct rtentry *gwrt) argument 3641 struct rtentry *gwrt = rt->rt_gwroute; local 3788 rt_revalidate_gwroute(struct rtentry *rt, struct rtentry *gwrt) argument [all...] |
H A D | if_llreach.c | 453 struct rtentry *gwrt; local 457 (gwrt = rt->rt_gwroute) != NULL && 458 rt_key(rt)->sa_family == rt_key(gwrt)->sa_family && 459 (gwrt->rt_flags & RTF_UP)) { 461 RT_LOCK(gwrt); 462 if (gwrt->rt_llinfo_get_iflri != NULL) { 463 (*gwrt->rt_llinfo_get_iflri)(gwrt, iflri); 466 RT_UNLOCK(gwrt);
|
/xnu-2422.115.4/bsd/netinet6/ |
H A D | nd6.c | 3247 struct rtentry *gwrt; local 3290 if ((gwrt = rt->rt_gwroute) == NULL) { 3298 * Take gwrt's lock while holding route's lock; 3299 * this is okay since gwrt never points back 3302 RT_LOCK_SPIN(gwrt); 3303 if (!(gwrt->rt_flags & RTF_UP)) { 3305 RT_UNLOCK(gwrt); 3307 rtfree(gwrt); 3310 gwrt = rtalloc1_scoped_locked(SA(&gw6), 1, 0, 3320 gwrt [all...] |
Completed in 84 milliseconds