Searched refs:sysctl_buf (Results 1 - 2 of 2) sorted by relevance
/freebsd-10-stable/sbin/routed/ |
H A D | if.c | 645 static struct ifa_msghdr *sysctl_buf; local 694 if (sysctl(mib, 6, sysctl_buf,&needed, 0, 0) >= 0) 699 free(sysctl_buf); 704 sysctl_buf = rtmalloc(sysctl_buf_size = needed, 709 ifam_lim = (char *)sysctl_buf + needed; 710 for (ifam = sysctl_buf; (void *)ifam < ifam_lim; ifam = ifam2) {
|
H A D | table.c | 1042 static char *sysctl_buf; local 1068 if (sysctl(mib, 6, sysctl_buf,&needed, 0, 0) >= 0) 1072 free(sysctl_buf); 1082 sysctl_buf = rtmalloc(sysctl_buf_size = needed, 1086 lim = sysctl_buf + needed; 1087 for (next = sysctl_buf; next < lim; next += rtm->rtm_msglen) { 1092 (u_long)rtm, (u_long)sysctl_buf, (u_long)lim);
|
Completed in 133 milliseconds