Symbol: nh_control
sys/net/route/nhgrp.c
137
find_nhgrp(struct nh_control *ctl, const struct nhgrp_priv *key)
sys/net/route/nhgrp.c
155
link_nhgrp(struct nh_control *ctl, struct nhgrp_priv *grp_priv)
sys/net/route/nhgrp.c
173
grp_priv->nh_control = ctl;
sys/net/route/nhgrp.c
189
unlink_nhgrp(struct nh_control *ctl, struct nhgrp_priv *key)
sys/net/route/nhgrp.c
207
nhg_priv_ret->nh_control = NULL;
sys/net/route/nhgrp.c
226
consider_resize(struct nh_control *ctl, uint32_t new_gr_bucket, uint32_t new_idx_items)
sys/net/route/nhgrp.c
275
nhgrp_ctl_alloc_default(struct nh_control *ctl, int malloc_flags)
sys/net/route/nhgrp.c
310
nhgrp_ctl_init(struct nh_control *ctl)
sys/net/route/nhgrp.c
322
nhgrp_ctl_free(struct nh_control *ctl)
sys/net/route/nhgrp.c
329
nhgrp_ctl_unlink_all(struct nh_control *ctl)
sys/net/route/nhgrp.c
86
static void consider_resize(struct nh_control *ctl, uint32_t new_gr_buckets,
sys/net/route/nhgrp_ctl.c
1076
struct nh_control *ctl;
sys/net/route/nhgrp_ctl.c
1079
ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
1110
struct nh_control *ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
1126
struct nh_control *ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
377
struct nh_control *ctl;
sys/net/route/nhgrp_ctl.c
413
ctl = nhg_priv->nh_control;
sys/net/route/nhgrp_ctl.c
505
struct nh_control *ctl;
sys/net/route/nhgrp_ctl.c
514
ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
540
if (wn[i].nh->nh_priv->nh_control != ctl) {
sys/net/route/nhgrp_ctl.c
558
nhg_priv->nh_control = ctl;
sys/net/route/nhgrp_ctl.c
572
struct nh_control *ctl = key->nh_control;
sys/net/route/nhgrp_ctl.c
616
get_nhgrp(struct nh_control *ctl, struct weightened_nhop *wn, int num_nhops,
sys/net/route/nhgrp_ctl.c
643
append_nhops(struct nh_control *ctl, const struct nhgrp_object *gr_orig,
sys/net/route/nhgrp_ctl.c
697
merge_nhgrps(struct nh_control *ctl, const struct nhgrp_object *gr_orig,
sys/net/route/nhgrp_ctl.c
756
struct nh_control *ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
778
struct nh_control *ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
79
static struct nhgrp_priv *get_nhgrp(struct nh_control *ctl,
sys/net/route/nhgrp_ctl.c
835
struct nh_control *ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
881
struct nh_control *ctl = rh->nh_control;
sys/net/route/nhgrp_var.h
54
struct nh_control *nh_control; /* parent control structure */
sys/net/route/nhgrp_var.h
66
bool nhgrp_ctl_alloc_default(struct nh_control *ctl, int malloc_flags);
sys/net/route/nhgrp_var.h
67
struct nhgrp_priv *find_nhgrp(struct nh_control *ctl, const struct nhgrp_priv *key);
sys/net/route/nhgrp_var.h
68
int link_nhgrp(struct nh_control *ctl, struct nhgrp_priv *grp_priv);
sys/net/route/nhgrp_var.h
69
struct nhgrp_priv *unlink_nhgrp(struct nh_control *ctl, struct nhgrp_priv *key);
sys/net/route/nhop.c
102
rh->nh_control = ctl;
sys/net/route/nhop.c
111
destroy_ctl(struct nh_control *ctl)
sys/net/route/nhop.c
127
struct nh_control *ctl;
sys/net/route/nhop.c
129
ctl = __containerof(ctx, struct nh_control, ctl_epoch_ctx);
sys/net/route/nhop.c
137
struct nh_control *ctl;
sys/net/route/nhop.c
140
ctl = rh->nh_control;
sys/net/route/nhop.c
228
consider_resize(struct nh_control *ctl, uint32_t new_nh_buckets, uint32_t new_idx_items)
sys/net/route/nhop.c
279
link_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv)
sys/net/route/nhop.c
304
nh_priv->nh_control = ctl;
sys/net/route/nhop.c
325
unlink_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv_del)
sys/net/route/nhop.c
373
find_nhop(struct nh_control *ctl, const struct nhop_priv *nh_priv)
sys/net/route/nhop.c
77
struct nh_control *ctl;
sys/net/route/nhop.c
82
ctl = malloc(sizeof(struct nh_control), M_NHOP, M_WAITOK | M_ZERO);
sys/net/route/nhop.h
76
struct nh_control;
sys/net/route/nhop_ctl.c
1091
struct nh_control *ctl;
sys/net/route/nhop_ctl.c
1095
ctl = rh->nh_control;
sys/net/route/nhop_ctl.c
1118
struct nh_control *ctl = iter->rh->nh_control;
sys/net/route/nhop_ctl.c
1143
struct nh_control *ctl = iter->rh->nh_control;
sys/net/route/nhop_ctl.c
1159
struct nh_control *ctl = iter->rh->nh_control;
sys/net/route/nhop_ctl.c
1300
struct nh_control *ctl;
sys/net/route/nhop_ctl.c
1303
ctl = rh->nh_control;
sys/net/route/nhop_ctl.c
1315
struct nh_control *ctl;
sys/net/route/nhop_ctl.c
1319
ctl = rh->nh_control;
sys/net/route/nhop_ctl.c
367
tmp_priv = find_nhop(rnh->nh_control, nh->nh_priv);
sys/net/route/nhop_ctl.c
382
*perror = finalize_nhop(rnh->nh_control, nh, true);
sys/net/route/nhop_ctl.c
405
return (finalize_nhop(rnh->nh_control, nh, false));
sys/net/route/nhop_ctl.c
515
finalize_nhop(struct nh_control *ctl, struct nhop_object *nh, bool link)
sys/net/route/nhop_ctl.c
615
struct nh_control *ctl;
sys/net/route/nhop_ctl.c
655
ctl = nh_priv->nh_control;
sys/net/route/nhop_ctl.c
88
static int finalize_nhop(struct nh_control *ctl, struct nhop_object *nh, bool link);
sys/net/route/nhop_var.h
104
struct nhop_priv *find_nhop(struct nh_control *ctl,
sys/net/route/nhop_var.h
106
int link_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv);
sys/net/route/nhop_var.h
107
struct nhop_priv *unlink_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv);
sys/net/route/nhop_var.h
91
struct nh_control *nh_control; /* backreference to the rnh */
sys/net/route/route_var.h
296
int nhgrp_ctl_init(struct nh_control *ctl);
sys/net/route/route_var.h
297
void nhgrp_ctl_free(struct nh_control *ctl);
sys/net/route/route_var.h
298
void nhgrp_ctl_unlink_all(struct nh_control *ctl);
sys/net/route/route_var.h
42
struct nh_control;
sys/net/route/route_var.h
71
struct nh_control *nh_control; /* nexthop subsystem data */