/darwin-on-arm/xnu/bsd/net/ |
H A D | route.h | 84 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 D | route.c | 105 * 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 D | ntstat.h | 304 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 D | if_pppvar.h | 142 struct sockaddr *dst, struct rtentry *rtp);
|
H A D | ntstat.c | 330 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 D | rtsock.c | 115 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 D | if_loop.c | 172 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 D | if_stf.c | 197 static void stf_rtrequest(int, struct rtentry *, struct sockaddr *); 688 struct rtentry *rt; 835 struct rtentry *rt,
|
H A D | if_var.h | 431 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 D | netsrc.c | 133 struct rtentry *rt;
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_gif.h | 70 int in_gif_output(struct ifnet *, int, struct mbuf *, struct rtentry *);
|
H A D | if_ether.h | 149 int arpresolve(struct ifnet *, struct rtentry *, struct mbuf *, 150 struct sockaddr *, u_char *, struct rtentry *);
|
H A D | in_rmx.c | 108 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 D | in_arp.h | 73 extern void arp_validate(struct rtentry *);
|
H A D | in_arp.c | 129 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 D | in_gif.c | 105 __unused struct rtentry *rt) 388 struct rtentry *rt;
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6_gif.h | 41 int in6_gif_output(struct ifnet *, int, struct mbuf *, struct rtentry *);
|
H A D | scope6_var.h | 88 extern void rtkey_to_sa6(struct rtentry *, struct sockaddr_in6 *); 89 extern void rtgw_to_sa6(struct rtentry *, struct sockaddr_in6 *);
|
H A D | tcp6_var.h | 111 struct rtentry *tcp_rtlookup6(struct inpcb *, unsigned int);
|
H A D | in6_rmx.c | 156 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 D | nd6.h | 83 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 D | nd6.c | 202 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 D | in6_gif.c | 114 __unused struct rtentry *rt) 351 struct rtentry *rt;
|
H A D | scope6.c | 364 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 D | kernel_types.h | 126 typedef struct rtentry* route_t;
|