/src/usr.sbin/mrouted/ |
route.h | 27 struct rtentry { struct 28 struct rtentry *rt_next; /* link to next entry MUST BE FIRST */ 42 struct rtentry *rt_prev; /* link to previous entry */
|
route.c | 19 #define RT_ADDR (struct rtentry *)&routing_table 31 struct rtentry *routing_table; /* pointer to list of route entries */ 36 static struct rtentry *rtp; /* pointer to a route entry */ 37 static struct rtentry *rt_end; /* pointer to last route entry */ 43 static int init_children_and_leaves(struct rtentry *r, vifi_t parent); 46 static void discard_route(struct rtentry *prev_r); 48 static int report_chunk(struct rtentry *start_rt, vifi_t vifi, u_int32_t dst); 71 init_children_and_leaves(struct rtentry *r, vifi_t parent) 116 struct rtentry *r; 149 struct rtentry *r [all...] |
defs.h | 174 extern struct rtentry * determine_route(u_int32_t src); 231 extern void del_table_entry(struct rtentry *r, 233 extern void update_table_entry(struct rtentry *r); 237 extern void steal_sources(struct rtentry *rt); 275 extern struct rtentry * snmp_find_route();
|
prune.c | 17 extern struct rtentry *routing_table; 483 struct rtentry * 486 struct rtentry *rt; 499 next_route(struct rtentry **rtpp, u_long src, u_long mask) 501 struct rtentry *rt, *rbest = NULL; 523 next_route_child(struct rtentry **rtpp, u_long src, u_long mask, vifi_t *vifi) 525 struct rtentry *rt; 592 struct rtentry *r; 751 struct rtentry *r; 836 del_table_entry(struct rtentry *r, u_int32_t mcastgrp, u_int del_flag [all...] |
prune.h | 38 struct rtentry *gt_route; /* parent route */
|
/src/sys/net/ |
route.h | 66 struct rtentry *_ro_rt; 109 struct rtentry { struct 121 struct rtentry *rt_gwroute; /* implied entry for gatewayed routes */ 123 struct rtentry *rt_parent; /* parent of cloned route */ 129 SLIST_ENTRY(rtentry) rt_free; /* queue of deferred frees */ 134 rt_getkey(const struct rtentry *rt) 230 int rtm_use; /* from rtentry */ 357 LIST_ENTRY(rttimer) rtt_link; /* multiple timers per rtentry */ 359 struct rtentry *rtt_rt; /* Back pointer to the route */ 360 void (*rtt_func)(struct rtentry *, struct rttimer *) [all...] |
rtbl.c | 133 struct rtentry * 142 return (struct rtentry *)rn; 146 rt_addaddr(rtbl_t *t, struct rtentry *rt, const struct sockaddr *netmask) 156 struct rtentry * 165 return (struct rtentry *)rn; 168 struct rtentry * 179 return (struct rtentry *)rn; 187 return (*rw->rw_f)((struct rtentry *)rn, rw->rw_v); 191 rtbl_walktree(sa_family_t family, int (*f)(struct rtentry *, void *), void *v) 205 struct rtentry * [all...] |
route.c | 168 static void rt_timer_remove_all(struct rtentry *); 181 * - References to a rtentry is managed by reference counting and psref 182 * - Reference counting is used for temporal reference when a rtentry 184 * - psref is used for temporal reference when a rtentry is fetched 188 * - Before destroying or updating a rtentry, we have to wait for 191 * - An obtained rtentry via rtalloc1 or rtrequest* must be 193 * - An obtained rtentry via rtcache_* must be unreferenced by 197 * - rtentry destruction 198 * - A rtentry is destroyed (freed) only when we call rtrequest(RTM_DELETE) 199 * - If a caller of rtrequest grabs a reference of a rtentry, the calle [all...] |
if_faith.c | 90 const struct sockaddr *, const struct rtentry *); 91 static void faithrtrequest(int, struct rtentry *, 174 const struct rtentry *rt) 234 faithrtrequest(int cmd, struct rtentry *rt, 301 struct rtentry *rt;
|
if_pppvar.h | 162 const struct rtentry *);
|
nd.h | 92 int nd_resolve(struct llentry *, const struct rtentry *, struct mbuf *,
|
/src/sys/netinet/ |
if_inarp.h | 42 struct rtentry *la_rt; 76 void arp_rtrequest(int, struct rtentry *, const struct rt_addrinfo *); 77 int arpresolve(struct ifnet *, const struct rtentry *, struct mbuf *, 86 void arp_nud_hint(struct rtentry *);
|
in_offload.h | 37 struct rtentry *);
|
ip_carp.h | 162 const struct sockaddr *, const struct rtentry *);
|
in_pcb.h | 248 struct rtentry; 283 struct rtentry * 285 void inpcb_rtentry_unref(struct rtentry *, struct inpcb *); 309 extern struct rtentry * 312 in6pcb_rtentry_unref(struct rtentry *, struct inpcb *);
|
/src/sys/netinet6/ |
in6_offload.h | 38 const struct sockaddr_in6 *, struct rtentry *);
|
nd6.h | 173 void nd6_nud_hint(struct rtentry *); 174 int nd6_resolve(struct ifnet *, const struct rtentry *, struct mbuf *, 176 void nd6_rtrequest(int, struct rtentry *, const struct rt_addrinfo *);
|
ip6_flow.c | 259 struct rtentry *rt = NULL; 380 ip6flow_addstats_rt(struct rtentry *rt, struct ip6flow *ip6f) 399 struct rtentry *rt; 459 struct rtentry *rt; 522 struct rtentry *rt = NULL;
|
/src/sys/dev/pci/cxgb/ |
cxgb_offload.h | 81 int (*redirect)(void *ctx, struct rtentry *old, 82 struct rtentry *new, 252 void cxgb_neigh_update(struct rtentry *rt); 253 void cxgb_redirect(struct rtentry *old, struct rtentry *new);
|
cxgb_l2t.h | 64 struct rtentry *neigh; /* associated neighbour */ 118 void t3_l2t_update(struct toedev *dev, struct rtentry *ifp); 119 struct l2t_entry *t3_l2t_get(struct toedev *dev, struct rtentry *neigh,
|
cxgb_toedev.h | 106 void (*neigh_update)(struct toedev *dev, struct rtentry *neigh); 154 extern void toe_neigh_update(struct rtentry *neigh);
|
cxgb_l2t.c | 87 neigh_replace(struct l2t_entry *e, struct rtentry *rt) 159 struct rtentry *rt; 212 struct rtentry *rt; 324 reuse_entry(struct l2t_entry *e, struct rtentry *neigh) 345 t3_l2t_get(struct toedev *dev, struct rtentry *neigh, 426 t3_l2t_update(struct toedev *dev, struct rtentry *neigh) 476 t3_l2t_update(struct toedev *dev, struct rtentry *neigh) 505 struct rtentry *neigh = e->neigh;
|
/src/usr.bin/netstat/ |
route.c | 88 struct rtentry rtentry; variable in typeref:struct:rtentry 95 static void p_krtentry(struct rtentry *); 157 kget(rn, rtentry); 158 p_krtentry(&rtentry); 242 p_krtentry(struct rtentry *rt)
|
/src/sys/compat/net/ |
route.h | 76 int rtm_use; /* from rtentry */ 90 void compat_50_rt_addrmsg_rt(int, struct ifaddr *, int, struct rtentry *);
|
/src/usr.sbin/traceroute/ |
ifaddrlist.c | 57 struct rtentry;
|