Lines Matching refs:fibnum
336 dump_nhops_sysctl(int fibnum, int af, struct nhops_dump *nd) in dump_nhops_sysctl() argument
352 mib[6] = fibnum; in dump_nhops_sysctl()
355 fibnum); in dump_nhops_sysctl()
359 xo_err(EX_OSERR, "sysctl: net.route.0.%d.nhdump.%d", af, fibnum); in dump_nhops_sysctl()
393 print_nhops_sysctl(int fibnum, int af) in print_nhops_sysctl() argument
400 dump_nhops_sysctl(fibnum, af, &nd); in print_nhops_sysctl()
453 nhops_print(int fibnum, int af) in nhops_print() argument
459 if (fibnum == -1 && in nhops_print()
460 sysctlbyname("net.my_fibnum", &fibnum, &intsize, NULL, 0) == -1) in nhops_print()
461 fibnum = 0; in nhops_print()
464 if (fibnum < 0 || fibnum > numfibs - 1) in nhops_print()
465 xo_errx(EX_USAGE, "%d: invalid fib", fibnum); in nhops_print()
471 if (fibnum) in nhops_print()
472 xo_emit(" ({L:fib}: {:fib/%d})", fibnum); in nhops_print()
474 print_nhops_sysctl(fibnum, af); in nhops_print()