Lines Matching defs:mib
217 int mib[6], have, had;
230 mib[0] = CTL_NET;
231 mib[1] = PF_ROUTE;
232 mib[2] = 0;
233 mib[3] = 0;
234 mib[4] = NET_RT_IFLIST;
235 mib[5] = 0;
237 if (sysctl(mib, 6, NULL, &needed, NULL, 0) < 0) {
244 if (sysctl(mib, 6, buf, &needed, NULL, 0) < 0) {
339 int mib[6];
341 mib[0] = CTL_NET;
342 mib[1] = PF_ROUTE;
343 mib[2] = 0;
344 mib[3] = 0;
345 mib[4] = NET_RT_DUMP;
346 mib[5] = 0;
347 if (sysctl(mib, 6, NULL, &needed, NULL, 0) < 0) {
354 if (sysctl(mib, 6, sp, &needed, NULL, 0) < 0) {
393 int mib[6];
397 mib[0] = CTL_NET;
398 mib[1] = PF_ROUTE;
399 mib[2] = 0;
400 mib[3] = 0;
401 mib[4] = NET_RT_DUMP;
402 mib[5] = 0;
403 if (sysctl(mib, 6, NULL, &needed, NULL, 0) < 0) {
413 if (sysctl(mib, 6, sp, &needed, NULL, 0) < 0) {
484 int mib[6];
488 mib[0] = CTL_NET;
489 mib[1] = PF_ROUTE;
490 mib[2] = 0;
491 mib[3] = 0;
492 mib[4] = NET_RT_DUMP;
493 mib[5] = 0;
494 if (sysctl(mib, 6, NULL, &needed, NULL, 0) < 0) {
504 if (sysctl(mib, 6, sp, &needed, NULL, 0) < 0) {