Lines Matching refs:sysctl
40 #include <sys/sysctl.h>
269 * or force KVM backend to be disabled, try the sysctl backend.
791 * Retrieve per-group source filter mode and lists via sysctl.
821 if (sysctl(mib, mibsize, NULL, &needed, NULL, 0) == -1) {
822 perror("sysctl net.inet.ip.mcast.filters");
829 if (sysctl(mib, mibsize, buf, &needed, NULL, 0) == -1) {
831 perror("sysctl");
841 perror("sysctl");
882 * Retrieve MLD per-group source filter mode and lists via sysctl.
885 * 32-bit pieces for marshaling to sysctl. So the MIB name ends
925 if (sysctl(mib, mibsize, NULL, &needed, NULL, 0) == -1) {
926 perror("sysctl net.inet6.ip6.mcast.filters");
933 if (sysctl(mib, mibsize, buf, &needed, NULL, 0) == -1) {
935 perror("sysctl");
945 perror("sysctl");
1158 if (sysctl(mib, mibsize + 1, &igi, &len, NULL,
1160 perror("sysctl net.inet.igmp.ifinfo");
1183 if (sysctl(mib, mibsize + 1, &mli, &len, NULL,
1185 perror("sysctl net.inet6.mld.ifinfo");