Lines Matching defs:num_nhops
144 uint32_t num_nhops;
145 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops);
975 uint32_t num_nhops;
977 wn = nhgrp_get_nhops((struct nhgrp_object *)nh_orig, &num_nhops);
979 for (int i = 0; i < num_nhops; i++) {
993 wn_new = mallocarray(num_nhops, sizeof(struct weightened_nhop),
1000 memcpy(wn_new, wn, num_nhops * sizeof(struct weightened_nhop));
1001 for (int i = 0; i < num_nhops; i++) {
1009 error = nhgrp_get_group(rnh, wn_new, num_nhops, &rnd_new);
1347 uint32_t num_nhops;
1350 wn = nhgrp_get_nhops(nhg, &num_nhops);
1351 for (int i = 0; i < num_nhops; i++)