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
337
struct nh_control *ctl;
sys/net/route/nhgrp_ctl.c
373
ctl = nhg_priv->nh_control;
sys/net/route/nhgrp_ctl.c
465
struct nh_control *ctl;
sys/net/route/nhgrp_ctl.c
472
ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
491
if (wn[i].nh->nh_priv->nh_control != ctl) {
sys/net/route/nhgrp_ctl.c
506
nhg_priv->nh_control = ctl;
sys/net/route/nhgrp_ctl.c
520
struct nh_control *ctl = key->nh_control;
sys/net/route/nhgrp_ctl.c
564
get_nhgrp(struct nh_control *ctl, struct weightened_nhop *wn, int num_nhops,
sys/net/route/nhgrp_ctl.c
591
append_nhops(struct nh_control *ctl, const struct nhgrp_object *gr_orig,
sys/net/route/nhgrp_ctl.c
647
struct nh_control *ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
669
struct nh_control *ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
726
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
925
struct nh_control *ctl;
sys/net/route/nhgrp_ctl.c
928
ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
940
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
1049
struct nh_control *ctl;
sys/net/route/nhop_ctl.c
1053
ctl = rh->nh_control;
sys/net/route/nhop_ctl.c
1076
struct nh_control *ctl = iter->rh->nh_control;
sys/net/route/nhop_ctl.c
1098
struct nh_control *ctl = iter->rh->nh_control;
sys/net/route/nhop_ctl.c
1114
struct nh_control *ctl = iter->rh->nh_control;
sys/net/route/nhop_ctl.c
1252
struct nh_control *ctl;
sys/net/route/nhop_ctl.c
1255
ctl = rh->nh_control;
sys/net/route/nhop_ctl.c
1267
struct nh_control *ctl;
sys/net/route/nhop_ctl.c
1271
ctl = rh->nh_control;
sys/net/route/nhop_ctl.c
341
tmp_priv = find_nhop(rnh->nh_control, nh->nh_priv);
sys/net/route/nhop_ctl.c
356
*perror = finalize_nhop(rnh->nh_control, nh, true);
sys/net/route/nhop_ctl.c
379
return (finalize_nhop(rnh->nh_control, nh, false));
sys/net/route/nhop_ctl.c
488
finalize_nhop(struct nh_control *ctl, struct nhop_object *nh, bool link)
sys/net/route/nhop_ctl.c
588
struct nh_control *ctl;
sys/net/route/nhop_ctl.c
628
ctl = nh_priv->nh_control;
sys/net/route/nhop_ctl.c
87
static int finalize_nhop(struct nh_control *ctl, struct nhop_object *nh, bool link);
sys/net/route/nhop_var.h
103
struct nhop_priv *find_nhop(struct nh_control *ctl,
sys/net/route/nhop_var.h
105
int link_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv);
sys/net/route/nhop_var.h
106
struct nhop_priv *unlink_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv);
sys/net/route/nhop_var.h
90
struct nh_control *nh_control; /* backreference to the rnh */
sys/net/route/route_var.h
298
int nhgrp_ctl_init(struct nh_control *ctl);
sys/net/route/route_var.h
299
void nhgrp_ctl_free(struct nh_control *ctl);
sys/net/route/route_var.h
300
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
73
struct nh_control *nh_control; /* nexthop subsystem data */