Lines Matching defs:nh_count
344 size_t nh_count, nh_size;
366 nh_count = 0;
374 if (nh_count >= nh_size) {
380 nh_map[nh_count].idx = nh->nh_idx;
381 nh_map[nh_count].rtm = rtm;
382 nh_count++;
385 if (nh_count > 0)
386 qsort(nh_map, nh_count, sizeof(struct nhops_map), cmp_nh_idx);
388 nd->nh_count = nh_count;
404 if (nd.nh_count > 0) {
423 for (size_t i = 0; i < nd.nh_count; i++) {