Home
last modified time | relevance | path

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

123456

/netbsd-src/sys/net/
H A Droute.h66 struct rtentry *_ro_rt;
109 struct rtentry { struct
121 struct rtentry *rt_gwroute; /* implied entry for gatewayed routes */ argument
123 struct rtentry *rt_parent; /* parent of cloned route */ argument
129 SLIST_ENTRY(rtentry) rt_free; /* queue of deferred frees */ argument
134 rt_getkey(const struct rtentry *rt) in rt_getkey()
359 struct rtentry *rtt_rt; /* Back pointer to the route */
360 void (*rtt_func)(struct rtentry *, struct rttimer *);
399 int (*rw_f)(struct rtentry *, void *);
422 int rt_timer_add(struct rtentry *,
[all …]
H A Drtbl.c133 struct rtentry *
142 return (struct rtentry *)rn; in rt_matchaddr()
146 rt_addaddr(rtbl_t *t, struct rtentry *rt, const struct sockaddr *netmask) in rt_addaddr()
156 struct rtentry *
165 return (struct rtentry *)rn; in rt_lookup()
168 struct rtentry *
179 return (struct rtentry *)rn; in rt_deladdr()
187 return (*rw->rw_f)((struct rtentry *)rn, rw->rw_v); in rt_walktree_visitor()
191 rtbl_walktree(sa_family_t family, int (*f)(struct rtentry *, void *), void *v) in rtbl_walktree() argument
205 struct rtentry *
[all …]
H A Droute.c168 static void rt_timer_remove_all(struct rtentry *);
263 SLIST_HEAD(, rtentry) queue;
276 static int rtdeletemsg(struct rtentry *);
283 static void rt_ref(struct rtentry *);
285 static struct rtentry *
293 static void rtcache_ref(struct rtentry *, struct route *);
300 static void rt_wait_refcnt(const char *, struct rtentry *, int);
301 static void rt_wait_psref(struct rtentry *);
306 static int db_show_rtentry(struct rtentry *, void *);
330 rt_destroy(struct rtentry *rt) in rt_destroy()
[all …]
H A Dif_faith.c90 const struct sockaddr *, const struct rtentry *);
91 static void faithrtrequest(int, struct rtentry *,
174 const struct rtentry *rt) in faithoutput()
234 faithrtrequest(int cmd, struct rtentry *rt, in faithrtrequest()
301 struct rtentry *rt; in faithprefix()
H A Dif_stf.c159 const struct rtentry *);
165 static void stf_rtrequest(int, struct rtentry *, const struct rt_addrinfo *);
353 const struct rtentry *rt0) in stf_output()
355 struct rtentry *rt; in stf_output()
521 struct rtentry *rt; in stf_checkaddr4()
671 stf_rtrequest(int cmd, struct rtentry *rt, in stf_rtrequest()
H A Dif_mpls.c84 const struct rtentry *);
87 const struct rtentry *);
215 const struct rtentry *rt) in mpls_output()
218 struct rtentry *rt1; in mpls_output()
346 struct rtentry *rt = NULL; in mpls_lse()
500 mpls_send_frame(struct mbuf *m, struct ifnet *ifp, const struct rtentry *rt) in mpls_send_frame()
H A Dif.h141 struct rtentry;
325 const struct rtentry *);
530 const struct sockaddr *dst, const struct rtentry *rt) in if_output_lock()
764 (int, struct rtentry *, const struct rt_addrinfo *);
1238 void link_rtrequest(int, struct rtentry *, const struct rt_addrinfo *);
1239 void p2p_rtrequest(int, struct rtentry *, const struct rt_addrinfo *);
1253 struct mbuf *, const struct sockaddr *, const struct rtentry *);
1265 const struct sockaddr *, const struct rtentry *);
H A Dif_loop.c140 static void loop_rtrequest(int, struct rtentry *, const struct rt_addrinfo *);
242 const struct rtentry *rt) in looutput()
437 loop_rtrequest(int cmd, struct rtentry *rt, in loop_rtrequest()
/netbsd-src/usr.sbin/mrouted/
H A Droute.c19 #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) in init_children_and_leaves()
116 struct rtentry *r; in add_vif_to_routes()
149 struct rtentry *r; in delete_vif_from_routes()
[all …]
H A Droute.h27 struct rtentry { struct
28 struct rtentry *rt_next; /* link to next entry MUST BE FIRST */ argument
42 struct rtentry *rt_prev; /* link to previous entry */ argument
H A Ddefs.h174 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();
H A Dprune.c17 extern struct rtentry *routing_table;
483 struct rtentry *
486 struct rtentry *rt; in snmp_find_route()
499 next_route(struct rtentry **rtpp, u_long src, u_long mask) in next_route()
501 struct rtentry *rt, *rbest = NULL; in next_route()
523 next_route_child(struct rtentry **rtpp, u_long src, u_long mask, vifi_t *vifi) in next_route_child()
525 struct rtentry *rt; in next_route_child()
592 struct rtentry *r; in add_table_entry()
751 struct rtentry *r; in reset_neighbor_state()
836 del_table_entry(struct rtentry *r, u_int32_t mcastgrp, u_int del_flag) in del_table_entry()
[all …]
/netbsd-src/sys/netinet/
H A Dif_inarp.h42 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 *);
H A Din_pcb.h248 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 *);
H A Dip_icmp.c174 static void icmp_mtudisc_timeout(struct rtentry *, struct rttimer *);
175 static void icmp_redirect_timeout(struct rtentry *, struct rttimer *);
417 struct rtentry *rt; in _icmp_input()
1151 struct rtentry *rt; in icmp_mtudisc()
1161 struct rtentry *nrt; in icmp_mtudisc()
1273 icmp_mtudisc_timeout(struct rtentry *rt, struct rttimer *r) in icmp_mtudisc_timeout()
1275 struct rtentry *retrt; in icmp_mtudisc_timeout()
1295 icmp_redirect_timeout(struct rtentry *rt, struct rttimer *r) in icmp_redirect_timeout()
1297 struct rtentry *retrt; in icmp_redirect_timeout()
H A Dip_flow.c208 struct rtentry *rt = NULL; in ipflow_fastforward()
370 struct rtentry *rt; in ipflow_addstats()
438 struct rtentry *rt; in ipflow_reap()
478 struct rtentry *rt; in ipflow_slowtimo_work()
/netbsd-src/sys/dev/pci/cxgb/
H A Dcxgb_offload.h81 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);
H A Dcxgb_l2t.c87 neigh_replace(struct l2t_entry *e, struct rtentry *rt) in neigh_replace()
159 struct rtentry *rt; in t3_l2t_send_slow()
212 struct rtentry *rt; in t3_l2t_send_event()
324 reuse_entry(struct l2t_entry *e, struct rtentry *neigh) in reuse_entry()
345 t3_l2t_get(struct toedev *dev, struct rtentry *neigh, in t3_l2t_get()
426 t3_l2t_update(struct toedev *dev, struct rtentry *neigh) in t3_l2t_update()
476 t3_l2t_update(struct toedev *dev, struct rtentry *neigh) in t3_l2t_update()
505 struct rtentry *neigh = e->neigh; in update_timer_cb()
H A Dcxgb_l2t.h64 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,
H A Dcxgb_toedev.h106 void (*neigh_update)(struct toedev *dev, struct rtentry *neigh);
154 extern void toe_neigh_update(struct rtentry *neigh);
/netbsd-src/usr.bin/netstat/
H A Droute.c88 struct rtentry rtentry; variable
95 static void p_krtentry(struct rtentry *);
157 kget(rn, rtentry); in p_tree()
158 p_krtentry(&rtentry); in p_tree()
242 p_krtentry(struct rtentry *rt) in p_krtentry()
/netbsd-src/external/bsd/ipf/dist/
H A Dip_fil.c24 struct rtentry;
36 struct sockaddr *, struct rtentry *, char *));
38 struct sockaddr *, struct rtentry *, char *));
42 const struct sockaddr *, struct rtentry *);
44 const struct sockaddr *, struct rtentry *);
47 struct sockaddr *, struct rtentry *));
49 struct sockaddr *, struct rtentry *));
139 struct rtentry *rt;
159 struct rtentry *rt;
/netbsd-src/sys/netinet6/
H A Dnd6.h173 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 *);
H A Dip6_flow.c259 struct rtentry *rt = NULL; in ip6flow_fastforward()
380 ip6flow_addstats_rt(struct rtentry *rt, struct ip6flow *ip6f) in ip6flow_addstats_rt()
399 struct rtentry *rt; in ip6flow_addstats()
459 struct rtentry *rt; in ip6flow_reap_locked()
522 struct rtentry *rt = NULL; in ip6flow_slowtimo_work()
/netbsd-src/sys/dist/pf/net/
H A Dif_compat.c349 struct rtentry *rt;
366 rt = (struct rtentry *)rn;
381 rt = (struct rtentry *)rn;

123456