Home
last modified time | relevance | path

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

123

/xnu-10063.101.15/bsd/net/
H A Droute_private.h112 struct rtentry *ro_rt;
157 struct rtentry { struct
174 (struct rtentry *, struct rt_reach_info *); argument
176 (struct rtentry *, struct ifnet_llreach_info *); argument
177 void (*rt_llinfo_purge)(struct rtentry *); /* llinfo purge fn */ argument
179 void (*rt_llinfo_refresh) (struct rtentry *); /* expedite llinfo refresh */ argument
182 struct rtentry *rt_gwroute; /* implied entry for gatewayed routes */ argument
183 struct rtentry *rt_parent; /* cloning parent of this route */ argument
199 __CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct rtentry, rtentry); argument
397 extern void rt_newaddrmsg(u_char, struct ifaddr *, int, struct rtentry *);
[all …]
H A Droute.c264 struct rtentry rtd_entry; /* rtentry */
265 struct rtentry rtd_entry_saved; /* saved rtentry */
296 static void rte_lock_init(struct rtentry *);
297 static void rte_lock_destroy(struct rtentry *);
298 static inline struct rtentry *rte_alloc_debug(void);
299 static inline void rte_free_debug(struct rtentry *);
307 static struct rtentry *rtalloc1_common_locked(struct sockaddr *, int, uint32_t,
310 struct sockaddr *, struct sockaddr *, int, struct rtentry **,
312 static struct rtentry *rtalloc1_locked(struct sockaddr *, int, uint32_t);
323 static struct rtentry *rt_lookup_common(boolean_t, boolean_t, struct sockaddr *,
[all …]
H A Dntstat.h1280 struct rtentry;
1297 void nstat_route_connect_attempt(struct rtentry *rte);
1298 void nstat_route_connect_success(struct rtentry *rte);
1299 void nstat_route_tx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags);
1300 void nstat_route_rx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags);
1301 void nstat_route_rtt(struct rtentry *rte, u_int32_t rtt, u_int32_t rtt_var);
1302 void nstat_route_update(struct rtentry *rte, uint32_t connect_attempts, uint32_t connect_successes,
1306 struct nstat_counts* nstat_route_attach(struct rtentry *rte);
1307 void nstat_route_detach(struct rtentry *rte);
1313 void nstat_route_new_entry(struct rtentry *rt);
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.c194 static void stf_rtrequest(int, struct rtentry *, struct sockaddr *);
684 struct rtentry *rt; in stf_checkaddr4()
834 struct rtentry *rt, in stf_rtrequest()
H A Drtsock.c132 static int rt_setmetrics(u_int32_t, struct rt_metrics *, struct rtentry *);
133 static void rt_getmetrics(struct rtentry *, struct rt_metrics *);
134 static void rt_setif(struct rtentry *, struct sockaddr *, struct sockaddr *,
819 rt_setexpire(struct rtentry *rt, uint64_t expiry) in rt_setexpire()
833 rt_setmetrics(u_int32_t which, struct rt_metrics *in, struct rtentry *out) in rt_setmetrics()
883 rt_getmetrics(struct rtentry *in, struct rt_metrics *out) in rt_getmetrics()
912 rt_setif(struct rtentry *rt, struct sockaddr *Ifpaddr, struct sockaddr *Ifaaddr, in rt_setif()
917 void (*ifa_rtrequest)(int, struct rtentry *, struct sockaddr *); in rt_setif()
1420 rt_newaddrmsg(u_char cmd, struct ifaddr *ifa, int error, struct rtentry *rt) in rt_newaddrmsg()
H A Dnecp.h1138 struct rtentry **returned_route, bool ignore_address,
1414 extern void necp_socket_update_qos_marking(struct inpcb *inp, struct rtentry *route, u_int32_t rout…
1415 extern bool necp_lookup_current_qos_marking(int32_t *qos_marking_gencount, struct rtentry *route, s…
1430 struct rtentry *rt,
1434 struct rtentry *rt,
H A Dntstat.c726 struct rtentry *rt = rt_lookup(TRUE, dst, mask, rnh, param->ifindex); in nstat_route_lookup()
740 struct rtentry *rt = (struct rtentry*)cookie; in nstat_route_gone()
750 struct rtentry *rt = (struct rtentry*)cookie; in nstat_route_counts()
787 rtfree((struct rtentry*)cookie); in nstat_route_release()
798 struct rtentry *rt = (struct rtentry *)rn; in nstat_route_walktree_add()
867 struct rtentry *rt) in nstat_route_new_entry()
911 struct rtentry *rt = (struct rtentry*)cookie; in nstat_route_copy_descriptor()
951 struct rtentry *rt = (struct rtentry*)cookie; in nstat_route_reporting_allowed()
970 struct rtentry *rt1 = (struct rtentry *)cookie1; in nstat_route_cookie_equal()
971 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-10063.101.15/bsd/netinet/
H A Din_rmx.c118 struct rtentry *rt = (struct rtentry *)treenodes; in in_addroute()
186 struct rtentry *rt2; in in_addroute()
275 struct rtentry *rt = (struct rtentry *)rn; in in_deleteroute()
293 struct rtentry *rt = (struct rtentry *)rn; in in_validate()
343 RT_LOCK_SPIN((struct rtentry *)rn); in in_matroute_args()
345 RT_UNLOCK((struct rtentry *)rn); in in_matroute_args()
377 struct rtentry *rt = (struct rtentry *)rn; in in_clsroute()
478 struct rtentry *rt = (struct rtentry *)rn; in in_rtqkill()
735 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.c129 struct rtentry *la_rt;
165 static void arp_llinfo_purge(struct rtentry *);
166 static void arp_llinfo_get_ri(struct rtentry *, struct rt_reach_info *);
167 static void arp_llinfo_get_iflri(struct rtentry *, struct ifnet_llreach_info *);
168 static void arp_llinfo_refresh(struct rtentry *);
172 static void arp_llreach_alloc(struct rtentry *, struct ifnet *, void *,
379 arp_llinfo_purge(struct rtentry *rt) in arp_llinfo_purge()
395 arp_llinfo_get_ri(struct rtentry *rt, struct rt_reach_info *ri) in arp_llinfo_get_ri()
417 arp_llinfo_get_iflri(struct rtentry *rt, struct ifnet_llreach_info *iflri) in arp_llinfo_get_iflri()
439 arp_llinfo_refresh(struct rtentry *rt) in arp_llinfo_refresh()
[all …]
H A Din_gif.c101 __unused struct rtentry *rt) in in_gif_output()
403 struct rtentry *rt; in gif_encapcheck4()
/xnu-10063.101.15/bsd/netinet6/
H A Din6_rmx.c161 struct rtentry *rt = (struct rtentry *)treenodes; in in6_addroute()
233 struct rtentry *rt2; in in6_addroute()
284 struct rtentry *rt2; in in6_addroute()
353 struct rtentry *rt = (struct rtentry *)rn; in in6_deleteroute()
379 struct rtentry *rt = (struct rtentry *)rn; in in6_validate()
429 RT_LOCK_SPIN((struct rtentry *)rn); in in6_matroute_args()
431 RT_UNLOCK((struct rtentry *)rn); in in6_matroute_args()
462 struct rtentry *rt = (struct rtentry *)rn; in in6_clsroute()
568 struct rtentry *rt = (struct rtentry *)rn; in in6_rtqkill()
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 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 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.c210 static void nd6_llinfo_purge(struct rtentry *);
211 static void nd6_llinfo_get_ri(struct rtentry *, struct rt_reach_info *);
212 static void nd6_llinfo_get_iflri(struct rtentry *, struct ifnet_llreach_info *);
213 static void nd6_llinfo_refresh(struct rtentry *);
342 nd6_llinfo_purge(struct rtentry *rt) in nd6_llinfo_purge()
358 nd6_llinfo_get_ri(struct rtentry *rt, struct rt_reach_info *ri) in nd6_llinfo_get_ri()
380 nd6_llinfo_get_iflri(struct rtentry *rt, struct ifnet_llreach_info *iflri) in nd6_llinfo_get_iflri()
402 nd6_llinfo_refresh(struct rtentry *rt) in nd6_llinfo_refresh()
475 struct rtentry *rt = ln->ln_rt; in ln_getexpire()
847 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.c101 __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-10063.101.15/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