| /freebsd-13.1/sys/net/route/ |
| H A D | route_ctl.h | 42 struct rtentry *rc_rt; /* Target entry */ 73 typedef int rib_walktree_f_t(struct rtentry *, void *); 104 const struct rtentry *rib_lookup_prefix(uint32_t fibnum, int family, 107 const struct rtentry *rib_lookup_lpm(uint32_t fibnum, int family, 111 bool rt_is_host(const struct rtentry *rt); 112 sa_family_t rt_get_family(const struct rtentry *); 113 struct nhop_object *rt_get_raw_nhop(const struct rtentry *rt); 116 void rt_get_inet_prefix_plen(const struct rtentry *rt, struct in_addr *paddr, 118 void rt_get_inet_prefix_pmask(const struct rtentry *rt, struct in_addr *paddr, 124 void rt_get_inet6_prefix_plen(const struct rtentry *rt, struct in6_addr *paddr, [all …]
|
| H A D | route_ctl.c | 177 struct rtentry *rt; in destroy_rtentry_epoch() 520 static struct rtentry * 524 struct rtentry *rt; in lookup_prefix_bysa() 547 struct rtentry * 551 struct rtentry *rt; in lookup_prefix() 631 struct rtentry *rt; in create_rtentry() 820 struct rtentry *rt; in rt_unlinkrte() 914 struct rtentry *rt; in rib_change_route() 1280 struct rtentry *head; 1293 struct rtentry *rt; in rt_checkdelroute() [all …]
|
| H A D | route_var.h | 150 #define RNTORT(p) ((struct rtentry *)(p)) 152 struct rtentry { struct 187 struct rtentry *rt_chain; /* pointer to next rtentry to delete */ argument 217 void tmproutes_update(struct rib_head *rnh, struct rtentry *rt); 223 int change_route_nhop(struct rib_head *rnh, struct rtentry *rt, 226 int change_route_conditional(struct rib_head *rnh, struct rtentry *rt, 229 struct rtentry *lookup_prefix(struct rib_head *rnh, 235 const struct rtentry *rt, const struct nhop_object *nh); 294 struct rtentry *rt, struct route_nhop_data *rnd_add, 297 struct rtentry *rt, struct nhgrp_object *nhg, struct rib_cmd_info *rc); [all …]
|
| H A D | route_helpers.c | 426 static struct rtentry * 430 struct rtentry *rt; in get_inet_parent_prefix() 465 struct rtentry * 471 struct rtentry *rt; in rt_get_inet_parent() 498 static struct rtentry * 502 struct rtentry *rt; in get_inet6_parent_prefix() 548 struct rtentry * 554 struct rtentry *rt; in rt_get_inet6_parent()
|
| H A D | mpath_ctl.c | 95 struct rtentry *rt, struct route_nhop_data *rnd_add, in add_route_mpath() 148 struct rtentry *rt; 165 struct rtentry *rt, struct nhgrp_object *nhg, in del_route_mpath()
|
| H A D | route_ddb.c | 133 struct rtentry *rt; in rt_dumpentry_ddb() 212 struct rtentry *rt; in _DB_FUNC() 254 rt = (struct rtentry *)rn; in _DB_FUNC()
|
| H A D | route_temporal.c | 56 expire_route(const struct rtentry *rt, const struct nhop_object *nh, void *arg) in expire_route() 126 tmproutes_update(struct rib_head *rnh, struct rtentry *rt) in tmproutes_update()
|
| H A D | fib_algo.h | 78 typedef enum flm_op_result flm_dump_t(struct rtentry *rt, void *data);
|
| /freebsd-13.1/sys/netinet6/ |
| H A D | in6_fib.h | 35 struct rtentry; 43 struct rtentry *fib6_lookup_rt(uint32_t fibnum, const struct in6_addr *dst6,
|
| H A D | in6_fib.c | 293 struct rtentry * 300 struct rtentry *rt; in fib6_lookup_rt() 321 rt = (struct rtentry *)rn; in fib6_lookup_rt() 335 struct rtentry *rt; in fib6_lookup_debugnet()
|
| H A D | in6_fib_algo.c | 168 lradix6_add_route_cb(struct rtentry *rt, void *_data) in lradix6_add_route_cb() 318 radix6_add_route_cb(struct rtentry *rt, void *_data) in radix6_add_route_cb()
|
| /freebsd-13.1/sys/netinet/ |
| H A D | in_fib.h | 48 struct rtentry; 55 struct rtentry *fib4_lookup_rt(uint32_t fibnum, struct in_addr dst, uint32_t scopeid,
|
| H A D | in_fib.c | 280 struct rtentry * 287 struct rtentry *rt; in fib4_lookup_rt() 306 rt = (struct rtentry *)rn; in fib4_lookup_rt() 320 struct rtentry *rt; in fib4_lookup_debugnet()
|
| H A D | in_rmx.c | 156 in_ifadownkill(const struct rtentry *rt, const struct nhop_object *nh, in in_ifadownkill()
|
| H A D | in_fib_algo.c | 198 bsearch4_add_route_cb(struct rtentry *rt, void *_data) in bsearch4_add_route_cb() 600 lradix4_add_route_cb(struct rtentry *rt, void *_data) in lradix4_add_route_cb() 734 radix4_add_route_cb(struct rtentry *rt, void *_data) in radix4_add_route_cb()
|
| /freebsd-13.1/sys/net/ |
| H A D | route.c | 80 static int rt_ifdelroute(const struct rtentry *rt, const struct nhop_object *, 82 static int rt_exportinfo(struct rtentry *rt, struct nhop_object *nh, 332 rt_exportinfo(struct rtentry *rt, struct nhop_object *nh, in rt_exportinfo() 423 struct rtentry *rt; in rib_lookup_info() 479 rt_ifdelroute(const struct rtentry *rt, const struct nhop_object *nh, void *arg) in rt_ifdelroute() 678 int rt_print(char *buf, int buflen, struct rtentry *rt); 704 rt_print(char *buf, int buflen, struct rtentry *rt) 776 rt_routemsg(int cmd, struct rtentry *rt, struct nhop_object *nh, in rt_routemsg()
|
| H A D | route.h | 341 struct rtentry; 343 typedef int rib_filter_f_t(const struct rtentry *, const struct nhop_object *, 423 int rt_routemsg(int, struct rtentry *, struct nhop_object *, int);
|
| H A D | rtsock.c | 188 static int sysctl_dumpentry(struct rtentry *rt, void *vw); 189 static int sysctl_dumpnhop(struct rtentry *rt, struct nhop_object *nh, 194 static void rt_getmetrics(const struct rtentry *rt, 766 rc->rc_rt = (struct rtentry *) rnh->rnh_matchaddr( in handle_rtm_get() 769 rc->rc_rt = (struct rtentry *) rnh->rnh_lookup( in handle_rtm_get() 810 rc->rc_rt = (struct rtentry *)rnh->rnh_matchaddr(&laddr, in handle_rtm_get() 863 export_rtaddrs(const struct rtentry *rt, struct sockaddr *dst, in export_rtaddrs() 1026 struct rtentry *rt = NULL; in route_output() 1275 rt_getmetrics(const struct rtentry *rt, const struct nhop_object *nh, in rt_getmetrics() 1974 rtsock_routemsg(int cmd, struct rtentry *rt, struct nhop_object *nh, in rtsock_routemsg() [all …]
|
| /freebsd-13.1/sbin/ipf/ipftest/ |
| H A D | ip_fil.c | 24 struct rtentry; 29 struct sockaddr *, struct rtentry *); 31 struct sockaddr *, struct rtentry *); 113 struct rtentry *rt; in no_output() 124 struct rtentry *rt; in write_output()
|
| /freebsd-13.1/contrib/tcpdump/ |
| H A D | print-sunatm.c | 42 struct rtentry;
|
| /freebsd-13.1/sys/tests/fib_lookup/ |
| H A D | fib_lookup.c | 295 struct rtentry *rt; in cmp_dst() 332 struct rtentry *rt; in cmp_dst6() 449 add_prefix(struct rtentry *rt, void *_data) in add_prefix() 633 add_prefix6(struct rtentry *rt, void *_data) in add_prefix6() 763 reduce_keys(struct rtentry *rt, void *_data) in reduce_keys()
|
| /freebsd-13.1/sys/contrib/dpdk_rte_lpm/ |
| H A D | dpdk_lpm.c | 140 struct rtentry *rt; in get_parent_rule() 247 add_route_cb(struct rtentry *rt, void *_data) in add_route_cb()
|
| H A D | dpdk_lpm6.c | 172 struct rtentry *rt; in pack_parent_rule() 298 add_route_cb(struct rtentry *rt, void *_data) in add_route_cb()
|
| /freebsd-13.1/contrib/traceroute/ |
| H A D | ifaddrlist.c | 50 struct rtentry;
|
| H A D | findsaddr-socket.c | 54 struct rtentry;
|