Home
last modified time | relevance | path

Searched refs:nhg_nh_count (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/net/route/
H A Dnhgrp_ctl.c222 for (i = 0; i < dst_priv->nhg_nh_count; i++) in compile_nhgrp()
226 for (i = 0; i < dst_priv->nhg_nh_count; i++) { in compile_nhgrp()
280 nhg_priv->nhg_nh_count = num_nhops; in alloc_nhgrp()
402 for (int i = 0; i < nhg_priv->nhg_nh_count; i++) { in ref_nhgrp_nhops()
422 for (int i = 0; i < nhg_priv->nhg_nh_count; i++) in free_nhgrp_nhops()
523 curr_nhops = src_priv->nhg_nh_count; in append_nhops()
598 sz = src_priv->nhg_nh_count * (sizeof(struct weightened_nhop)); in nhgrp_get_filtered_group()
610 for (i = 0; i < src_priv->nhg_nh_count; i++) { in nhgrp_get_filtered_group()
694 *pnum_nhops = nhg_priv->nhg_nh_count; in nhgrp_get_nhops()
741 nhgc->nhgc_count = nhg_priv->nhg_nh_count; in dump_nhgrp_entry()
[all …]
H A Dnhgrp.c113 if (a->nhg_nh_count != b->nhg_nh_count) in cmp_nhgrp()
116 sizeof(struct weightened_nhop) * a->nhg_nh_count); in cmp_nhgrp()
129 return (djb_hash(key, sizeof(struct weightened_nhop) * obj->nhg_nh_count)); in hash_nhgrp()
H A Dnhgrp_var.h50 uint8_t nhg_nh_count; /* number of items in nh_weights */ member
/f-stack/lib/
H A Dff_route.c598 *pnum_nhops = nhg_priv->nhg_nh_count; in nhgrp_get_nhops()