/freebsd-12-stable/tests/sys/netinet/ |
H A D | fibs_test.sh | 71 if [ 0 != `sysctl -n net.add_addr_allfibs` ]; then 116 if [ 0 != `sysctl -n net.add_addr_allfibs` ]; then 173 if [ 0 != `sysctl -n net.add_addr_allfibs` ]; then 234 if [ 0 != `sysctl -n net.add_addr_allfibs` ]; then 281 if [ 0 != `sysctl -n net.add_addr_allfibs` ]; then 463 if [ 0 != `sysctl -n net.add_addr_allfibs` ]; then 468 sysctl -n "net.inet6.ip6.rfc6204w3" >> "rfc6204w3.state" 469 sysctl -n "net.inet6.ip6.forwarding" >> "forwarding.state" 471 sysctl net.inet6.ip6.forwarding=1 474 sysctl ne [all...] |
/freebsd-12-stable/tools/tools/ifinfo/ |
H A D | ifinfo.c | 33 #include <sys/sysctl.h> 96 if (sysctl(name, 5, &maxifno, &len, 0, 0) < 0) 97 err(EX_OSERR, "sysctl(net.link.generic.system.ifcount)"); 104 if (sysctl(name, 6, &ifmd, &len, 0, 0) < 0) { 108 err(EX_OSERR, "sysctl(net.link.ifdata.%d.general)", 118 if (sysctl(name, 6, NULL, &len, 0, 0) < 0) { 119 warn("sysctl(net.link.ifdata.%d.drivername)", i); 123 if (sysctl(name, 6, dname, &len, 0, 0) < 0) { 124 warn("sysctl(net.link.ifdata.%d.drivername)", 134 if (sysctl(nam [all...] |
/freebsd-12-stable/usr.bin/systat/ |
H A D | ip.c | 47 #include <sys/sysctl.h> 264 if (sysctl(name, 4, 0, &len, 0, 0) < 0) { 265 error("sysctl getting ipstat size failed"); 272 if (sysctl(name, 4, &initstat.i, &len, 0, 0) < 0) { 273 error("sysctl getting ipstat failed"); 280 if (sysctl(name, 4, 0, &len, 0, 0) < 0) { 281 error("sysctl getting udpstat size failed"); 288 if (sysctl(name, 4, &initstat.u, &len, 0, 0) < 0) { 289 error("sysctl getting udpstat failed"); 308 if (sysctl(nam [all...] |
/freebsd-12-stable/contrib/ipfilter/ipsend/ |
H A D | 44arp.c | 9 #include <sys/sysctl.h> 89 if (sysctl(mib, 6, NULL, &needed, NULL, 0) == -1) 91 perror("route-sysctl-estimate"); 99 if (sysctl(mib, 6, buf, &needed, NULL, 0) == -1)
|
/freebsd-12-stable/lib/libc/gen/ |
H A D | setproctitle.c | 24 #include <sys/sysctl.h> 180 sysctl(oid, 4, 0, 0, "", 0); 202 sysctl(oid, 4, 0, 0, buf, strlen(buf) + 1);
|
H A D | ctermid.c | 34 #include <sys/sysctl.h>
|
H A D | devname.c | 37 #include <sys/sysctl.h>
|
H A D | getpagesizes.c | 34 #include <sys/sysctl.h> 65 /* Cache the result of the sysctl(2). */
|
/freebsd-12-stable/sbin/kldload/ |
H A D | kldload.c | 35 #include <sys/sysctl.h> 77 if (sysctl(mib, miblen, NULL, &pathlen, NULL, 0) == -1) 78 err(1, "getting path: sysctl(%s) - size only", PATHCTL); 83 if (sysctl(mib, miblen, path, &pathlen, NULL, 0) == -1) 84 err(1, "getting path: sysctl(%s)", PATHCTL);
|
/freebsd-12-stable/contrib/netbsd-tests/net/net/ |
H A D | t_forwarding.sh | 146 rump.sysctl net.inet6.ip6.forwarding 148 rump.sysctl net.inet.ip.forwarding 218 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet.ip.forwarding=1 224 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet6.ip6.forwarding=1 230 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet.ip.directed-broadcast=1 236 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet.icmp.bmcastecho=1 242 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet.ip.forwarding=0 248 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet6.ip6.forwarding=0 254 atf_check -s exit:0 -o ignore rump.sysctl -w net.inet.ip.directed-broadcast=0 260 atf_check -s exit:0 -o ignore rump.sysctl [all...] |
/freebsd-12-stable/contrib/netbsd-tests/ipf/ |
H A D | h_common.sh | 89 if [ `sysctl -n hw.byteorder` = 4321 ]; then
|
/freebsd-12-stable/contrib/netbsd-tests/kernel/ |
H A D | t_sysctl.c | 34 #include <sys/sysctl.h> 44 "Test sysctl integer reads with different buffer sizes");
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | isqemu.h | 35 #include <sys/sysctl.h> 50 err(EXIT_FAILURE, "sysctl"); 57 err(EXIT_FAILURE, "sysctl"); 75 err(EXIT_FAILURE, "sysctl");
|
/freebsd-12-stable/contrib/netbsd-tests/rump/rumpkern/ |
H A D | t_vm.c | 32 #include <sys/sysctl.h>
|
/freebsd-12-stable/contrib/netbsd-tests/rump/rumpvfs/ |
H A D | t_basic.c | 32 #include <sys/sysctl.h>
|
/freebsd-12-stable/contrib/ntp/lib/isc/unix/ |
H A D | os.c | 62 #include <sys/sysctl.h>
|
/freebsd-12-stable/contrib/smbfs/lib/smb/ |
H A D | kiconv.c | 38 #include <sys/sysctl.h>
|
/freebsd-12-stable/sys/dev/twa/ |
H A D | tw_osl_includes.h | 56 #include <sys/sysctl.h>
|
/freebsd-12-stable/sys/dev/ath/ |
H A D | if_ath_dfs.c | 37 #include <sys/sysctl.h>
|
H A D | if_ath_rate.c | 37 #include <sys/sysctl.h>
|
/freebsd-12-stable/sys/powerpc/powerpc/ |
H A D | sc_machdep.c | 41 #include <sys/sysctl.h>
|
H A D | syncicache.c | 45 #include <sys/sysctl.h>
|
/freebsd-12-stable/sys/security/mac_ntpd/ |
H A D | mac_ntpd.c | 34 #include <sys/sysctl.h>
|
/freebsd-12-stable/sys/mips/mips/ |
H A D | sc_machdep.c | 41 #include <sys/sysctl.h>
|
/freebsd-12-stable/sys/tests/runtest/ |
H A D | runtest.c | 36 #include <sys/sysctl.h>
|