Home
last modified time | relevance | path

Searched refs:rt2 (Results 1 – 4 of 4) sorted by relevance

/xnu-12377.61.12/bsd/netinet6/
H A Din6_rmx.c233 rtentry_ref_t rt2; in in6_addroute() local
239 rt2 = rtalloc1_scoped_locked(SA(sin6), 0, in in6_addroute()
241 if (rt2 != NULL) { in in6_addroute()
244 RT_LOCK(rt2); in in6_addroute()
246 rt_str(rt2, dbufc, sizeof(dbufc), NULL, 0); in in6_addroute()
249 if ((rt2->rt_flags & RTF_LLINFO) && in in6_addroute()
250 (rt2->rt_flags & RTF_HOST) && in in6_addroute()
251 rt2->rt_gateway != NULL && in in6_addroute()
252 rt2->rt_gateway->sa_family == AF_LINK) { in in6_addroute()
262 dbufc, (rt2->rt_ifp != NULL) ? in in6_addroute()
[all …]
/xnu-12377.61.12/bsd/netinet/
H A Din_rmx.c187 rtentry_ref_t rt2; in in_addroute() local
193 rt2 = rtalloc1_scoped_locked(rt_key(rt), 0, in in_addroute()
195 if (rt2 != NULL) { in in_addroute()
198 RT_LOCK(rt2); in in_addroute()
200 rt_str(rt2, dbufc, sizeof(dbufc), NULL, 0); in in_addroute()
203 if ((rt2->rt_flags & RTF_LLINFO) && in in_addroute()
204 (rt2->rt_flags & RTF_HOST) && in in_addroute()
205 rt2->rt_gateway != NULL && in in_addroute()
206 rt2->rt_gateway->sa_family == AF_LINK) { in in_addroute()
216 (rt2->rt_ifp != NULL) ? in in_addroute()
[all …]
/xnu-12377.61.12/bsd/net/
H A Droute.c2357 rtentry_ref_t rt2; in rtrequest_common_locked() local
2366 rt2 = rtalloc1_scoped_locked(dst0, 0, in rtrequest_common_locked()
2369 rt2 = rtalloc1_locked(dst, 0, in rtrequest_common_locked()
2372 if (rt2 && rt2->rt_parent) { in rtrequest_common_locked()
2377 (void) rtrequest_locked(RTM_DELETE, rt_key(rt2), in rtrequest_common_locked()
2378 rt2->rt_gateway, rt_mask(rt2), in rtrequest_common_locked()
2379 rt2->rt_flags, 0); in rtrequest_common_locked()
2380 rtfree_locked(rt2); in rtrequest_common_locked()
2384 } else if (rt2) { in rtrequest_common_locked()
2386 rtfree_locked(rt2); in rtrequest_common_locked()
H A Dntstat.c1568 struct rtentry *rt2 = (struct rtentry *)cookie2; in nstat_route_cookie_equal() local
1570 return (rt1 == rt2) ? true : false; in nstat_route_cookie_equal()