Symbol: rib_head
sys/net/route.c
101
struct rib_head *rh;
sys/net/route.c
103
rh = malloc(sizeof(struct rib_head), M_RTABLE, M_WAITOK | M_ZERO);
sys/net/route.c
152
rt_table_destroy(struct rib_head *rh)
sys/net/route.c
98
struct rib_head *
sys/net/route.h
409
struct rib_head;
sys/net/route.h
421
struct rib_head *rt_table_init(int, int, u_int);
sys/net/route.h
422
void rt_table_destroy(struct rib_head *);
sys/net/route/fib_algo.c
1047
fib_cleanup_algo(struct rib_head *rh, bool keep_first, bool in_callout)
sys/net/route/fib_algo.c
1080
fib_destroy_rib(struct rib_head *rh)
sys/net/route/fib_algo.c
1153
try_setup_fd_instance(struct fib_lookup_module *flm, struct rib_head *rh,
sys/net/route/fib_algo.c
1247
setup_fd_instance(struct fib_lookup_module *flm, struct rib_head *rh,
sys/net/route/fib_algo.c
1459
struct rib_head *rh = NULL;
sys/net/route/fib_algo.c
1711
fib_get_rtable_info(struct rib_head *rh, struct rib_rtable_info *rinfo)
sys/net/route/fib_algo.c
1743
struct rib_head *
sys/net/route/fib_algo.c
183
struct rib_head *fd_rh; /* RIB table we're attached to */
sys/net/route/fib_algo.c
1860
set_algo_fixed(struct rib_head *rh)
sys/net/route/fib_algo.c
1877
is_algo_fixed(struct rib_head *rh)
sys/net/route/fib_algo.c
1901
fib_check_best_algo(struct rib_head *rh, struct fib_lookup_module *orig_flm)
sys/net/route/fib_algo.c
1944
fib_select_algo_initial(struct rib_head *rh, struct fib_dp *dp)
sys/net/route/fib_algo.c
199
static void set_algo_fixed(struct rib_head *rh);
sys/net/route/fib_algo.c
1990
struct rib_head *rh = rt_tables_get_rnh(i, family);
sys/net/route/fib_algo.c
200
static bool is_algo_fixed(struct rib_head *rh);
sys/net/route/fib_algo.c
205
static struct fib_lookup_module *fib_check_best_algo(struct rib_head *rh,
sys/net/route/fib_algo.c
771
handle_rtable_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc,
sys/net/route/fib_algo.c
915
sync_algo_end_cb(struct rib_head *rnh, enum rib_walk_hook stage, void *_data)
sys/net/route/fib_algo.h
127
void fib_get_rtable_info(struct rib_head *rh, struct rib_rtable_info *rinfo);
sys/net/route/fib_algo.h
128
struct rib_head *fib_get_rh(struct fib_data *fd);
sys/net/route/fib_algo.h
78
typedef enum flm_op_result flm_change_t(struct rib_head *rnh,
sys/net/route/fib_algo.h
80
typedef enum flm_op_result flm_change_batch_t(struct rib_head *rnh,
sys/net/route/nhgrp_ctl.c
1074
nhgrp_get_count(struct rib_head *rh)
sys/net/route/nhgrp_ctl.c
1108
nhgrp_recompile(struct rib_head *rh)
sys/net/route/nhgrp_ctl.c
1124
nhgrp_dump_sysctl(struct rib_head *rh, struct sysctl_req *w)
sys/net/route/nhgrp_ctl.c
503
struct rib_head *rh = rt_tables_get_rnh(fibnum, family);
sys/net/route/nhgrp_ctl.c
753
nhgrp_get_group(struct rib_head *rh, struct weightened_nhop *wn, int num_nhops,
sys/net/route/nhgrp_ctl.c
773
nhgrp_get_filtered_group(struct rib_head *rh, const struct rtentry *rt,
sys/net/route/nhgrp_ctl.c
832
nhgrp_get_addition_group(struct rib_head *rh, struct route_nhop_data *rnd_orig,
sys/net/route/nhgrp_ctl.c
878
nhgrp_get_merge_group(struct rib_head *rh, struct route_nhop_data *rnd_orig,
sys/net/route/nhgrp_ctl.c
984
dump_nhgrp_entry(struct rib_head *rh, const struct nhgrp_priv *nhg_priv,
sys/net/route/nhop.c
135
nhops_destroy_rib(struct rib_head *rh)
sys/net/route/nhop.c
75
nhops_init_rib(struct rib_head *rh)
sys/net/route/nhop.h
168
struct rib_head;
sys/net/route/nhop.h
218
struct rib_head *nhop_get_rh(const struct nhop_object *nh);
sys/net/route/nhop_ctl.c
1052
struct rib_head *
sys/net/route/nhop_ctl.c
1089
nhops_update_ifmtu(struct rib_head *rh, struct ifnet *ifp, uint32_t mtu)
sys/net/route/nhop_ctl.c
1228
dump_nhop_entry(struct rib_head *rh, struct nhop_object *nh, struct sysctl_req *w)
sys/net/route/nhop_ctl.c
1298
nhops_get_count(struct rib_head *rh)
sys/net/route/nhop_ctl.c
1313
nhops_dump_sysctl(struct rib_head *rh, struct sysctl_req *w)
sys/net/route/nhop_ctl.c
280
nhop_create_from_info(struct rib_head *rnh, struct rt_addrinfo *info,
sys/net/route/nhop_ctl.c
340
struct rib_head *rnh = nhop_get_rh(nh);
sys/net/route/nhop_ctl.c
352
nhop_get_nhop_internal(struct rib_head *rnh, struct nhop_object *nh, int *perror)
sys/net/route/nhop_ctl.c
396
struct rib_head *rnh = nhop_get_rh(nh);
sys/net/route/nhop_ctl.c
461
nhop_create_from_nhop(struct rib_head *rnh, const struct nhop_object *nh_orig,
sys/net/route/nhop_ctl.c
86
static int dump_nhop_entry(struct rib_head *rh, struct nhop_object *nh, struct sysctl_req *w);
sys/net/route/nhop_var.h
59
struct rib_head *ctl_rh; /* pointer back to rnh */
sys/net/route/route_ctl.c
1008
struct rib_head *rnh;
sys/net/route/route_ctl.c
101
static bool rib_can_multipath(struct rib_head *rh);
sys/net/route/route_ctl.c
1065
change_nhop(struct rib_head *rnh, struct rt_addrinfo *info,
sys/net/route/route_ctl.c
1095
change_mpath_route(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_ctl.c
1146
change_route_byinfo(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_ctl.c
1171
update_tmproutes_mpath(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_ctl.c
1195
add_route(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_ctl.c
1230
delete_route(struct rib_head *rnh, struct rtentry *rt, struct rib_cmd_info *rc)
sys/net/route/route_ctl.c
1262
change_route(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_ctl.c
1298
change_route_conditional(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_ctl.c
135
static struct rib_head *
sys/net/route/route_ctl.c
138
struct rib_head *rnh;
sys/net/route/route_ctl.c
1393
struct rib_head *rnh;
sys/net/route/route_ctl.c
1450
struct rib_head *rnh;
sys/net/route/route_ctl.c
1507
struct rib_head *rnh = (struct rib_head *)arg;
sys/net/route/route_ctl.c
1521
rib_flush_routes(struct rib_head *rnh)
sys/net/route/route_ctl.c
1531
struct rib_head *rnh;
sys/net/route/route_ctl.c
158
rib_can_multipath(struct rib_head *rh)
sys/net/route/route_ctl.c
334
lookup_prefix_bysa(struct rib_head *rnh, const struct sockaddr *dst,
sys/net/route/route_ctl.c
354
lookup_prefix_rt(struct rib_head *rnh, const struct rtentry *rt,
sys/net/route/route_ctl.c
367
lookup_prefix(struct rib_head *rnh, const struct rt_addrinfo *info,
sys/net/route/route_ctl.c
379
rib_lookup_prefix_plen(struct rib_head *rnh, struct sockaddr *dst, int plen,
sys/net/route/route_ctl.c
475
struct rib_head *rnh = rt_tables_get_rnh(fibnum, dst->sa_family);
sys/net/route/route_ctl.c
554
struct rib_head *rnh = rt_tables_get_rnh(fibnum, dst->sa_family);
sys/net/route/route_ctl.c
610
struct rib_head *rh_dst, struct rib_cmd_info *rc)
sys/net/route/route_ctl.c
675
struct rib_head *rnh;
sys/net/route/route_ctl.c
706
add_route_byinfo(struct rib_head *rnh, struct rt_addrinfo *info,
sys/net/route/route_ctl.c
767
add_route_flags(struct rib_head *rnh, struct rtentry *rt, struct route_nhop_data *rnd_add,
sys/net/route/route_ctl.c
77
static int add_route_byinfo(struct rib_head *rnh, struct rt_addrinfo *info,
sys/net/route/route_ctl.c
79
static int change_route_byinfo(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_ctl.c
83
static int add_route_flags(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_ctl.c
85
static int add_route_flags_mpath(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_ctl.c
850
add_route_flags_mpath(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_ctl.c
89
static int add_route(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_ctl.c
892
struct rib_head *rnh;
sys/net/route/route_ctl.c
91
static int delete_route(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_ctl.c
93
static int rt_delete_conditional(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_ctl.c
970
rt_delete_conditional(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_ctl.h
102
typedef void rib_walk_hook_f_t(struct rib_head *rnh, enum rib_walk_hook stage,
sys/net/route/route_ctl.h
108
void rib_walk_ext_internal(struct rib_head *rnh, bool wlock,
sys/net/route/route_ctl.h
110
void rib_walk_ext_locked(struct rib_head *rnh, rib_walktree_f_t *wa_f,
sys/net/route/route_ctl.h
127
rib_lookup_prefix_plen(struct rib_head *rnh, struct sockaddr *dst, int plen,
sys/net/route/route_ctl.h
158
uint32_t nhops_get_count(struct rib_head *rh);
sys/net/route/route_ctl.h
164
struct rib_head *rh;
sys/net/route/route_ctl.h
179
uint32_t nhgrp_get_count(struct rib_head *rh);
sys/net/route/route_ctl.h
180
int nhgrp_get_group(struct rib_head *rh, struct weightened_nhop *wn, int num_nhops,
sys/net/route/route_ctl.h
190
typedef void rib_subscription_cb_t(struct rib_head *rnh, struct rib_cmd_info *rc,
sys/net/route/route_ctl.h
196
struct rib_subscription *rib_subscribe_internal(struct rib_head *rnh,
sys/net/route/route_ctl.h
199
struct rib_subscription *rib_subscribe_locked(struct rib_head *rnh,
sys/net/route/route_ctl.h
203
void rib_notify(struct rib_head *rnh, enum rib_subscription_type type,
sys/net/route/route_ctl.h
36
struct rib_head *rt_tables_get_rnh_safe(uint32_t table, sa_family_t family);
sys/net/route/route_ddb.c
170
struct rib_head *rnh;
sys/net/route/route_ddb.c
209
struct rib_head *rh;
sys/net/route/route_helpers.c
115
struct rib_head *rnh;
sys/net/route/route_helpers.c
149
struct rib_head *rnh = rt_tables_get_rnh(fibnum, family);
sys/net/route/route_helpers.c
75
rib_walk_ext_locked(struct rib_head *rnh, rib_walktree_f_t *wa_f,
sys/net/route/route_helpers.c
95
rib_walk_ext_internal(struct rib_head *rnh, bool wlock, rib_walktree_f_t *wa_f,
sys/net/route/route_ifaddrs.c
207
struct rib_head *rh_dst = (struct rib_head *)arg;
sys/net/route/route_ifaddrs.c
228
rib_copy_kernel_routes(struct rib_head *rh_src, struct rib_head *rh_dst)
sys/net/route/route_rtentry.c
81
rt_alloc(struct rib_head *rnh, const struct sockaddr *dst,
sys/net/route/route_subscription.c
106
rib_subscribe_internal(struct rib_head *rnh, rib_subscription_cb_t *f, void *arg,
sys/net/route/route_subscription.c
126
rib_subscribe_locked(struct rib_head *rnh, rib_subscription_cb_t *f, void *arg,
sys/net/route/route_subscription.c
150
struct rib_head *rnh = rs->rnh;
sys/net/route/route_subscription.c
164
struct rib_head *rnh = rs->rnh;
sys/net/route/route_subscription.c
188
rib_init_subscriptions(struct rib_head *rnh)
sys/net/route/route_subscription.c
195
rib_destroy_subscriptions(struct rib_head *rnh)
sys/net/route/route_subscription.c
47
struct rib_head *rnh;
sys/net/route/route_subscription.c
55
rib_notify(struct rib_head *rnh, enum rib_subscription_type type,
sys/net/route/route_subscription.c
94
struct rib_head *rnh;
sys/net/route/route_tables.c
204
populate_kernel_routes(struct rib_head **new_rt_tables, struct rib_head *rh)
sys/net/route/route_tables.c
207
struct rib_head *rh_src = new_rt_tables[i * (AF_MAX + 1) + rh->rib_family];
sys/net/route/route_tables.c
222
struct rib_head **prnh, *rh;
sys/net/route/route_tables.c
223
struct rib_head **new_rt_tables, **old_rt_tables;
sys/net/route/route_tables.c
329
struct rib_head *rnh;
sys/net/route/route_tables.c
365
static inline struct rib_head *
sys/net/route/route_tables.c
368
struct rib_head **prnh;
sys/net/route/route_tables.c
384
struct rib_head *
sys/net/route/route_tables.c
391
struct rib_head *
sys/net/route/route_tables.c
404
struct rib_head *rnh;
sys/net/route/route_tables.c
83
VNET_DEFINE_STATIC(struct rib_head **, rt_tables);
sys/net/route/route_temporal.c
124
tmproutes_update(struct rib_head *rnh, struct rtentry *rt, struct nhop_object *nh)
sys/net/route/route_temporal.c
149
tmproutes_init(struct rib_head *rh)
sys/net/route/route_temporal.c
156
tmproutes_destroy(struct rib_head *rh)
sys/net/route/route_temporal.c
84
struct rib_head *rnh;
sys/net/route/route_temporal.c
88
rnh = (struct rib_head *)arg;
sys/net/route/route_var.h
116
rib_bump_gen(struct rib_head *rnh)
sys/net/route/route_var.h
125
struct rib_head *rt_tables_get_rnh(uint32_t table, sa_family_t family);
sys/net/route/route_var.h
205
void tmproutes_update(struct rib_head *rnh, struct rtentry *rt, struct nhop_object *nh);
sys/net/route/route_var.h
206
void tmproutes_init(struct rib_head *rh);
sys/net/route/route_var.h
207
void tmproutes_destroy(struct rib_head *rh);
sys/net/route/route_var.h
211
int change_route(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_var.h
213
int change_route_conditional(struct rib_head *rnh, struct rtentry *rt,
sys/net/route/route_var.h
216
struct rtentry *lookup_prefix(struct rib_head *rnh,
sys/net/route/route_var.h
218
struct rtentry *lookup_prefix_rt(struct rib_head *rnh, const struct rtentry *rt,
sys/net/route/route_var.h
221
struct rib_head *rh_dst, struct rib_cmd_info *rc);
sys/net/route/route_var.h
234
struct rtentry *rt_alloc(struct rib_head *rnh, const struct sockaddr *dst,
sys/net/route/route_var.h
238
void rib_init_subscriptions(struct rib_head *rnh);
sys/net/route/route_var.h
239
void rib_destroy_subscriptions(struct rib_head *rnh);
sys/net/route/route_var.h
242
void rib_copy_kernel_routes(struct rib_head *rh_src, struct rib_head *rh_dst);
sys/net/route/route_var.h
246
int nhops_init_rib(struct rib_head *rh);
sys/net/route/route_var.h
247
void nhops_destroy_rib(struct rib_head *rh);
sys/net/route/route_var.h
252
struct nhop_object *nhop_get_nhop_internal(struct rib_head *rnh,
sys/net/route/route_var.h
257
int nhop_create_from_info(struct rib_head *rnh, struct rt_addrinfo *info,
sys/net/route/route_var.h
259
int nhop_create_from_nhop(struct rib_head *rnh, const struct nhop_object *nh_orig,
sys/net/route/route_var.h
262
void nhops_update_ifmtu(struct rib_head *rh, struct ifnet *ifp, uint32_t mtu);
sys/net/route/route_var.h
263
int nhops_dump_sysctl(struct rib_head *rh, struct sysctl_req *w);
sys/net/route/route_var.h
291
int add_route_mpath(struct rib_head *rnh, struct rt_addrinfo *info,
sys/net/route/route_var.h
302
int nhgrp_dump_sysctl(struct rib_head *rh, struct sysctl_req *w);
sys/net/route/route_var.h
304
int nhgrp_get_filtered_group(struct rib_head *rh, const struct rtentry *rt,
sys/net/route/route_var.h
307
int nhgrp_get_addition_group(struct rib_head *rnh,
sys/net/route/route_var.h
310
int nhgrp_get_merge_group(struct rib_head *rnh,
sys/net/route/route_var.h
313
void nhgrp_recompile(struct rib_head *rh);
sys/net/route/route_var.h
329
void fib_destroy_rib(struct rib_head *rh);
sys/net/rtsock.c
2600
struct rib_head *rnh = NULL; /* silence compiler. */
sys/net/rtsock.c
780
struct rib_head *rnh;
sys/netinet/in_fib.c
135
struct rib_head *rh;
sys/netinet/in_fib.c
213
struct rib_head *rh;
sys/netinet/in_fib.c
281
struct rib_head *rh;
sys/netinet/in_fib_algo.c
478
bsearch4_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc,
sys/netinet/in_fib_algo.c
648
lradix4_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc,
sys/netinet/in_fib_algo.c
673
struct rib_head *rh;
sys/netinet/in_fib_algo.c
680
struct rib_head *rh = (struct rib_head *)algo_data;
sys/netinet/in_fib_algo.c
750
radix4_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc,
sys/netinet/in_fib_dxr.c
1209
dxr_change_rib_item(struct rib_head *rnh, struct rib_cmd_info *rc,
sys/netinet/in_fib_dxr.c
1217
dxr_change_rib_batch(struct rib_head *rnh, struct fib_change_queue *q,
sys/netinet/in_rmx.c
116
struct rib_head *
sys/netinet/in_rmx.c
119
struct rib_head *rh;
sys/netinet/in_rmx.c
130
in_detachhead(struct rib_head *rh)
sys/netinet/in_var.h
421
struct rib_head;
sys/netinet/in_var.h
455
struct rib_head *in_inithead(uint32_t fibnum);
sys/netinet/in_var.h
459
void in_detachhead(struct rib_head *rh);
sys/netinet6/in6_fib.c
143
struct rib_head *rh;
sys/netinet6/in6_fib.c
223
struct rib_head *rh;
sys/netinet6/in6_fib.c
294
struct rib_head *rh;
sys/netinet6/in6_fib_algo.c
218
lradix6_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc,
sys/netinet6/in6_fib_algo.c
243
struct rib_head *rh;
sys/netinet6/in6_fib_algo.c
250
struct rib_head *rh = (struct rib_head *)algo_data;
sys/netinet6/in6_fib_algo.c
276
struct rib_head *rh = rh = rt_tables_get_rnh(fibnum, AF_INET6);
sys/netinet6/in6_fib_algo.c
334
radix6_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc,
sys/netinet6/in6_rmx.c
138
struct rib_head *
sys/netinet6/in6_rmx.c
141
struct rib_head *rh;
sys/netinet6/in6_rmx.c
158
in6_detachhead(struct rib_head *rh)
sys/netinet6/in6_var.h
866
struct rib_head;
sys/netinet6/in6_var.h
903
struct rib_head *in6_inithead(uint32_t fibnum);
sys/netinet6/in6_var.h
904
void in6_detachhead(struct rib_head *rh);
sys/netinet6/nd6.c
1645
nd6_subscription_cb(struct rib_head *rnh, struct rib_cmd_info *rc, void *arg)
sys/netinet6/nd6.h
371
struct rib_head;
sys/netinet6/nd6.h
373
void nd6_subscription_cb(struct rib_head *rnh, struct rib_cmd_info *rc,
sys/netinet6/nd6_rtr.c
2263
struct rib_head *rnh;
sys/netinet6/nd6_rtr.c
2386
struct rib_head *rnh;
sys/netlink/route/nexthop.c
318
struct rib_head *rh = nhop_get_rh(wn_new[0].nh);
sys/netlink/route/rt.c
700
struct rib_head *rnh;
sys/netlink/route/rt.c
956
struct rib_head *rh = nhop_get_rh(wn[0].nh);
sys/sys/domain.h
46
struct rib_head;
sys/sys/domain.h
55
struct rib_head *(*dom_rtattach) /* initialize routing table */
sys/sys/domain.h
58
(struct rib_head *);
sys/tests/fib_lookup/fib_lookup.c
483
struct rib_head *rh;
sys/tests/fib_lookup/fib_lookup.c
676
struct rib_head *rh;