| /xnu-11417.121.6/bsd/net/ |
| H A D | route_private.h | 110 struct rtentry *ro_rt; 155 struct rtentry { struct 173 (struct rtentry *, struct rt_reach_info *); argument 175 (struct rtentry *, struct ifnet_llreach_info *); argument 176 void (*rt_llinfo_purge)(struct rtentry *); /* llinfo purge fn */ argument 178 void (*rt_llinfo_refresh) (struct rtentry *); /* expedite llinfo refresh */ argument 181 struct rtentry *rt_gwroute; /* implied entry for gatewayed routes */ argument 182 struct rtentry *rt_parent; /* cloning parent of this route */ argument 198 static inline struct rtentry * argument 202 return __container_of(rn, struct rtentry, rt_nodes[0]); in rn_rtentry() [all …]
|
| H A D | route.c | 266 struct rtentry rtd_entry; /* rtentry */ 267 struct rtentry rtd_entry_saved; /* saved rtentry */ 301 static void rte_lock_init(struct rtentry *); 302 static void rte_lock_destroy(struct rtentry *); 303 static inline struct rtentry *rte_alloc_debug(void); 304 static inline void rte_free_debug(struct rtentry *); 312 static struct rtentry *rtalloc1_common_locked(struct sockaddr *, int, uint32_t, 315 struct sockaddr *, struct sockaddr *, int, struct rtentry **, 317 static struct rtentry *rtalloc1_locked(struct sockaddr *, int, uint32_t); 328 static struct rtentry *rt_lookup_common(boolean_t, boolean_t, struct sockaddr *, [all …]
|
| H A D | ntstat.h | 1400 struct rtentry; 1417 void nstat_route_connect_attempt(struct rtentry *rte); 1418 void nstat_route_connect_success(struct rtentry *rte); 1419 void nstat_route_tx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags); 1420 void nstat_route_rx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags); 1421 void nstat_route_rtt(struct rtentry *rte, u_int32_t rtt, u_int32_t rtt_var); 1422 void nstat_route_update(struct rtentry *rte, uint32_t connect_attempts, uint32_t connect_successes, 1426 struct nstat_counts* nstat_route_attach(struct rtentry *rte); 1427 void nstat_route_detach(struct rtentry *rte); 1433 void nstat_route_new_entry(struct rtentry *rt);
|
| 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, SA(&request->nrq_dst.sa), in netsrc_ipv4()
|
| H A D | rtsock.c | 135 static int rt_setmetrics(u_int32_t, struct rt_metrics *, struct rtentry *); 136 static void rt_getmetrics(struct rtentry *, struct rt_metrics *); 137 static void rt_setif(struct rtentry *, struct sockaddr *, struct sockaddr *, 873 rt_setexpire(struct rtentry *rt, uint64_t expiry) in rt_setexpire() 887 rt_setmetrics(u_int32_t which, struct rt_metrics *in, struct rtentry *out) in rt_setmetrics() 937 rt_getmetrics(struct rtentry *in, struct rt_metrics *out) in rt_getmetrics() 966 rt_setif(struct rtentry *rt, struct sockaddr *Ifpaddr, struct sockaddr *Ifaaddr, in rt_setif() 971 void (*ifa_rtrequest)(int, struct rtentry *, struct sockaddr *); in rt_setif() 1573 rt_newaddrmsg(u_char cmd, struct ifaddr *ifa, int error, struct rtentry *rt) in rt_newaddrmsg()
|
| H A D | necp.h | 1173 struct rtentry **returned_route, bool ignore_address, 1468 extern void necp_socket_update_qos_marking(struct inpcb *inp, struct rtentry *route, u_int32_t rout… 1469 extern bool necp_lookup_current_qos_marking(int32_t *qos_marking_gencount, struct rtentry *route, s… 1484 struct rtentry *rt, 1488 struct rtentry *rt,
|
| H A D | ntstat.c | 1023 struct rtentry *rt = rt_lookup(TRUE, dst, mask, rnh, param->ifindex); in nstat_route_lookup() 1037 struct rtentry *rt = (struct rtentry*)cookie; in nstat_route_gone() 1047 struct rtentry *rt = (struct rtentry*)cookie; in nstat_route_counts() 1084 rtfree((struct rtentry*)cookie); in nstat_route_release() 1095 struct rtentry *rt = (struct rtentry *)rn; in nstat_route_walktree_add() 1164 struct rtentry *rt) in nstat_route_new_entry() 1208 struct rtentry *rt = (struct rtentry*)cookie; in nstat_route_copy_descriptor() 1248 struct rtentry *rt = (struct rtentry*)cookie; in nstat_route_reporting_allowed() 1267 struct rtentry *rt1 = (struct rtentry *)cookie1; in nstat_route_cookie_equal() 1268 struct rtentry *rt2 = (struct rtentry *)cookie2; in nstat_route_cookie_equal() [all …]
|
| H A D | if_llreach.c | 409 struct rtentry *rt; in ifnet_llreach_get_defrouter() 430 struct rtentry *gwrt; in ifnet_llreach_get_defrouter()
|
| H A D | if_loop.c | 161 static void lo_rtrequest(int, struct rtentry *, struct sockaddr *); 494 lo_rtrequest(int cmd, struct rtentry *rt, struct sockaddr *sa) in lo_rtrequest()
|
| /xnu-11417.121.6/bsd/sys/ |
| H A D | kernel_types.h | 118 __CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct __rtentry, rtentry); 171 typedef struct rtentry* route_t; 183 __CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct rtentry, rtentry);
|
| /xnu-11417.121.6/bsd/netinet6/ |
| 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 | nd6.h | 83 struct rtentry *ln_rt; 124 struct rtentry *ln_rt = (ln) != NULL ? (ln)->ln_rt : NULL; \ 551 struct rtentry *ndpr_rt; 846 extern struct rtentry *nd6_lookup(struct in6_addr *, int, struct ifnet *, int); 849 extern void nd6_free(struct rtentry *); 850 extern void nd6_nud_hint(struct rtentry *, struct in6_addr *, int); 851 extern int nd6_resolve(struct ifnet *, struct rtentry *, 853 extern void nd6_rtrequest(int, struct rtentry *, struct sockaddr *); 859 struct sockaddr_in6 *, struct rtentry *, struct flowadv *); 861 struct sockaddr_in6 *, struct rtentry *, struct flowadv *); [all …]
|
| 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 | 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 | 101 __unused struct rtentry *rt) in in6_gif_output() 360 struct rtentry *rt; in gif_validate6()
|
| H A D | in6_private.h | 152 struct rtentry *ro_rt;
|
| 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 *); 338 nd6_llinfo_purge(struct rtentry *rt) in nd6_llinfo_purge() 354 nd6_llinfo_get_ri(struct rtentry *rt, struct rt_reach_info *ri) in nd6_llinfo_get_ri() 376 nd6_llinfo_get_iflri(struct rtentry *rt, struct ifnet_llreach_info *iflri) in nd6_llinfo_get_iflri() 398 nd6_llinfo_refresh(struct rtentry *rt) in nd6_llinfo_refresh() 2326 struct rtentry * 2609 nd6_free(struct rtentry *rt) in nd6_free() [all …]
|
| H A D | in6_src.c | 168 struct route_in6 *, struct ifnet **, struct rtentry **, int, int, 326 struct rtentry *__single rt = ro->ro_rt; in in6_selectsrc_core() 934 struct ifnet **retifp, struct rtentry **retrt, int clone, in selectroute() 988 struct rtentry *__single temp_rt = NULL; in selectroute() 1530 struct rtentry *__single rt = NULL; in in6_selectif() 1604 struct rtentry **retrt, int clone, struct ip6_out_args *ip6oa) in in6_selectroute()
|
| /xnu-11417.121.6/bsd/netinet/ |
| 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 *, 364 arp_llinfo_purge(struct rtentry *rt) in arp_llinfo_purge() 380 arp_llinfo_get_ri(struct rtentry *rt, struct rt_reach_info *ri) in arp_llinfo_get_ri() 402 arp_llinfo_get_iflri(struct rtentry *rt, struct ifnet_llreach_info *iflri) in arp_llinfo_get_iflri() 424 arp_llinfo_refresh(struct rtentry *rt) in arp_llinfo_refresh() [all …]
|
| H A D | in_gif.c | 101 __unused struct rtentry *rt) in in_gif_output() 403 struct rtentry *rt; in gif_encapcheck4()
|
| H A D | icmp6.h | 765 struct rtentry; 781 void icmp6_redirect_output(struct mbuf *, struct rtentry *);
|
| /xnu-11417.121.6/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_var.h | 473 struct rtentry *fr_rt_dst; 474 struct rtentry *fr_rt_gw; 1042 union sockaddr_in_4_6 *, struct ifnet *, struct rtentry *, uint32_t *, int);
|