Home
last modified time | relevance | path

Searched refs:rtentry (Results 1 – 25 of 63) sorted by relevance

123

/xnu-10002.81.5/bsd/net/
H A Droute_private.h110 struct rtentry *ro_rt;
159 struct rtentry { struct
176 (struct rtentry *, struct rt_reach_info *); argument
178 (struct rtentry *, struct ifnet_llreach_info *); argument
179 void (*rt_llinfo_purge)(struct rtentry *); /* llinfo purge fn */ argument
181 void (*rt_llinfo_refresh) (struct rtentry *); /* expedite llinfo refresh */ argument
184 struct rtentry *rt_gwroute; /* implied entry for gatewayed routes */ argument
185 struct rtentry *rt_parent; /* cloning parent of this route */ argument
397 extern void rt_newaddrmsg(u_char, struct ifaddr *, int, struct rtentry *);
399 extern int rt_setgate(struct rtentry *, struct sockaddr *, struct sockaddr *);
[all …]
H A Droute.c260 struct rtentry rtd_entry; /* rtentry */
261 struct rtentry rtd_entry_saved; /* saved rtentry */
291 static void rte_lock_init(struct rtentry *);
292 static void rte_lock_destroy(struct rtentry *);
293 static inline struct rtentry *rte_alloc_debug(void);
294 static inline void rte_free_debug(struct rtentry *);
302 static struct rtentry *rtalloc1_common_locked(struct sockaddr *, int, uint32_t,
305 struct sockaddr *, struct sockaddr *, int, struct rtentry **,
307 static struct rtentry *rtalloc1_locked(struct sockaddr *, int, uint32_t);
318 static struct rtentry *rt_lookup_common(boolean_t, boolean_t, struct sockaddr *,
[all …]
H A Dntstat.h1296 struct rtentry;
1313 void nstat_route_connect_attempt(struct rtentry *rte);
1314 void nstat_route_connect_success(struct rtentry *rte);
1315 void nstat_route_tx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags);
1316 void nstat_route_rx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags);
1317 void nstat_route_rtt(struct rtentry *rte, u_int32_t rtt, u_int32_t rtt_var);
1318 void nstat_route_update(struct rtentry *rte, uint32_t connect_attempts, uint32_t connect_successes,
1322 struct nstat_counts* nstat_route_attach(struct rtentry *rte);
1323 void nstat_route_detach(struct rtentry *rte);
1329 void nstat_route_new_entry(struct rtentry *rt);
H A Drtsock.c130 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 *,
308 struct rtentry *rt = NULL; in route_output()
309 struct rtentry *saved_nrt = NULL; in route_output()
813 rt_setexpire(struct rtentry *rt, uint64_t expiry) in rt_setexpire()
827 rt_setmetrics(u_int32_t which, struct rt_metrics *in, struct rtentry *out) in rt_setmetrics()
877 rt_getmetrics(struct rtentry *in, struct rt_metrics *out) in rt_getmetrics()
906 rt_setif(struct rtentry *rt, struct sockaddr *Ifpaddr, struct sockaddr *Ifaaddr, in rt_setif()
911 void (*ifa_rtrequest)(int, struct rtentry *, struct sockaddr *); in rt_setif()
[all …]
H A Dnetsrc.c110 netsrc_common(struct rtentry *rt, struct netsrc_rep *reply) in netsrc_common()
243 struct rtentry *rt = rt_lookup(TRUE, SA(&request->nrq_dst.sa), in netsrc_ipv4()
H A Dif_loop.c160 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 Dif_stf.c192 static void stf_rtrequest(int, struct rtentry *, struct sockaddr *);
682 struct rtentry *rt; in stf_checkaddr4()
829 struct rtentry *rt, in stf_rtrequest()
H A Dnecp.h1116 struct rtentry **returned_route, bool ignore_address,
1385 extern void necp_socket_update_qos_marking(struct inpcb *inp, struct rtentry *route, u_int32_t rout…
1386 extern bool necp_lookup_current_qos_marking(int32_t *qos_marking_gencount, struct rtentry *route, s…
1401 struct rtentry *rt,
1405 struct rtentry *rt,
H A Dntstat.c753 struct rtentry *rt = rt_lookup(TRUE, dst.sa, mask.sa, rnh, param->ifindex); in nstat_route_lookup()
767 struct rtentry *rt = (struct rtentry*)cookie; in nstat_route_gone()
777 struct rtentry *rt = (struct rtentry*)cookie; in nstat_route_counts()
814 rtfree((struct rtentry*)cookie); in nstat_route_release()
825 struct rtentry *rt = (struct rtentry *)rn; in nstat_route_walktree_add()
894 struct rtentry *rt) in nstat_route_new_entry()
938 struct rtentry *rt = (struct rtentry*)cookie; in nstat_route_copy_descriptor()
978 struct rtentry *rt = (struct rtentry*)cookie; in nstat_route_reporting_allowed()
997 struct rtentry *rt1 = (struct rtentry *)cookie1; in nstat_route_cookie_equal()
998 struct rtentry *rt2 = (struct rtentry *)cookie2; in nstat_route_cookie_equal()
[all …]
H A Dif_llreach.c407 struct rtentry *rt; in ifnet_llreach_get_defrouter()
428 struct rtentry *gwrt; in ifnet_llreach_get_defrouter()
/xnu-10002.81.5/bsd/netinet/
H A Din_rmx.c116 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 Dif_ether.h149 int arpresolve(struct ifnet *, struct rtentry *, struct mbuf *,
150 struct sockaddr *, u_char *, struct rtentry *);
H A Din_gif.h69 int in_gif_output(struct ifnet *, int, struct mbuf *, struct rtentry *);
H A Din_arp.c127 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 *,
377 arp_llinfo_purge(struct rtentry *rt) in arp_llinfo_purge()
393 arp_llinfo_get_ri(struct rtentry *rt, struct rt_reach_info *ri) in arp_llinfo_get_ri()
415 arp_llinfo_get_iflri(struct rtentry *rt, struct ifnet_llreach_info *iflri) in arp_llinfo_get_iflri()
437 arp_llinfo_refresh(struct rtentry *rt) in arp_llinfo_refresh()
[all …]
H A Din_gif.c99 __unused struct rtentry *rt) in in_gif_output()
404 struct rtentry *rt; in gif_encapcheck4()
/xnu-10002.81.5/bsd/netinet6/
H A Din6_rmx.c159 struct rtentry *rt = (struct rtentry *)treenodes; in in6_addroute()
231 struct rtentry *rt2; in in6_addroute()
282 struct rtentry *rt2; in in6_addroute()
351 struct rtentry *rt = (struct rtentry *)rn; in in6_deleteroute()
377 struct rtentry *rt = (struct rtentry *)rn; in in6_validate()
427 RT_LOCK_SPIN((struct rtentry *)rn); in in6_matroute_args()
429 RT_UNLOCK((struct rtentry *)rn); in in6_matroute_args()
460 struct rtentry *rt = (struct rtentry *)rn; in in6_clsroute()
566 struct rtentry *rt = (struct rtentry *)rn; in in6_rtqkill()
H A Dscope6_var.h87 extern void rtkey_to_sa6(struct rtentry *, struct sockaddr_in6 *);
88 extern void rtgw_to_sa6(struct rtentry *, struct sockaddr_in6 *);
H A Dnd6.h83 struct rtentry *ln_rt;
124 struct rtentry *ln_rt = (ln) != NULL ? (ln)->ln_rt : NULL; \
634 struct rtentry *ndpr_rt;
907 extern struct rtentry *nd6_lookup(struct in6_addr *, int, struct ifnet *, int);
910 extern void nd6_free(struct rtentry *);
911 extern void nd6_nud_hint(struct rtentry *, struct in6_addr *, int);
912 extern int nd6_resolve(struct ifnet *, struct rtentry *,
914 extern void nd6_rtrequest(int, struct rtentry *, struct sockaddr *);
919 struct sockaddr_in6 *, struct rtentry *, struct flowadv *);
921 struct sockaddr_in6 *, struct rtentry *, struct flowadv *);
[all …]
H A Din6_gif.h41 int in6_gif_output(struct ifnet *, int, struct mbuf *, struct rtentry *);
H A Dtcp6_var.h111 struct rtentry *tcp_rtlookup6(struct inpcb *, unsigned int);
H A Dnd6.c208 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 *);
340 nd6_llinfo_purge(struct rtentry *rt) in nd6_llinfo_purge()
356 nd6_llinfo_get_ri(struct rtentry *rt, struct rt_reach_info *ri) in nd6_llinfo_get_ri()
378 nd6_llinfo_get_iflri(struct rtentry *rt, struct ifnet_llreach_info *iflri) in nd6_llinfo_get_iflri()
400 nd6_llinfo_refresh(struct rtentry *rt) in nd6_llinfo_refresh()
473 struct rtentry *rt = ln->ln_rt; in ln_getexpire()
845 struct rtentry *rt; in nd6_service_neighbor_cache()
[all …]
H A Dscope6.c260 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 Din6_gif.c99 __unused struct rtentry *rt) in in6_gif_output()
360 struct rtentry *rt; in gif_validate6()
H A Din6_private.h152 struct rtentry *ro_rt;
/xnu-10002.81.5/bsd/sys/
H A Dkernel_types.h118 __CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct __rtentry, rtentry);
171 typedef struct rtentry* route_t;
183 __CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct rtentry, rtentry);

123