• Home
  • Raw
  • Download

Lines Matching refs:mib

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