| 74 | static size_t ifmap_size; |
| 75 | |
| 76 | static struct nhop_entry * |
| 77 | nhop_get(struct nhop_map *map, uint32_t idx) |
| 78 | { |
| 79 | |
| 80 | if (idx >= map->size) |
| 81 | return (NULL); |
| 82 | if (*map->ptr[idx].ifname == '\0') |
| 83 | return (NULL); |
| 84 | return &map->ptr[idx]; |
| 85 | } |
| 86 | |
| 87 | static void |
| 88 | print_nhgroup_header(int af1 __unused) |
no outgoing calls
no test coverage detected