HomeSort by: relevance | last modified time | path
    Searched defs:sysctl_buf (Results 1 - 2 of 2) sorted by relevancy

  /src/sbin/routed/
if.c 682 static char *sysctl_buf; local in function:ifinit
730 if (sysctl(mib, 6, sysctl_buf,&needed, 0, 0) >= 0)
735 free(sysctl_buf);
740 sysctl_buf = rtmalloc(sysctl_buf_size = needed,
744 ifam_lim = (struct ifa_msghdr *)(sysctl_buf + needed);
745 for (ifam = (struct ifa_msghdr *)sysctl_buf;
table.c 1049 static char *sysctl_buf; local in function:flush_kern
1075 if (sysctl(mib, 6, sysctl_buf,&needed, 0, 0) >= 0)
1079 free(sysctl_buf);
1089 sysctl_buf = rtmalloc(sysctl_buf_size = needed,
1093 lim = sysctl_buf + needed;
1094 for (next = sysctl_buf; next < lim; next += rtm->rtm_msglen) {
1099 (u_long)rtm, (u_long)sysctl_buf, (u_long)lim);

Completed in 54 milliseconds