Home
last modified time | relevance | path

Searched refs:nh_head (Results 1 – 3 of 3) sorted by relevance

/freebsd-13-stable/sys/net/route/
HDnhop.c92 CHT_SLIST_INIT(&ctl->nh_head, ptr, num_buckets); in nhops_init_rib()
116 free(ctl->nh_head.ptr, M_NHOP); in destroy_ctl()
159 CHT_SLIST_FOREACH(&ctl->nh_head, nhops, nh_priv) { in nhops_destroy_rib()
264 CHT_SLIST_RESIZE(&ctl->nh_head, nhops, nh_ptr, new_nh_buckets); in consider_resize()
297 num_buckets_new = CHT_SLIST_GET_RESIZE_BUCKETS(&ctl->nh_head); in link_nhop()
312 CHT_SLIST_INSERT_HEAD(&ctl->nh_head, nhops, nh_priv); in link_nhop()
339 CHT_SLIST_REMOVE(&ctl->nh_head, nhops, nh_priv_del, priv_ret); in unlink_nhop()
354 num_buckets_new = CHT_SLIST_GET_RESIZE_BUCKETS(&ctl->nh_head); in unlink_nhop()
383 CHT_SLIST_FIND_BYOBJ(&ctl->nh_head, nhops, nh_priv, nh_priv_ret); in find_nhop()
HDnhop_var.h55 struct nhops_head nh_head; /* hash table head */ member
HDnhop_ctl.c1063 CHT_SLIST_FOREACH(&ctl->nh_head, nhops, nh_priv) { in nhops_update_ifmtu()
1216 count = ctl->nh_head.items_count; in nhops_get_count()
1232 FIB_RH_LOG(LOG_DEBUG, rh, "dump %u items", ctl->nh_head.items_count); in nhops_dump_sysctl()
1233 CHT_SLIST_FOREACH(&ctl->nh_head, nhops, nh_priv) { in nhops_dump_sysctl()