Lines Matching defs:nd
193 dump_nhgrp_sysctl(int fibnum, int af, struct nhops_dump *nd)
244 nd->nh_buf = buf;
245 nd->nh_count = nhg_count;
246 nd->nh_map = nhg_map;
252 struct nhops_dump nd;
256 dump_nhgrp_sysctl(fibnum, af, &nd);
260 if (nd.nh_count > 0) {
268 for (size_t i = 0; i < nd.nh_count; i++) {
269 rtm = nd.nh_map[i].rtm;
276 free(nd.nh_buf);
311 struct nhops_dump nd;
315 dump_nhops_sysctl(fibnum, af, &nd);
317 for (size_t i = 0; i < nd.nh_count; i++) {
318 rtm = nd.nh_map[i].rtm;
323 free(nd.nh_buf);