nhops_map
struct nhops_map *nh_map;
const struct nhops_map *a, *b;
struct nhops_map *nhg_map;
nhg_map = calloc(nhg_size, sizeof(struct nhops_map));
nhg_map = realloc(nhg_map, nhg_size * sizeof(struct nhops_map));
qsort(nhg_map, nhg_count, sizeof(struct nhops_map), cmp_nhg_idx);
const struct nhops_map *a, *b;
struct nhops_map *nh_map;
nh_map = calloc(nh_size, sizeof(struct nhops_map));
nh_map = realloc(nh_map, nh_size * sizeof(struct nhops_map));
qsort(nh_map, nh_count, sizeof(struct nhops_map), cmp_nh_idx);