| /f-stack/freebsd/net/route/ |
| H A D | route_var.h | 54 struct rib_head { struct 206 void tmproutes_init(struct rib_head *rh); 207 void tmproutes_destroy(struct rib_head *rh); 217 struct rtentry *lookup_prefix(struct rib_head *rnh, 231 void rib_init_subscriptions(struct rib_head *rnh); 232 void rib_destroy_subscriptions(struct rib_head *rnh); 236 int nhops_init_rib(struct rib_head *rh); 237 void nhops_destroy_rib(struct rib_head *rh); 301 int nhgrp_get_addition_group(struct rib_head *rnh, 318 int fib_select_algo_initial(struct rib_head *rh); [all …]
|
| H A D | route_ctl.h | 70 typedef void rib_walk_hook_f_t(struct rib_head *rnh, enum rib_walk_hook stage, 76 void rib_walk_ext_internal(struct rib_head *rnh, bool wlock, 78 void rib_walk_ext_locked(struct rib_head *rnh, rib_walktree_f_t *wa_f, 124 uint32_t nhops_get_count(struct rib_head *rh); 131 uint32_t nhgrp_get_count(struct rib_head *rh); 140 typedef void rib_subscription_cb_t(struct rib_head *rnh, struct rib_cmd_info *rc, 146 struct rib_subscription *rib_subscribe_internal(struct rib_head *rnh, 149 struct rib_subscription *rib_subscribe_locked(struct rib_head *rnh,
|
| H A D | route_ctl.c | 70 struct rib_head *rnh; 186 static struct rib_head * 189 struct rib_head *rnh; in get_rnh() 542 struct rib_head *rnh; in rib_add_route() 732 struct rib_head *rnh; in rib_del_route() 866 struct rib_head *rnh; in rib_change_route() 1242 struct rib_head *rnh; 1304 struct rib_head *rnh; in rib_walk_del() 1367 struct rib_head *rnh = (struct rib_head *)arg; in rt_delete_unconditional() 1391 struct rib_head *rnh; in rib_flush_routes_family() [all …]
|
| H A D | route_temporal.c | 86 struct rib_head *rnh; in expire_callout() 90 rnh = (struct rib_head *)arg; in expire_callout() 126 tmproutes_update(struct rib_head *rnh, struct rtentry *rt) in tmproutes_update() 150 tmproutes_init(struct rib_head *rh) in tmproutes_init() 157 tmproutes_destroy(struct rib_head *rh) in tmproutes_destroy()
|
| H A D | route_tables.c | 82 VNET_DEFINE_STATIC(struct rib_head **, rt_tables); 174 struct rib_head **prnh, *rh; in grow_rtables() 175 struct rib_head **new_rt_tables, **old_rt_tables; in grow_rtables() 277 struct rib_head *rnh; in rtables_destroy() 313 static inline struct rib_head * 316 struct rib_head **prnh; in rt_tables_get_rnh_ptr() 332 struct rib_head * 342 struct rib_head *rnh; in rt_tables_get_gen()
|
| H A D | fib_algo.h | 61 typedef enum flm_op_result flm_change_t(struct rib_head *rnh, 106 void fib_get_rtable_info(struct rib_head *rh, struct rib_rtable_info *rinfo); 107 struct rib_head *fib_get_rh(struct fib_data *fd);
|
| H A D | fib_algo.c | 153 struct rib_head *fd_rh; /* RIB table we're attached to */ 168 static void set_algo_fixed(struct rib_head *rh); 169 static bool is_algo_fixed(struct rib_head *rh); 538 handle_rtable_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in handle_rtable_change_cb() 810 fib_destroy_rib(struct rib_head *rh) in fib_destroy_rib() 972 setup_fd_instance(struct fib_lookup_module *flm, struct rib_head *rh, in setup_fd_instance() 1142 struct rib_head *rh = NULL; in set_fib_algo() 1381 struct rib_head * 1502 set_algo_fixed(struct rib_head *rh) in set_algo_fixed() 1519 is_algo_fixed(struct rib_head *rh) in is_algo_fixed() [all …]
|
| H A D | nhop_ctl.c | 80 static int dump_nhop_entry(struct rib_head *rh, struct nhop_object *nh, struct sysctl_req *w); 83 static int get_nhop(struct rib_head *rnh, struct rt_addrinfo *info, 316 nhop_create_from_info(struct rib_head *rnh, struct rt_addrinfo *info, in nhop_create_from_info() 352 get_nhop(struct rib_head *rnh, struct rt_addrinfo *info, in get_nhop() 454 nhop_create_from_nhop(struct rib_head *rnh, const struct nhop_object *nh_orig, in nhop_create_from_nhop() 772 nhops_update_ifmtu(struct rib_head *rh, struct ifnet *ifp, uint32_t mtu) in nhops_update_ifmtu() 804 dump_nhop_entry(struct rib_head *rh, struct nhop_object *nh, struct sysctl_req *w) in dump_nhop_entry() 876 nhops_get_count(struct rib_head *rh) in nhops_get_count() 891 nhops_dump_sysctl(struct rib_head *rh, struct sysctl_req *w) in nhops_dump_sysctl()
|
| H A D | mpath_ctl.c | 94 add_route_mpath(struct rib_head *rnh, struct rt_addrinfo *info, in add_route_mpath() 164 del_route_mpath(struct rib_head *rh, struct rt_addrinfo *info, in del_route_mpath()
|
| H A D | nhgrp_ctl.c | 565 nhgrp_get_group(struct rib_head *rh, struct weightened_nhop *wn, int num_nhops, in nhgrp_get_group() 586 nhgrp_get_filtered_group(struct rib_head *rh, const struct nhgrp_object *src, in nhgrp_get_filtered_group() 644 nhgrp_get_addition_group(struct rib_head *rh, struct route_nhop_data *rnd_orig, in nhgrp_get_addition_group() 700 dump_nhgrp_entry(struct rib_head *rh, const struct nhgrp_priv *nhg_priv, in dump_nhgrp_entry() 778 nhgrp_get_count(struct rib_head *rh) in nhgrp_get_count() 793 nhgrp_dump_sysctl(struct rib_head *rh, struct sysctl_req *w) in nhgrp_dump_sysctl()
|
| H A D | route_helpers.c | 71 rib_walk_ext_locked(struct rib_head *rnh, rib_walktree_f_t *wa_f, in rib_walk_ext_locked() 91 rib_walk_ext_internal(struct rib_head *rnh, bool wlock, rib_walktree_f_t *wa_f, in rib_walk_ext_internal() 111 struct rib_head *rnh; in rib_walk_ext()
|
| H A D | route_ddb.c | 170 struct rib_head *rnh; in DB_SHOW_COMMAND() 209 struct rib_head *rh; in _DB_FUNC()
|
| H A D | nhop.c | 72 nhops_init_rib(struct rib_head *rh) in nhops_init_rib() 135 nhops_destroy_rib(struct rib_head *rh) in nhops_destroy_rib()
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6_rmx.c | 142 struct rib_head * 145 struct rib_head *rh; in in6_inithead() 164 in6_detachhead(struct rib_head *rh) in in6_detachhead()
|
| H A D | in6_fib_algo.c | 220 lradix6_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in lradix6_change_cb() 245 struct rib_head *rh; 252 struct rib_head *rh = (struct rib_head *)algo_data; in radix6_lookup() 278 struct rib_head *rh = rh = rt_tables_get_rnh(fibnum, AF_INET6); in fib6_radix_lookup_nh() 336 radix6_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in radix6_change_cb()
|
| H A D | in6_fib.c | 147 struct rib_head *rh; in fib6_lookup() 227 struct rib_head *rh; in lookup_nhop() 298 struct rib_head *rh; in fib6_lookup_rt()
|
| /f-stack/freebsd/sys/ |
| H A D | domain.h | 48 struct rib_head; 63 struct rib_head *(*dom_rtattach) /* initialize routing table */ 66 (struct rib_head *);
|
| /f-stack/freebsd/netinet/ |
| H A D | in_rmx.c | 118 struct rib_head * 121 struct rib_head *rh; in in_inithead() 134 in_detachhead(struct rib_head *rh) in in_detachhead()
|
| H A D | in_fib_algo.c | 480 bsearch4_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in bsearch4_change_cb() 650 lradix4_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in lradix4_change_cb() 675 struct rib_head *rh; 682 struct rib_head *rh = (struct rib_head *)algo_data; in radix4_lookup() 752 radix4_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in radix4_change_cb()
|
| H A D | in_fib.c | 139 struct rib_head *rh; in fib4_lookup() 217 struct rib_head *rh; in lookup_nhop() 285 struct rib_head *rh; in fib4_lookup_rt()
|
| H A D | in_var.h | 439 struct rib_head; 474 struct rib_head *in_inithead(uint32_t fibnum); 476 void in_detachhead(struct rib_head *rh);
|
| /f-stack/freebsd/net/ |
| H A D | route.c | 97 struct rib_head * 100 struct rib_head *rh; in rt_table_init() 102 rh = malloc(sizeof(struct rib_head), M_RTABLE, M_WAITOK | M_ZERO); in rt_table_init() 151 rt_table_destroy(struct rib_head *rh) in rt_table_destroy() 423 struct rib_head *rh; in rib_lookup_info() 599 struct rib_head *rnh; in rt_updatemtu()
|
| H A D | route.h | 411 struct rib_head; 423 struct rib_head *rt_table_init(int, int, u_int); 424 void rt_table_destroy(struct rib_head *);
|
| /f-stack/tools/compat/include/net/ |
| H A D | route.h | 409 struct rib_head; 421 struct rib_head *rt_table_init(int, int, u_int); 422 void rt_table_destroy(struct rib_head *);
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | in_var.h | 439 struct rib_head; 474 struct rib_head *in_inithead(uint32_t fibnum); 476 void in_detachhead(struct rib_head *rh);
|