Home
last modified time | relevance | path

Searched refs:nh_idx_head (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/net/route/
H A Dnhop.c95 bitmask_init(&ctl->nh_idx_head, ptr, num_items); in nhops_init_rib()
114 free(ctl->nh_idx_head.idx, M_NHOP); in destroy_ctl()
270 if (bitmask_copy(&ctl->nh_idx_head, nh_idx_ptr, new_idx_items) == 0) in consider_resize()
271 bitmask_swap(&ctl->nh_idx_head, nh_idx_ptr, new_idx_items, &old_idx_ptr); in consider_resize()
301 num_items_new = bitmask_get_resize_items(&ctl->nh_idx_head); in link_nhop()
303 if (bitmask_alloc_idx(&ctl->nh_idx_head, &idx) != 0) { in link_nhop()
347 if ((bitmask_free_idx(&ctl->nh_idx_head, idx)) != 0) { in unlink_nhop()
356 num_items_new = bitmask_get_resize_items(&ctl->nh_idx_head); in unlink_nhop()
H A Dnhop_var.h58 struct bitmask_head nh_idx_head; /* nhop index head */ member