| /xnu-8019.80.24/bsd/net/ |
| H A D | route.h | 135 struct rtentry *ro_rt; 198 struct rtentry { struct 215 (struct rtentry *, struct rt_reach_info *); argument 217 (struct rtentry *, struct ifnet_llreach_info *); argument 218 void (*rt_llinfo_purge)(struct rtentry *); /* llinfo purge fn */ argument 220 void (*rt_llinfo_refresh) (struct rtentry *); /* expedite llinfo refresh */ argument 223 struct rtentry *rt_gwroute; /* implied entry for gatewayed routes */ argument 224 struct rtentry *rt_parent; /* cloning parent of this route */ argument 592 extern void rt_newaddrmsg(u_char, struct ifaddr *, int, struct rtentry *); 594 extern int rt_setgate(struct rtentry *, struct sockaddr *, struct sockaddr *); [all …]
|
| H A D | route.c | 263 struct rtentry rtd_entry; /* rtentry */ 264 struct rtentry rtd_entry_saved; /* saved rtentry */ 294 static void rte_lock_init(struct rtentry *); 295 static void rte_lock_destroy(struct rtentry *); 296 static inline struct rtentry *rte_alloc_debug(void); 297 static inline void rte_free_debug(struct rtentry *); 305 static struct rtentry *rtalloc1_common_locked(struct sockaddr *, int, uint32_t, 308 struct sockaddr *, struct sockaddr *, int, struct rtentry **, 310 static struct rtentry *rtalloc1_locked(struct sockaddr *, int, uint32_t); 321 static struct rtentry *rt_lookup_common(boolean_t, boolean_t, struct sockaddr *, [all …]
|
| H A D | ntstat.h | 1282 struct rtentry; 1299 void nstat_route_connect_attempt(struct rtentry *rte); 1300 void nstat_route_connect_success(struct rtentry *rte); 1301 void nstat_route_tx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags); 1302 void nstat_route_rx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags); 1303 void nstat_route_rtt(struct rtentry *rte, u_int32_t rtt, u_int32_t rtt_var); 1304 void nstat_route_update(struct rtentry *rte, uint32_t connect_attempts, uint32_t connect_successes, 1308 struct nstat_counts* nstat_route_attach(struct rtentry *rte); 1309 void nstat_route_detach(struct rtentry *rte); 1315 void nstat_route_new_entry(struct rtentry *rt);
|
| H A D | rtsock.c | 130 static int rt_setmetrics(u_int32_t, struct rt_metrics *, struct rtentry *); 131 static void rt_getmetrics(struct rtentry *, struct rt_metrics *); 132 static void rt_setif(struct rtentry *, struct sockaddr *, struct sockaddr *, 311 struct rtentry *rt = NULL; in route_output() 312 struct rtentry *saved_nrt = NULL; in route_output() 796 rt_setexpire(struct rtentry *rt, uint64_t expiry) in rt_setexpire() 810 rt_setmetrics(u_int32_t which, struct rt_metrics *in, struct rtentry *out) in rt_setmetrics() 860 rt_getmetrics(struct rtentry *in, struct rt_metrics *out) in rt_getmetrics() 889 rt_setif(struct rtentry *rt, struct sockaddr *Ifpaddr, struct sockaddr *Ifaaddr, in rt_setif() 894 void (*ifa_rtrequest)(int, struct rtentry *, struct sockaddr *); in rt_setif() [all …]
|
| H A D | netsrc.c | 110 netsrc_common(struct rtentry *rt, struct netsrc_rep *reply) in netsrc_common() 243 struct rtentry *rt = rt_lookup(TRUE, &request->nrq_dst.sa, in netsrc_ipv4()
|
| H A D | if_loop.c | 160 static void lo_rtrequest(int, struct rtentry *, struct sockaddr *); 436 struct rtentry *rt = route; in lo_pre_output() 492 lo_rtrequest(int cmd, struct rtentry *rt, struct sockaddr *sa) in lo_rtrequest()
|
| H A D | necp.h | 983 struct rtentry **returned_route, bool ignore_address, 1249 extern void necp_socket_update_qos_marking(struct inpcb *inp, struct rtentry *route, u_int32_t rout… 1250 extern bool necp_lookup_current_qos_marking(int32_t *qos_marking_gencount, struct rtentry *route, s… 1265 struct rtentry *rt, 1269 struct rtentry *rt,
|
| H A D | if_stf.c | 192 static void stf_rtrequest(int, struct rtentry *, struct sockaddr *); 687 struct rtentry *rt; in stf_checkaddr4() 834 struct rtentry *rt, in stf_rtrequest()
|
| H A D | if_llreach.c | 408 struct rtentry *rt; in ifnet_llreach_get_defrouter() 429 struct rtentry *gwrt; in ifnet_llreach_get_defrouter()
|
| /xnu-8019.80.24/bsd/netinet/ |
| H A D | in_rmx.c | 116 struct rtentry *rt = (struct rtentry *)treenodes; in in_addroute() 184 struct rtentry *rt2; in in_addroute() 273 struct rtentry *rt = (struct rtentry *)rn; in in_deleteroute() 291 struct rtentry *rt = (struct rtentry *)rn; in in_validate() 341 RT_LOCK_SPIN((struct rtentry *)rn); in in_matroute_args() 343 RT_UNLOCK((struct rtentry *)rn); in in_matroute_args() 375 struct rtentry *rt = (struct rtentry *)rn; in in_clsroute() 479 struct rtentry *rt = (struct rtentry *)rn; in in_rtqkill() 736 struct rtentry *rt = (struct rtentry *)rn; in in_ifadownkill()
|
| 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_gif.h | 69 int in_gif_output(struct ifnet *, int, struct mbuf *, struct rtentry *);
|
| H A D | in_arp.c | 127 struct rtentry *la_rt; 163 static void arp_llinfo_purge(struct rtentry *); 164 static void arp_llinfo_get_ri(struct rtentry *, struct rt_reach_info *); 165 static void arp_llinfo_get_iflri(struct rtentry *, struct ifnet_llreach_info *); 166 static void arp_llinfo_refresh(struct rtentry *); 170 static void arp_llreach_alloc(struct rtentry *, struct ifnet *, void *, 378 arp_llinfo_purge(struct rtentry *rt) in arp_llinfo_purge() 394 arp_llinfo_get_ri(struct rtentry *rt, struct rt_reach_info *ri) in arp_llinfo_get_ri() 416 arp_llinfo_get_iflri(struct rtentry *rt, struct ifnet_llreach_info *iflri) in arp_llinfo_get_iflri() 438 arp_llinfo_refresh(struct rtentry *rt) in arp_llinfo_refresh() [all …]
|
| H A D | in_gif.c | 99 __unused struct rtentry *rt) in in_gif_output() 404 struct rtentry *rt; in gif_encapcheck4()
|
| H A D | icmp6.h | 754 struct rtentry; 770 void icmp6_redirect_output(struct mbuf *, struct rtentry *);
|
| /xnu-8019.80.24/bsd/netinet6/ |
| H A D | in6_rmx.c | 159 struct rtentry *rt = (struct rtentry *)treenodes; in in6_addroute() 227 struct rtentry *rt2; in in6_addroute() 278 struct rtentry *rt2; in in6_addroute() 347 struct rtentry *rt = (struct rtentry *)rn; in in6_deleteroute() 373 struct rtentry *rt = (struct rtentry *)rn; in in6_validate() 423 RT_LOCK_SPIN((struct rtentry *)rn); in in6_matroute_args() 425 RT_UNLOCK((struct rtentry *)rn); in in6_matroute_args() 456 struct rtentry *rt = (struct rtentry *)rn; in in6_clsroute() 562 struct rtentry *rt = (struct rtentry *)rn; in in6_rtqkill()
|
| H A D | nd6.h | 82 struct rtentry *ln_rt; 122 struct rtentry *ln_rt = ln != NULL ? (ln)->ln_rt : NULL; \ 623 struct rtentry *ndpr_rt; 895 extern struct rtentry *nd6_lookup(struct in6_addr *, int, struct ifnet *, int); 898 extern void nd6_free(struct rtentry *); 899 extern void nd6_nud_hint(struct rtentry *, struct in6_addr *, int); 900 extern int nd6_resolve(struct ifnet *, struct rtentry *, 902 extern void nd6_rtrequest(int, struct rtentry *, struct sockaddr *); 907 struct sockaddr_in6 *, struct rtentry *, struct flowadv *); 909 struct sockaddr_in6 *, struct rtentry *, struct flowadv *); [all …]
|
| H A D | scope6_var.h | 87 extern void rtkey_to_sa6(struct rtentry *, struct sockaddr_in6 *); 88 extern void rtgw_to_sa6(struct rtentry *, struct sockaddr_in6 *);
|
| H A D | in6_gif.h | 41 int in6_gif_output(struct ifnet *, int, struct mbuf *, struct rtentry *);
|
| H A D | tcp6_var.h | 111 struct rtentry *tcp_rtlookup6(struct inpcb *, unsigned int);
|
| H A D | nd6.c | 208 static void nd6_llinfo_purge(struct rtentry *); 209 static void nd6_llinfo_get_ri(struct rtentry *, struct rt_reach_info *); 210 static void nd6_llinfo_get_iflri(struct rtentry *, struct ifnet_llreach_info *); 211 static void nd6_llinfo_refresh(struct rtentry *); 341 nd6_llinfo_purge(struct rtentry *rt) in nd6_llinfo_purge() 357 nd6_llinfo_get_ri(struct rtentry *rt, struct rt_reach_info *ri) in nd6_llinfo_get_ri() 379 nd6_llinfo_get_iflri(struct rtentry *rt, struct ifnet_llreach_info *iflri) in nd6_llinfo_get_iflri() 401 nd6_llinfo_refresh(struct rtentry *rt) in nd6_llinfo_refresh() 471 struct rtentry *rt = ln->ln_rt; in ln_getexpire() 843 struct rtentry *rt; in nd6_service_neighbor_cache() [all …]
|
| H A D | scope6.c | 260 rtkey_to_sa6(struct rtentry *rt, struct sockaddr_in6 *sin6) in rtkey_to_sa6() 271 rtgw_to_sa6(struct rtentry *rt, struct sockaddr_in6 *sin6) in rtgw_to_sa6()
|
| H A D | in6_gif.c | 99 __unused struct rtentry *rt) in in6_gif_output() 360 struct rtentry *rt; in gif_validate6()
|
| H A D | nd6_rtr.c | 104 static void nd6_rtmsg(u_char, struct rtentry *); 877 nd6_rtmsg(u_char cmd, struct rtentry *rt) in nd6_rtmsg() 903 struct rtentry *newrt = NULL; in defrouter_addreq() 1066 struct rtentry *oldrt = NULL; in defrouter_delreq() 1508 struct rtentry *rt = NULL; in defrouter_select() 3052 struct rtentry *rt; in find_pfxlist_reachable_router() 3594 struct rtentry *rt = NULL; in nd6_prefix_onlink_common() 3705 struct rtentry *temp_route = NULL; in nd6_prefix_onlink_common() 3838 struct rtentry *rt = NULL, *ndpr_rt = NULL; in nd6_prefix_offlink() 4374 struct rtentry *rt = (struct rtentry *)rn; in rt6_deleteroute()
|
| /xnu-8019.80.24/bsd/sys/ |
| H A D | kernel_types.h | 133 typedef struct rtentry* route_t;
|