Lines Matching refs:nh_control
78 struct nh_control *ctl; in nhops_init_rib()
83 ctl = malloc(sizeof(struct nh_control), M_NHOP, M_WAITOK | M_ZERO); in nhops_init_rib()
103 rh->nh_control = ctl; in nhops_init_rib()
112 destroy_ctl(struct nh_control *ctl) in destroy_ctl()
130 struct nh_control *ctl; in destroy_ctl_epoch()
132 ctl = __containerof(ctx, struct nh_control, ctl_epoch_ctx); in destroy_ctl_epoch()
140 struct nh_control *ctl; in nhops_destroy_rib()
143 ctl = rh->nh_control; in nhops_destroy_rib()
233 consider_resize(struct nh_control *ctl, uint32_t new_nh_buckets, uint32_t new_idx_items) in consider_resize()
284 link_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv) in link_nhop()
309 nh_priv->nh_control = ctl; in link_nhop()
330 unlink_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv_del) in unlink_nhop()
378 find_nhop(struct nh_control *ctl, const struct nhop_priv *nh_priv) in find_nhop()