Lines Matching defs:nh_map
343 struct nhops_map *nh_map;
368 nh_map = calloc(nh_size, sizeof(struct nhops_map));
376 nh_map = realloc(nh_map, nh_size * sizeof(struct nhops_map));
380 nh_map[nh_count].idx = nh->nh_idx;
381 nh_map[nh_count].rtm = rtm;
386 qsort(nh_map, nh_count, sizeof(struct nhops_map), cmp_nh_idx);
389 nd->nh_map = nh_map;
405 nh = (struct nhop_external *)(nd.nh_map[0].rtm + 1);
424 rtm = nd.nh_map[i].rtm;