Searched refs:nhg_nh_count (Results 1 – 3 of 3) sorted by relevance
245 for (i = 0; i < dst_priv->nhg_nh_count; i++) in compile_nhgrp()250 for (i = 0; i < dst_priv->nhg_nh_count; i++) { in compile_nhgrp()305 nhg_priv->nhg_nh_count = num_nhops; in alloc_nhgrp()431 for (int i = 0; i < nhg_priv->nhg_nh_count; i++) { in ref_nhgrp_nhops()451 for (int i = 0; i < nhg_priv->nhg_nh_count; i++) in free_nhgrp_nhops()603 curr_nhops = src_priv->nhg_nh_count; in append_nhops()607 sz = (src_priv->nhg_nh_count + num_nhops) * (sizeof(struct weightened_nhop)); in append_nhops()678 sz = src_priv->nhg_nh_count * (sizeof(struct weightened_nhop)); in nhgrp_get_filtered_group()690 for (i = 0; i < src_priv->nhg_nh_count; i++) { in nhgrp_get_filtered_group()774 *pnum_nhops = nhg_priv->nhg_nh_count; in nhgrp_get_nhops()[all …]
115 if (a->nhg_nh_count != b->nhg_nh_count || a->nhg_uidx != b->nhg_uidx) in cmp_nhgrp()118 sizeof(struct weightened_nhop) * a->nhg_nh_count); in cmp_nhgrp()131 return (djb_hash(key, sizeof(struct weightened_nhop) * obj->nhg_nh_count)); in hash_nhgrp()
49 uint8_t nhg_nh_count; /* number of items in nh_weights */ member