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

123

/darwin-on-arm/xnu/bsd/net/
H A Droute.h84 struct rtentry;
91 struct rtentry *ro_rt;
164 struct rtentry { struct
176 (struct rtentry *, struct rt_reach_info *);
178 (struct rtentry *, struct ifnet_llreach_info *);
179 void (*rt_llinfo_purge)(struct rtentry *); /* llinfo purge fn */
182 struct rtentry *rt_gwroute; /* implied entry for gatewayed routes */
183 struct rtentry *rt_parent; /* cloning parent of this route */
197 extern void rt_setexpire(struct rtentry *, uint64_t);
259 int rtm_use; /* from rtentry */
[all...]
H A Droute.c105 * resides (statically defined) in the rtentry structure.
124 * The fields of the rtentry structure are protected in the following way:
192 * decrements the reference count, rt_refcnt, atomically on the rtentry.
223 #define RTD_DEBUG 0x1 /* enable or disable rtentry debug facility */
227 #define RTE_NAME "rtentry" /* name for zone and rt_lock */
229 static struct zone *rte_zone; /* special zone for rtentry */
231 #define RTE_ZONE_NAME RTE_NAME /* name of rtentry zone */
241 * Debug variant of rtentry structure.
244 struct rtentry rtd_entry; /* rtentry */
[all...]
H A Dntstat.h304 struct rtentry;
323 void nstat_route_connect_attempt(struct rtentry *rte);
324 void nstat_route_connect_success(struct rtentry *rte);
325 void nstat_route_tx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags);
326 void nstat_route_rx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags);
327 void nstat_route_rtt(struct rtentry *rte, u_int32_t rtt, u_int32_t rtt_var);
328 void nstat_route_detach(struct rtentry *rte);
334 void nstat_route_new_entry(struct rtentry *rt);
H A Dif_pppvar.h142 struct sockaddr *dst, struct rtentry *rtp);
H A Dntstat.c330 struct rtentry *rt = rt_lookup(TRUE, dst.sa, mask.sa, rnh, param->ifindex);
342 struct rtentry *rt = (struct rtentry*)cookie;
352 struct rtentry *rt = (struct rtentry*)cookie;
385 rtfree((struct rtentry*)cookie);
396 struct rtentry *rt = (struct rtentry *)rn;
454 struct rtentry *rt)
500 struct rtentry *r
[all...]
H A Drtsock.c115 static void rt_setmetrics(u_int32_t, struct rt_metrics *, struct rtentry *);
116 static void rt_getmetrics(struct rtentry *, struct rt_metrics *);
117 static void rt_setif(struct rtentry *, struct sockaddr *, struct sockaddr *,
322 struct rtentry *rt = NULL;
323 struct rtentry *saved_nrt = NULL;
743 rt_setexpire(struct rtentry *rt, uint64_t expiry)
755 rt_setmetrics(u_int32_t which, struct rt_metrics *in, struct rtentry *out)
795 rt_getmetrics(struct rtentry *in, struct rt_metrics *out)
825 rt_setif(struct rtentry *rt, struct sockaddr *Ifpaddr, struct sockaddr *Ifaaddr,
831 (int, struct rtentry *, struc
[all...]
H A Dif_loop.c172 static void lo_rtrequest(int, struct rtentry *, struct sockaddr *);
439 struct rtentry *rt = route;
479 lo_rtrequest(int cmd, struct rtentry *rt, struct sockaddr *sa)
H A Dif_stf.c197 static void stf_rtrequest(int, struct rtentry *, struct sockaddr *);
688 struct rtentry *rt;
835 struct rtentry *rt,
H A Dif_var.h431 struct rtentry;
753 (int, struct rtentry *, struct sockaddr *);
1016 __private_extern__ struct rtentry *ifnet_cached_rtlookup_inet(struct ifnet *,
1019 __private_extern__ struct rtentry *ifnet_cached_rtlookup_inet6(struct ifnet *,
H A Dnetsrc.c133 struct rtentry *rt;
/darwin-on-arm/xnu/bsd/netinet/
H A Din_gif.h70 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.c108 struct rtentry *rt = (struct rtentry *)treenodes;
161 struct rtentry *rt2;
202 struct rtentry *rt = (struct rtentry *)rn;
244 RT_LOCK_SPIN((struct rtentry *)rn);
246 RT_UNLOCK((struct rtentry *)rn);
297 struct rtentry *rt = (struct rtentry *)rn;
363 struct rtentry *r
[all...]
H A Din_arp.h73 extern void arp_validate(struct rtentry *);
H A Din_arp.c129 struct rtentry *la_rt;
207 static void arp_llinfo_purge(struct rtentry *);
208 static void arp_llinfo_get_ri(struct rtentry *, struct rt_reach_info *);
209 static void arp_llinfo_get_iflri(struct rtentry *, struct ifnet_llreach_info *);
213 static void arp_llreach_alloc(struct rtentry *, struct ifnet *, void *,
280 arp_llinfo_purge(struct rtentry *rt)
296 arp_llinfo_get_ri(struct rtentry *rt, struct rt_reach_info *ri)
318 arp_llinfo_get_iflri(struct rtentry *rt, struct ifnet_llreach_info *iflri)
424 arp_llreach_alloc(struct rtentry *rt, struct ifnet *ifp, void *addr,
491 struct rtentry *r
[all...]
H A Din_gif.c105 __unused struct rtentry *rt)
388 struct rtentry *rt;
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_gif.h41 int in6_gif_output(struct ifnet *, int, struct mbuf *, struct rtentry *);
H A Dscope6_var.h88 extern void rtkey_to_sa6(struct rtentry *, struct sockaddr_in6 *);
89 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.c156 struct rtentry *rt = (struct rtentry *)treenodes;
215 struct rtentry *rt2;
247 struct rtentry *rt2;
291 struct rtentry *rt = (struct rtentry *)rn;
307 struct rtentry *rt = (struct rtentry *)rn;
340 RT_LOCK_SPIN((struct rtentry *)rn);
342 RT_UNLOCK((struct rtentry *)r
[all...]
H A Dnd6.h83 struct rtentry *ln_rt;
562 struct rtentry *ndpr_rt;
779 extern struct rtentry *nd6_lookup(struct in6_addr *, int, struct ifnet *, int);
783 extern void nd6_free(struct rtentry *);
784 extern void nd6_nud_hint(struct rtentry *, struct in6_addr *, int);
785 extern int nd6_resolve(struct ifnet *, struct rtentry *,
787 extern void nd6_rtrequest(int, struct rtentry *, struct sockaddr *);
792 struct sockaddr_in6 *, struct rtentry *, struct flowadv *);
793 extern int nd6_storelladdr(struct ifnet *, struct rtentry *, struct mbuf *,
812 extern void nd6_llreach_alloc(struct rtentry *, struc
[all...]
H A Dnd6.c202 static void nd6_llinfo_purge(struct rtentry *);
203 static void nd6_llinfo_get_ri(struct rtentry *, struct rt_reach_info *);
204 static void nd6_llinfo_get_iflri(struct rtentry *, struct ifnet_llreach_info *);
309 nd6_llinfo_purge(struct rtentry *rt)
325 nd6_llinfo_get_ri(struct rtentry *rt, struct rt_reach_info *ri)
347 nd6_llinfo_get_iflri(struct rtentry *rt, struct ifnet_llreach_info *iflri)
667 struct rtentry *rt;
849 struct rtentry *rt = ln->ln_rt;
1295 struct rtentry *rt;
1333 struct rtentry *
[all...]
H A Din6_gif.c114 __unused struct rtentry *rt)
351 struct rtentry *rt;
H A Dscope6.c364 rtkey_to_sa6(struct rtentry *rt, struct sockaddr_in6 *sin6)
373 rtgw_to_sa6(struct rtentry *rt, struct sockaddr_in6 *sin6)
/darwin-on-arm/xnu/bsd/sys/
H A Dkernel_types.h126 typedef struct rtentry* route_t;

Completed in 143 milliseconds

123