Home
last modified time | relevance | path

Searched refs:sysctl_buf (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/sbin/routed/
H A Dif.c647 static struct ifa_msghdr *sysctl_buf; in ifinit() local
696 if (sysctl(mib, 6, sysctl_buf,&needed, 0, 0) >= 0) in ifinit()
701 free(sysctl_buf); in ifinit()
706 sysctl_buf = rtmalloc(sysctl_buf_size = needed, in ifinit()
711 ifam_lim = (char *)sysctl_buf + needed; in ifinit()
712 for (ifam = sysctl_buf; (void *)ifam < ifam_lim; ifam = ifam2) { in ifinit()
H A Dtable.c1044 static char *sysctl_buf; in flush_kern() local
1070 if (sysctl(mib, 6, sysctl_buf,&needed, 0, 0) >= 0) in flush_kern()
1074 free(sysctl_buf); in flush_kern()
1084 sysctl_buf = rtmalloc(sysctl_buf_size = needed, in flush_kern()
1088 lim = sysctl_buf + needed; in flush_kern()
1089 for (next = sysctl_buf; next < lim; next += rtm->rtm_msglen) { in flush_kern()
1094 (u_long)rtm, (u_long)sysctl_buf, (u_long)lim); in flush_kern()