Searched refs:rtentry (Results 1 - 25 of 55) sorted by relevance

123

/xnu-2422.115.4/bsd/netinet/
H A Din_gif.h69 int in_gif_output(struct ifnet *, int, struct mbuf *, struct rtentry *);
H A Dif_ether.h149 int arpresolve(struct ifnet *, struct rtentry *, struct mbuf *,
150 struct sockaddr *, u_char *, struct rtentry *);
H A Din_rmx.c115 struct rtentry *rt = (struct rtentry *)treenodes;
173 struct rtentry *rt2;
260 struct rtentry *rt = (struct rtentry *)rn;
278 struct rtentry *rt = (struct rtentry *)rn;
328 RT_LOCK_SPIN((struct rtentry *)rn);
330 RT_UNLOCK((struct rtentry *)rn);
362 struct rtentry *r
[all...]
H A Din_arp.c121 struct rtentry *la_rt;
144 static void arp_llinfo_purge(struct rtentry *);
145 static void arp_llinfo_get_ri(struct rtentry *, struct rt_reach_info *);
146 static void arp_llinfo_get_iflri(struct rtentry *, struct ifnet_llreach_info *);
150 static void arp_llreach_alloc(struct rtentry *, struct ifnet *, void *,
296 arp_llinfo_purge(struct rtentry *rt)
312 arp_llinfo_get_ri(struct rtentry *rt, struct rt_reach_info *ri)
334 arp_llinfo_get_iflri(struct rtentry *rt, struct ifnet_llreach_info *iflri)
440 arp_llreach_alloc(struct rtentry *rt, struct ifnet *ifp, void *addr,
521 struct rtentry *r
[all...]
H A Din_gif.c105 __unused struct rtentry *rt)
380 struct rtentry *rt;
H A Dtcp_subr.c948 tcp_getrt_rtt(struct tcpcb *tp, struct rtentry *rt)
996 struct rtentry *rt;
1803 struct rtentry *rt;
2051 struct rtentry *rt;
2147 * hold the rtentry lock; the caller is responsible for unlocking.
2149 struct rtentry *
2155 struct rtentry *rt;
2243 struct rtentry *
2249 struct rtentry *rt;
2400 struct rtentry *r
[all...]
/xnu-2422.115.4/bsd/netinet6/
H A Din6_gif.h41 int in6_gif_output(struct ifnet *, int, struct mbuf *, struct rtentry *);
H A Dscope6_var.h82 extern void rtkey_to_sa6(struct rtentry *, struct sockaddr_in6 *);
83 extern void rtgw_to_sa6(struct rtentry *, struct sockaddr_in6 *);
H A Dtcp6_var.h111 struct rtentry *tcp_rtlookup6(struct inpcb *, unsigned int);
H A Din6_rmx.c161 struct rtentry *rt = (struct rtentry *)treenodes;
224 struct rtentry *rt2;
274 struct rtentry *rt2;
341 struct rtentry *rt = (struct rtentry *)rn;
366 struct rtentry *rt = (struct rtentry *)rn;
416 RT_LOCK_SPIN((struct rtentry *)rn);
418 RT_UNLOCK((struct rtentry *)r
[all...]
H A Dnd6.h79 struct rtentry *ln_rt;
573 struct rtentry *ndpr_rt;
797 extern struct rtentry *nd6_lookup(struct in6_addr *, int, struct ifnet *, int);
800 extern void nd6_free(struct rtentry *);
801 extern void nd6_nud_hint(struct rtentry *, struct in6_addr *, int);
802 extern int nd6_resolve(struct ifnet *, struct rtentry *,
804 extern void nd6_rtrequest(int, struct rtentry *, struct sockaddr *);
809 struct sockaddr_in6 *, struct rtentry *, struct flowadv *);
810 extern int nd6_storelladdr(struct ifnet *, struct rtentry *, struct mbuf *,
831 extern void nd6_llreach_alloc(struct rtentry *, struc
[all...]
H A Dscope6.c248 rtkey_to_sa6(struct rtentry *rt, struct sockaddr_in6 *sin6)
257 rtgw_to_sa6(struct rtentry *rt, struct sockaddr_in6 *sin6)
H A Din6_gif.c103 __unused struct rtentry *rt)
342 struct rtentry *rt;
H A Dnd6.c216 static void nd6_llinfo_purge(struct rtentry *);
217 static void nd6_llinfo_get_ri(struct rtentry *, struct rt_reach_info *);
218 static void nd6_llinfo_get_iflri(struct rtentry *, struct ifnet_llreach_info *);
347 nd6_llinfo_purge(struct rtentry *rt)
363 nd6_llinfo_get_ri(struct rtentry *rt, struct rt_reach_info *ri)
385 nd6_llinfo_get_iflri(struct rtentry *rt, struct ifnet_llreach_info *iflri)
419 struct rtentry *rt = ln->ln_rt;
790 struct rtentry *rt;
1033 struct rtentry *rt = ln->ln_rt;
1606 struct rtentry *r
[all...]
H A Dnd6_nbr.c170 nd6_llreach_alloc(struct rtentry *rt, struct ifnet *ifp, void *addr,
386 struct rtentry *rt;
856 struct rtentry *rt;
2310 struct rtentry *rt;
2359 struct rtentry *rt;
2380 (struct rtentry **)NULL);
/xnu-2422.115.4/bsd/net/
H A Droute.h135 struct rtentry *ro_rt;
179 struct rtentry { struct
196 (struct rtentry *, struct rt_reach_info *);
198 (struct rtentry *, struct ifnet_llreach_info *);
199 void (*rt_llinfo_purge)(struct rtentry *); /* llinfo purge fn */
203 struct rtentry *rt_gwroute; /* implied entry for gatewayed routes */
204 struct rtentry *rt_parent; /* cloning parent of this route */
294 int rtm_use; /* from rtentry */
309 int rtm_use; /* from rtentry */
342 u_int32_t rtm_use; /* from rtentry */
[all...]
H A Droute.c112 * resides (statically defined) in the rtentry structure.
131 * The fields of the rtentry structure are protected in the following way:
199 * decrements the reference count, rt_refcnt, atomically on the rtentry.
228 #define RTD_DEBUG 0x1 /* enable or disable rtentry debug facility */
232 #define RTE_NAME "rtentry" /* name for zone and rt_lock */
234 static struct zone *rte_zone; /* special zone for rtentry */
236 #define RTE_ZONE_NAME RTE_NAME /* name of rtentry zone */
246 * Debug variant of rtentry structure.
249 struct rtentry rtd_entry; /* rtentry */
[all...]
H A Dntstat.h353 struct rtentry;
372 void nstat_route_connect_attempt(struct rtentry *rte);
373 void nstat_route_connect_success(struct rtentry *rte);
374 void nstat_route_tx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags);
375 void nstat_route_rx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags);
376 void nstat_route_rtt(struct rtentry *rte, u_int32_t rtt, u_int32_t rtt_var);
377 void nstat_route_detach(struct rtentry *rte);
383 void nstat_route_new_entry(struct rtentry *rt);
H A Drtsock.c127 static void rt_setmetrics(u_int32_t, struct rt_metrics *, struct rtentry *);
128 static void rt_getmetrics(struct rtentry *, struct rt_metrics *);
129 static void rt_setif(struct rtentry *, struct sockaddr *, struct sockaddr *,
299 struct rtentry *rt = NULL;
300 struct rtentry *saved_nrt = NULL;
696 rt_setexpire(struct rtentry *rt, uint64_t expiry)
709 rt_setmetrics(u_int32_t which, struct rt_metrics *in, struct rtentry *out)
746 rt_getmetrics(struct rtentry *in, struct rt_metrics *out)
775 rt_setif(struct rtentry *rt, struct sockaddr *Ifpaddr, struct sockaddr *Ifaaddr,
780 void (*ifa_rtrequest)(int, struct rtentry *, struc
[all...]
H A Dntstat.c342 struct rtentry *rt = rt_lookup(TRUE, dst.sa, mask.sa, rnh, param->ifindex);
354 struct rtentry *rt = (struct rtentry*)cookie;
364 struct rtentry *rt = (struct rtentry*)cookie;
398 rtfree((struct rtentry*)cookie);
409 struct rtentry *rt = (struct rtentry *)rn;
467 struct rtentry *rt)
513 struct rtentry *r
[all...]
H A Dif_loop.c166 static void lo_rtrequest(int, struct rtentry *, struct sockaddr *);
428 struct rtentry *rt = route;
467 lo_rtrequest(int cmd, struct rtentry *rt, struct sockaddr *sa)
H A Dif_stf.c198 static void stf_rtrequest(int, struct rtentry *, struct sockaddr *);
686 struct rtentry *rt;
833 struct rtentry *rt,
H A Dif_var.h449 struct rtentry;
827 (int, struct rtentry *, struct sockaddr *);
1135 __private_extern__ struct rtentry *ifnet_cached_rtlookup_inet(struct ifnet *,
1138 __private_extern__ struct rtentry *ifnet_cached_rtlookup_inet6(struct ifnet *,
H A Dnetsrc.c133 struct rtentry *rt;
/xnu-2422.115.4/bsd/sys/
H A Dkernel_types.h125 typedef struct rtentry* route_t;

Completed in 82 milliseconds

123