2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
23 * @APPLE_LICENSE_HEADER_END@
26 #include <sys/param.h>
28 #include <sys/kernel.h>
29 #include <sys/sysctl.h>
31 extern struct sysctl_oid sysctl__debug_bpf_bufsize
;
32 extern struct sysctl_oid sysctl__debug_bpf_maxbufsize
;
35 extern struct sysctl_oid sysctl__debug_if_tun_debug
;
40 extern struct sysctl_oid sysctl__debug_ttydebug
;
44 extern struct sysctl_oid sysctl__hw_machine
;
45 extern struct sysctl_oid sysctl__hw_model
;
46 extern struct sysctl_oid sysctl__hw_ncpu
;
47 extern struct sysctl_oid sysctl__hw_activecpu
;
48 extern struct sysctl_oid sysctl__hw_byteorder
;
49 extern struct sysctl_oid sysctl__hw_cputype
;
50 extern struct sysctl_oid sysctl__hw_cpusubtype
;
51 extern struct sysctl_oid sysctl__hw_physmem
;
52 extern struct sysctl_oid sysctl__hw_usermem
;
53 extern struct sysctl_oid sysctl__hw_pagesize
;
54 extern struct sysctl_oid sysctl__hw_epoch
;
55 extern struct sysctl_oid sysctl__hw_vectorunit
;
56 extern struct sysctl_oid sysctl__hw_busfrequency
;
57 extern struct sysctl_oid sysctl__hw_busfrequency_min
;
58 extern struct sysctl_oid sysctl__hw_busfrequency_max
;
59 extern struct sysctl_oid sysctl__hw_cpufrequency
;
60 extern struct sysctl_oid sysctl__hw_cpufrequency_min
;
61 extern struct sysctl_oid sysctl__hw_cpufrequency_max
;
62 extern struct sysctl_oid sysctl__hw_cachelinesize
;
63 extern struct sysctl_oid sysctl__hw_l1icachesize
;
64 extern struct sysctl_oid sysctl__hw_l1dcachesize
;
65 extern struct sysctl_oid sysctl__hw_l2settings
;
66 extern struct sysctl_oid sysctl__hw_l2cachesize
;
67 extern struct sysctl_oid sysctl__hw_l3settings
;
68 extern struct sysctl_oid sysctl__hw_l3cachesize
;
69 extern struct sysctl_oid sysctl__hw_tbfrequency
;
70 extern struct sysctl_oid sysctl__hw_memsize
;
72 extern struct sysctl_oid sysctl__hw_optional
;
73 extern struct sysctl_oid sysctl__hw_optional_floatingpoint
;
75 extern struct sysctl_oid sysctl__hw_pagesize_compat
;
76 extern struct sysctl_oid sysctl__hw_busfrequency_compat
;
77 extern struct sysctl_oid sysctl__hw_cpufrequency_compat
;
78 extern struct sysctl_oid sysctl__hw_cachelinesize_compat
;
79 extern struct sysctl_oid sysctl__hw_l1icachesize_compat
;
80 extern struct sysctl_oid sysctl__hw_l1dcachesize_compat
;
81 extern struct sysctl_oid sysctl__hw_l2cachesize_compat
;
82 extern struct sysctl_oid sysctl__hw_l3cachesize_compat
;
83 extern struct sysctl_oid sysctl__hw_tbfrequency_compat
;
85 extern struct sysctl_oid sysctl__kern_sysv_shmmax
;
86 extern struct sysctl_oid sysctl__kern_sysv_shmmin
;
87 extern struct sysctl_oid sysctl__kern_sysv_shmmni
;
88 extern struct sysctl_oid sysctl__kern_sysv_shmseg
;
89 extern struct sysctl_oid sysctl__kern_sysv_shmall
;
91 extern struct sysctl_oid sysctl__kern_dummy
;
92 extern struct sysctl_oid sysctl__kern_ipc_maxsockbuf
;
93 extern struct sysctl_oid sysctl__kern_ipc_nmbclusters
;
94 extern struct sysctl_oid sysctl__kern_ipc_sockbuf_waste_factor
;
95 extern struct sysctl_oid sysctl__kern_ipc_somaxconn
;
96 extern struct sysctl_oid sysctl__kern_ipc_sosendminchain
;
97 extern struct sysctl_oid sysctl__kern_ipc_maxsockets
;
98 extern struct sysctl_oid sysctl__net_inet_icmp_icmplim
;
99 extern struct sysctl_oid sysctl__net_inet_icmp_maskrepl
;
100 extern struct sysctl_oid sysctl__net_inet_icmp_bmcastecho
;
101 extern struct sysctl_oid sysctl__net_inet_icmp_log_redirect
;
102 extern struct sysctl_oid sysctl__net_inet_icmp_drop_redirect
;
103 extern struct sysctl_oid sysctl__net_inet_ip_accept_sourceroute
;
106 extern struct sysctl_oid sysctl__net_inet_ip_mtu
;
109 extern struct sysctl_oid sysctl__net_inet_ip_ttl
;
110 extern struct sysctl_oid sysctl__net_inet_ip_fastforwarding
;
111 extern struct sysctl_oid sysctl__net_inet_ip_forwarding
;
112 extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_drops
;
113 extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_maxlen
;
114 extern struct sysctl_oid sysctl__net_inet_ip_rtexpire
;
115 extern struct sysctl_oid sysctl__net_inet_ip_rtmaxcache
;
116 extern struct sysctl_oid sysctl__net_inet_ip_rtminexpire
;
117 extern struct sysctl_oid sysctl__net_inet_ip_redirect
;
118 extern struct sysctl_oid sysctl__net_inet_ip_sourceroute
;
119 extern struct sysctl_oid sysctl__net_inet_ip_subnets_are_local
;
120 extern struct sysctl_oid sysctl__net_inet_ip_keepfaith
;
121 extern struct sysctl_oid sysctl__net_inet_ip_maxfragpackets
;
122 extern struct sysctl_oid sysctl__net_inet_ip_check_interface
;
123 extern struct sysctl_oid sysctl__net_inet_ip_check_route_selfref
;
125 extern struct sysctl_oid sysctl__net_inet_ip_gifttl
;
129 extern struct sysctl_oid sysctl__net_inet_ip_dummynet_calls
;
130 extern struct sysctl_oid sysctl__net_inet_ip_dummynet_debug
;
131 extern struct sysctl_oid sysctl__net_inet_ip_dummynet_idle
;
132 extern struct sysctl_oid sysctl__net_inet_ip_dummynet
;
135 #if IPFIREWALL && !IPFIREWALL_KEXT
136 extern struct sysctl_oid sysctl__net_inet_ip_fw_debug
;
137 extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose
;
138 extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose_limit
;
139 extern struct sysctl_oid sysctl__net_inet_ip_fw_one_pass
;
140 extern struct sysctl_oid sysctl__net_inet_ip_fw
;
143 extern struct sysctl_oid sysctl__net_inet_ip_linklocal
;
144 extern struct sysctl_oid sysctl__net_inet_ip_linklocal_stat
;
145 extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in
;
146 extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in_allowbadttl
;
148 extern struct sysctl_oid sysctl__net_inet_raw_maxdgram
;
149 extern struct sysctl_oid sysctl__net_inet_raw_recvspace
;
150 extern struct sysctl_oid sysctl__net_inet_tcp_always_keepalive
;
151 extern struct sysctl_oid sysctl__net_inet_tcp_delayed_ack
;
152 extern struct sysctl_oid sysctl__net_inet_tcp_log_in_vain
;
153 extern struct sysctl_oid sysctl__net_inet_tcp_pcbcount
;
154 extern struct sysctl_oid sysctl__net_inet_tcp_rfc1323
;
155 extern struct sysctl_oid sysctl__net_inet_tcp_rfc1644
;
156 extern struct sysctl_oid sysctl__net_inet_tcp_keepidle
;
157 extern struct sysctl_oid sysctl__net_inet_tcp_keepinit
;
158 extern struct sysctl_oid sysctl__net_inet_tcp_keepintvl
;
159 extern struct sysctl_oid sysctl__net_inet_tcp_mssdflt
;
160 extern struct sysctl_oid sysctl__net_inet_tcp_recvspace
;
161 extern struct sysctl_oid sysctl__net_inet_tcp_sendspace
;
162 extern struct sysctl_oid sysctl__net_inet_tcp_slowlink_wsize
;
163 extern struct sysctl_oid sysctl__net_inet_tcp_blackhole
;
164 extern struct sysctl_oid sysctl__net_inet_tcp_tcp_lq_overflow
;
165 extern struct sysctl_oid sysctl__net_inet_tcp_path_mtu_discovery
;
166 extern struct sysctl_oid sysctl__net_inet_tcp_slowstart_flightsize
;
167 extern struct sysctl_oid sysctl__net_inet_tcp_local_slowstart_flightsize
;
168 extern struct sysctl_oid sysctl__net_inet_tcp_newreno
;
169 extern struct sysctl_oid sysctl__net_inet_tcp_tcbhashsize
;
170 extern struct sysctl_oid sysctl__net_inet_tcp_do_tcpdrain
;
171 extern struct sysctl_oid sysctl__net_inet_tcp_icmp_may_rst
;
172 extern struct sysctl_oid sysctl__net_inet_tcp_strict_rfc1948
;
173 extern struct sysctl_oid sysctl__net_inet_tcp_delacktime
;
174 extern struct sysctl_oid sysctl__net_inet_tcp_isn_reseed_interval
;
175 extern struct sysctl_oid sysctl__net_inet_tcp_msl
;
177 extern struct sysctl_oid sysctl__net_inet_tcp_drop_synfin
;
180 extern struct sysctl_oid sysctl__net_inet_tcp_tcpconsdebug
;
182 extern struct sysctl_oid sysctl__net_inet_udp_log_in_vain
;
183 extern struct sysctl_oid sysctl__net_inet_udp_checksum
;
184 extern struct sysctl_oid sysctl__net_inet_udp_maxdgram
;
185 extern struct sysctl_oid sysctl__net_inet_udp_recvspace
;
186 extern struct sysctl_oid sysctl__net_inet_udp_blackhole
;
189 extern struct sysctl_oid sysctl__net_appletalk_debug
;
190 extern struct sysctl_oid sysctl__net_appletalk_routermix
;
191 extern struct sysctl_oid sysctl__net_appletalk_ddpstats
;
195 extern struct sysctl_oid sysctl__net_link_ether_bdgfwc
;
196 extern struct sysctl_oid sysctl__net_link_ether_bdgfwt
;
197 extern struct sysctl_oid sysctl__net_link_ether_bdginc
;
198 extern struct sysctl_oid sysctl__net_link_ether_bdgint
;
199 extern struct sysctl_oid sysctl__net_link_ether_bridge_ipfw
;
200 extern struct sysctl_oid sysctl__net_link_ethe_bdgstats
;
203 extern struct sysctl_oid sysctl__net_link_ether_inet_host_down_time
;
204 extern struct sysctl_oid sysctl__net_link_ether_inet_max_age
;
205 extern struct sysctl_oid sysctl__net_link_ether_inet_maxtries
;
206 extern struct sysctl_oid sysctl__net_link_ether_inet_proxyall
;
207 extern struct sysctl_oid sysctl__net_link_ether_inet_prune_intvl
;
208 extern struct sysctl_oid sysctl__net_link_ether_inet_useloopback
;
209 extern struct sysctl_oid sysctl__net_link_ether_inet_log_arp_wrong_iface
;
210 extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_tx
;
211 extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_rx
;
214 extern struct sysctl_oid sysctl__net_link_generic_system_ifcount
;
215 extern struct sysctl_oid sysctl__net_link_generic
;
216 extern struct sysctl_oid sysctl__net_link_generic_ifdata
;
217 extern struct sysctl_oid sysctl__net_link_generic_system
;
221 extern struct sysctl_oid sysctl__net_link_vlan_link_proto
;
222 extern struct sysctl_oid sysctl__net_link_vlan
;
223 extern struct sysctl_oid sysctl__net_link_vlan_link
;
226 extern struct sysctl_oid sysctl__net_local_inflight
;
227 extern struct sysctl_oid sysctl__net_local_dgram_maxdgram
;
228 extern struct sysctl_oid sysctl__net_local_dgram_recvspace
;
229 extern struct sysctl_oid sysctl__net_local_stream_recvspace
;
230 extern struct sysctl_oid sysctl__net_local_stream_sendspace
;
233 extern struct sysctl_oid sysctl__vfs_nfs_nfs_privport
;
234 extern struct sysctl_oid sysctl__vfs_nfs_async
;
235 extern struct sysctl_oid sysctl__vfs_nfs_debug
;
236 extern struct sysctl_oid sysctl__vfs_nfs_defect
;
237 extern struct sysctl_oid sysctl__vfs_nfs_diskless_valid
;
238 extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay
;
239 extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay_v3
;
240 extern struct sysctl_oid sysctl__vfs_nfs
;
241 extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootaddr
;
242 extern struct sysctl_oid sysctl__vfs_nfs_diskless_swapaddr
;
243 extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootpath
;
244 extern struct sysctl_oid sysctl__vfs_nfs_diskless_swappath
;
245 extern struct sysctl_oid sysctl__vfs_nfs_nfsstats
;
248 extern struct sysctl_oid sysctl__kern_ipc
;
249 extern struct sysctl_oid sysctl__kern_sysv
;
251 extern struct sysctl_oid sysctl__net_inet
;
254 extern struct sysctl_oid sysctl__net_appletalk
;
257 extern struct sysctl_oid sysctl__net_link
;
258 extern struct sysctl_oid sysctl__net_local
;
259 extern struct sysctl_oid sysctl__net_routetable
;
262 extern struct sysctl_oid sysctl__net_inet_div
;
265 extern struct sysctl_oid sysctl__net_inet_icmp
;
266 extern struct sysctl_oid sysctl__net_inet_igmp
;
267 extern struct sysctl_oid sysctl__net_inet_ip
;
268 extern struct sysctl_oid sysctl__net_inet_raw
;
269 extern struct sysctl_oid sysctl__net_inet_tcp
;
270 extern struct sysctl_oid sysctl__net_inet_udp
;
271 extern struct sysctl_oid sysctl__net_inet_ip_portrange
;
273 extern struct sysctl_oid sysctl__net_link_ether
;
274 extern struct sysctl_oid sysctl__net_link_ether_inet
;
276 extern struct sysctl_oid sysctl__net_local_dgram
;
277 extern struct sysctl_oid sysctl__net_local_stream
;
278 extern struct sysctl_oid sysctl__sysctl_name
;
279 extern struct sysctl_oid sysctl__sysctl_next
;
280 extern struct sysctl_oid sysctl__sysctl_oidfmt
;
281 extern struct sysctl_oid sysctl__net_inet_ip_portrange_first
;
282 extern struct sysctl_oid sysctl__net_inet_ip_portrange_hifirst
;
283 extern struct sysctl_oid sysctl__net_inet_ip_portrange_hilast
;
284 extern struct sysctl_oid sysctl__net_inet_ip_portrange_last
;
285 extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowfirst
;
286 extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowlast
;
287 extern struct sysctl_oid sysctl__net_inet_raw_pcblist
;
288 extern struct sysctl_oid sysctl__net_inet_tcp_pcblist
;
289 extern struct sysctl_oid sysctl__net_inet_udp_pcblist
;
290 extern struct sysctl_oid sysctl__net_link_ether_bridge
;
291 extern struct sysctl_oid sysctl__net_local_dgram_pcblist
;
292 extern struct sysctl_oid sysctl__net_local_stream_pcblist
;
293 extern struct sysctl_oid sysctl__sysctl_debug
;
294 extern struct sysctl_oid sysctl__sysctl_name2oid
;
295 extern struct sysctl_oid sysctl__net_inet_icmp_stats
;
296 extern struct sysctl_oid sysctl__net_inet_igmp_stats
;
297 extern struct sysctl_oid sysctl__net_inet_ip_stats
;
298 extern struct sysctl_oid sysctl__net_inet_tcp_stats
;
299 extern struct sysctl_oid sysctl__net_inet_udp_stats
;
300 extern struct sysctl_oid sysctl__kern
;
301 extern struct sysctl_oid sysctl__hw
;
302 extern struct sysctl_oid sysctl__net
;
303 extern struct sysctl_oid sysctl__debug
;
304 extern struct sysctl_oid sysctl__vfs
;
305 extern struct sysctl_oid sysctl__sysctl
;
308 extern struct sysctl_oid sysctl__net_inet_tcp_v6mssdflt
;
309 extern struct sysctl_oid sysctl__net_inet6
;
310 extern struct sysctl_oid sysctl__net_inet6_ip6
;
311 extern struct sysctl_oid sysctl__net_inet6_ip6_stats
;
312 extern struct sysctl_oid sysctl__net_inet6_icmp6
;
313 extern struct sysctl_oid sysctl__net_inet6_ip6_forwarding
;
314 extern struct sysctl_oid sysctl__net_inet6_ip6_redirect
;
315 extern struct sysctl_oid sysctl__net_inet6_ip6_hlim
;
316 extern struct sysctl_oid sysctl__net_inet6_ip6_maxfragpackets
;
317 extern struct sysctl_oid sysctl__net_inet6_ip6_accept_rtadv
;
318 extern struct sysctl_oid sysctl__net_inet6_ip6_keepfaith
;
319 extern struct sysctl_oid sysctl__net_inet6_ip6_log_interval
;
320 extern struct sysctl_oid sysctl__net_inet6_ip6_hdrnestlimit
;
321 extern struct sysctl_oid sysctl__net_inet6_ip6_dad_count
;
322 extern struct sysctl_oid sysctl__net_inet6_ip6_auto_flowlabel
;
323 extern struct sysctl_oid sysctl__net_inet6_ip6_defmcasthlim
;
324 extern struct sysctl_oid sysctl__net_inet6_ip6_gifhlim
;
325 extern struct sysctl_oid sysctl__net_inet6_ip6_kame_version
;
326 extern struct sysctl_oid sysctl__net_inet6_ip6_use_deprecated
;
327 extern struct sysctl_oid sysctl__net_inet6_ip6_rr_prune
;
328 extern struct sysctl_oid sysctl__net_inet6_ip6_use_tempaddr
;
329 extern struct sysctl_oid sysctl__net_inet6_ip6_v6only
;
330 extern struct sysctl_oid sysctl__net_inet6_ip6_auto_linklocal
;
331 extern struct sysctl_oid sysctl__net_inet6_ip6_rip6stats
;
332 extern struct sysctl_oid sysctl__net_inet6_ip6_rtexpire
;
333 extern struct sysctl_oid sysctl__net_inet6_ip6_rtminexpire
;
334 extern struct sysctl_oid sysctl__net_inet6_ip6_rtmaxcache
;
335 extern struct sysctl_oid sysctl__net_inet6_ip6_temppltime
;
336 extern struct sysctl_oid sysctl__net_inet6_ip6_tempvltime
;
337 extern struct sysctl_oid sysctl__net_inet6_ip6_auto_on
;
339 extern struct sysctl_oid sysctl__net_inet6_ip6_fw
;
340 extern struct sysctl_oid sysctl__net_inet6_ip6_fw_debug
;
341 extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose
;
342 extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose_limit
;
344 extern struct sysctl_oid sysctl__net_inet6_icmp6_rediraccept
;
345 extern struct sysctl_oid sysctl__net_inet6_icmp6_redirtimeout
;
346 extern struct sysctl_oid sysctl__net_inet6_icmp6_stats
;
347 extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo
;
348 extern struct sysctl_oid sysctl__net_inet6_icmp6_errppslimit
;
349 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_maxnudhint
;
350 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_debug
;
351 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_prune
;
352 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_delay
;
353 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_umaxtries
;
354 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_mmaxtries
;
355 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_useloopback
;
356 extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo
;
358 extern struct sysctl_oid sysctl__net_inet6_ipsec6
;
359 extern struct sysctl_oid sysctl__net_inet6_ipsec6_stats
;
360 extern struct sysctl_oid sysctl__net_inet6_ipsec6_def_policy
;
361 extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_trans_deflev
;
362 extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_net_deflev
;
363 extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_trans_deflev
;
364 extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_net_deflev
;
365 extern struct sysctl_oid sysctl__net_inet6_ipsec6_ecn
;
366 extern struct sysctl_oid sysctl__net_inet6_ipsec6_debug
;
367 extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_randpad
;
371 extern struct sysctl_oid sysctl__net_inet_ipsec
;
372 extern struct sysctl_oid sysctl__net_inet_ipsec_bypass
;
373 extern struct sysctl_oid sysctl__net_inet_ipsec_def_policy
;
374 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_randpad
;
375 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_trans_deflev
;
376 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_net_deflev
;
377 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_trans_deflev
;
378 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_net_deflev
;
379 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_cleartos
;
380 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_offsetmask
;
381 extern struct sysctl_oid sysctl__net_inet_ipsec_dfbit
;
382 extern struct sysctl_oid sysctl__net_inet_ipsec_ecn
;
383 extern struct sysctl_oid sysctl__net_inet_ipsec_debug
;
384 extern struct sysctl_oid sysctl__net_inet_ipsec_stats
;
385 extern struct sysctl_oid sysctl__net_key
;
386 extern struct sysctl_oid sysctl__net_key_debug
;
387 extern struct sysctl_oid sysctl__net_key_spi_trycnt
;
388 extern struct sysctl_oid sysctl__net_key_spi_minval
;
389 extern struct sysctl_oid sysctl__net_key_spi_maxval
;
390 extern struct sysctl_oid sysctl__net_key_int_random
;
391 extern struct sysctl_oid sysctl__net_key_larval_lifetime
;
392 extern struct sysctl_oid sysctl__net_key_blockacq_count
;
393 extern struct sysctl_oid sysctl__net_key_blockacq_lifetime
;
394 extern struct sysctl_oid sysctl__net_key_esp_keymin
;
395 extern struct sysctl_oid sysctl__net_key_ah_keymin
;
399 struct sysctl_oid
*newsysctl_list
[] =
407 &sysctl__debug_bpf_bufsize
,
408 &sysctl__debug_bpf_maxbufsize
410 ,&sysctl__debug_if_tun_debug
415 ,&sysctl__debug_ttydebug
419 ,&sysctl__kern_sysv_shmmax
420 ,&sysctl__kern_sysv_shmmin
421 ,&sysctl__kern_sysv_shmmni
422 ,&sysctl__kern_sysv_shmseg
423 ,&sysctl__kern_sysv_shmall
425 ,&sysctl__kern_ipc_maxsockbuf
426 ,&sysctl__kern_ipc_nmbclusters
427 ,&sysctl__kern_ipc_sockbuf_waste_factor
428 ,&sysctl__kern_ipc_somaxconn
429 ,&sysctl__kern_ipc_sosendminchain
430 ,&sysctl__kern_ipc_maxsockets
435 ,&sysctl__hw_activecpu
436 ,&sysctl__hw_byteorder
438 ,&sysctl__hw_cpusubtype
441 ,&sysctl__hw_pagesize
443 ,&sysctl__hw_vectorunit
444 ,&sysctl__hw_busfrequency
445 ,&sysctl__hw_busfrequency_min
446 ,&sysctl__hw_busfrequency_max
447 ,&sysctl__hw_cpufrequency
448 ,&sysctl__hw_cpufrequency_min
449 ,&sysctl__hw_cpufrequency_max
450 ,&sysctl__hw_cachelinesize
451 ,&sysctl__hw_l1icachesize
452 ,&sysctl__hw_l1dcachesize
453 ,&sysctl__hw_l2settings
454 ,&sysctl__hw_l2cachesize
455 ,&sysctl__hw_l3settings
456 ,&sysctl__hw_l3cachesize
457 ,&sysctl__hw_tbfrequency
459 ,&sysctl__hw_optional
460 ,&sysctl__hw_optional_floatingpoint
462 ,&sysctl__hw_pagesize_compat
463 ,&sysctl__hw_busfrequency_compat
464 ,&sysctl__hw_cpufrequency_compat
465 ,&sysctl__hw_cachelinesize_compat
466 ,&sysctl__hw_l1icachesize_compat
467 ,&sysctl__hw_l1dcachesize_compat
468 ,&sysctl__hw_l2cachesize_compat
469 ,&sysctl__hw_l3cachesize_compat
470 ,&sysctl__hw_tbfrequency_compat
472 ,&sysctl__net_inet_icmp_icmplim
473 ,&sysctl__net_inet_icmp_maskrepl
474 ,&sysctl__net_inet_icmp_bmcastecho
475 ,&sysctl__net_inet_icmp_drop_redirect
476 ,&sysctl__net_inet_icmp_log_redirect
477 ,&sysctl__net_inet_ip_accept_sourceroute
479 ,&sysctl__net_inet_ip_mtu
481 ,&sysctl__net_inet_ip_ttl
482 ,&sysctl__net_inet_ip_fastforwarding
483 ,&sysctl__net_inet_ip_forwarding
484 ,&sysctl__net_inet_ip_intr_queue_drops
485 ,&sysctl__net_inet_ip_intr_queue_maxlen
486 ,&sysctl__net_inet_ip_rtexpire
487 ,&sysctl__net_inet_ip_rtmaxcache
488 ,&sysctl__net_inet_ip_rtminexpire
489 ,&sysctl__net_inet_ip_redirect
490 ,&sysctl__net_inet_ip_sourceroute
491 ,&sysctl__net_inet_ip_subnets_are_local
492 ,&sysctl__net_inet_ip_keepfaith
493 ,&sysctl__net_inet_ip_maxfragpackets
494 ,&sysctl__net_inet_ip_check_interface
495 ,&sysctl__net_inet_ip_check_route_selfref
497 ,&sysctl__net_inet_ip_gifttl
500 ,&sysctl__net_inet_ip_dummynet_calls
501 ,&sysctl__net_inet_ip_dummynet_debug
502 ,&sysctl__net_inet_ip_dummynet_idle
503 ,&sysctl__net_inet_ip_dummynet
506 #if IPFIREWALL && !IPFIREWALL_KEXT
507 ,&sysctl__net_inet_ip_fw_debug
508 ,&sysctl__net_inet_ip_fw_verbose
509 ,&sysctl__net_inet_ip_fw_verbose_limit
510 ,&sysctl__net_inet_ip_fw_one_pass
511 ,&sysctl__net_inet_ip_fw
513 ,&sysctl__net_inet_ip_linklocal
514 ,&sysctl__net_inet_ip_linklocal_stat
515 ,&sysctl__net_inet_ip_linklocal_in
516 ,&sysctl__net_inet_ip_linklocal_in_allowbadttl
517 ,&sysctl__net_inet_raw_maxdgram
518 ,&sysctl__net_inet_raw_recvspace
519 ,&sysctl__net_inet_tcp_always_keepalive
520 ,&sysctl__net_inet_tcp_delayed_ack
521 ,&sysctl__net_inet_tcp_log_in_vain
522 ,&sysctl__net_inet_tcp_pcbcount
523 ,&sysctl__net_inet_tcp_rfc1323
524 ,&sysctl__net_inet_tcp_rfc1644
525 ,&sysctl__net_inet_tcp_keepidle
526 ,&sysctl__net_inet_tcp_keepinit
527 ,&sysctl__net_inet_tcp_keepintvl
528 ,&sysctl__net_inet_tcp_mssdflt
529 ,&sysctl__net_inet_tcp_recvspace
530 ,&sysctl__net_inet_tcp_sendspace
531 ,&sysctl__net_inet_tcp_slowlink_wsize
532 ,&sysctl__net_inet_tcp_blackhole
533 ,&sysctl__net_inet_tcp_tcp_lq_overflow
534 ,&sysctl__net_inet_tcp_path_mtu_discovery
535 ,&sysctl__net_inet_tcp_slowstart_flightsize
536 ,&sysctl__net_inet_tcp_local_slowstart_flightsize
537 ,&sysctl__net_inet_tcp_newreno
538 ,&sysctl__net_inet_tcp_tcbhashsize
539 ,&sysctl__net_inet_tcp_do_tcpdrain
540 ,&sysctl__net_inet_tcp_icmp_may_rst
541 ,&sysctl__net_inet_tcp_strict_rfc1948
542 ,&sysctl__net_inet_tcp_delacktime
543 ,&sysctl__net_inet_tcp_isn_reseed_interval
544 ,&sysctl__net_inet_tcp_msl
546 ,&sysctl__net_inet_tcp_drop_synfin
549 ,&sysctl__net_inet_tcp_tcpconsdebug
551 ,&sysctl__net_inet_udp_log_in_vain
552 ,&sysctl__net_inet_udp_checksum
553 ,&sysctl__net_inet_udp_maxdgram
554 ,&sysctl__net_inet_udp_recvspace
555 ,&sysctl__net_inet_udp_blackhole
558 ,&sysctl__net_appletalk_debug
559 ,&sysctl__net_appletalk_routermix
560 ,&sysctl__net_appletalk_ddpstats
564 ,&sysctl__net_link_ether_bdgfwc
565 ,&sysctl__net_link_ether_bdgfwt
566 ,&sysctl__net_link_ether_bdginc
567 ,&sysctl__net_link_ether_bdgint
568 ,&sysctl__net_link_ether_bridge_ipfw
569 ,&sysctl__net_link_ethe_bdgstats
570 ,&sysctl__net_link_ether_bridge
573 ,&sysctl__net_link_ether_inet_host_down_time
574 ,&sysctl__net_link_ether_inet_max_age
575 ,&sysctl__net_link_ether_inet_maxtries
576 ,&sysctl__net_link_ether_inet_proxyall
577 ,&sysctl__net_link_ether_inet_prune_intvl
578 ,&sysctl__net_link_ether_inet_useloopback
579 ,&sysctl__net_link_ether_inet_log_arp_wrong_iface
580 ,&sysctl__net_link_ether_inet_apple_hwcksum_tx
581 ,&sysctl__net_link_ether_inet_apple_hwcksum_rx
583 ,&sysctl__net_link_generic_system_ifcount
584 ,&sysctl__net_link_generic
585 ,&sysctl__net_link_generic_ifdata
586 ,&sysctl__net_link_generic_system
590 ,&sysctl__net_link_vlan_link_proto
591 ,&sysctl__net_link_vlan
592 ,&sysctl__net_link_vlan_link
595 ,&sysctl__net_local_inflight
596 ,&sysctl__net_local_dgram_maxdgram
597 ,&sysctl__net_local_dgram_recvspace
598 ,&sysctl__net_local_stream_recvspace
599 ,&sysctl__net_local_stream_sendspace
601 ,&sysctl__vfs_nfs_nfs_privport
602 ,&sysctl__vfs_nfs_async
603 ,&sysctl__vfs_nfs_debug
604 ,&sysctl__vfs_nfs_defect
605 ,&sysctl__vfs_nfs_diskless_valid
606 ,&sysctl__vfs_nfs_gatherdelay
607 ,&sysctl__vfs_nfs_gatherdelay_v3
609 ,&sysctl__vfs_nfs_diskless_rootaddr
610 ,&sysctl__vfs_nfs_diskless_swapaddr
611 ,&sysctl__vfs_nfs_diskless_rootpath
612 ,&sysctl__vfs_nfs_diskless_swappath
613 ,&sysctl__vfs_nfs_nfsstats
619 ,&sysctl__net_appletalk
623 ,&sysctl__net_routetable
625 ,&sysctl__net_inet_div
627 ,&sysctl__net_inet_icmp
628 ,&sysctl__net_inet_igmp
629 ,&sysctl__net_inet_ip
630 ,&sysctl__net_inet_raw
631 ,&sysctl__net_inet_tcp
632 ,&sysctl__net_inet_udp
633 ,&sysctl__net_inet_ip_portrange
634 ,&sysctl__net_link_ether
635 ,&sysctl__net_link_ether_inet
636 ,&sysctl__net_local_dgram
637 ,&sysctl__net_local_stream
638 ,&sysctl__sysctl_name
639 ,&sysctl__sysctl_next
640 ,&sysctl__sysctl_oidfmt
641 ,&sysctl__net_inet_ip_portrange_first
642 ,&sysctl__net_inet_ip_portrange_hifirst
643 ,&sysctl__net_inet_ip_portrange_hilast
644 ,&sysctl__net_inet_ip_portrange_last
645 ,&sysctl__net_inet_ip_portrange_lowfirst
646 ,&sysctl__net_inet_ip_portrange_lowlast
647 ,&sysctl__net_inet_raw_pcblist
648 ,&sysctl__net_inet_tcp_pcblist
649 ,&sysctl__net_inet_udp_pcblist
650 ,&sysctl__net_local_dgram_pcblist
651 ,&sysctl__net_local_stream_pcblist
652 ,&sysctl__sysctl_debug
653 ,&sysctl__sysctl_name2oid
654 ,&sysctl__net_inet_icmp_stats
655 ,&sysctl__net_inet_igmp_stats
656 ,&sysctl__net_inet_ip_stats
657 ,&sysctl__net_inet_tcp_stats
658 ,&sysctl__net_inet_udp_stats
661 ,&sysctl__net_inet6_ip6
662 ,&sysctl__net_inet6_icmp6
663 ,&sysctl__net_inet6_ip6_stats
664 ,&sysctl__net_inet6_ip6_forwarding
665 ,&sysctl__net_inet6_ip6_redirect
666 ,&sysctl__net_inet6_ip6_hlim
667 ,&sysctl__net_inet6_ip6_maxfragpackets
668 ,&sysctl__net_inet6_ip6_accept_rtadv
669 ,&sysctl__net_inet6_ip6_keepfaith
670 ,&sysctl__net_inet6_ip6_log_interval
671 ,&sysctl__net_inet6_ip6_hdrnestlimit
672 ,&sysctl__net_inet6_ip6_dad_count
673 ,&sysctl__net_inet6_ip6_auto_flowlabel
674 ,&sysctl__net_inet6_ip6_defmcasthlim
675 ,&sysctl__net_inet6_ip6_gifhlim
676 ,&sysctl__net_inet6_ip6_kame_version
677 ,&sysctl__net_inet6_ip6_use_deprecated
678 ,&sysctl__net_inet6_ip6_rr_prune
679 ,&sysctl__net_inet6_ip6_use_tempaddr
680 ,&sysctl__net_inet6_ip6_v6only
681 ,&sysctl__net_inet6_ip6_auto_linklocal
682 ,&sysctl__net_inet6_ip6_rip6stats
683 ,&sysctl__net_inet6_ip6_rtexpire
684 ,&sysctl__net_inet6_ip6_rtminexpire
685 ,&sysctl__net_inet6_ip6_rtmaxcache
686 ,&sysctl__net_inet6_ip6_temppltime
687 ,&sysctl__net_inet6_ip6_tempvltime
688 ,&sysctl__net_inet6_ip6_auto_on
689 ,&sysctl__net_inet6_icmp6_rediraccept
690 ,&sysctl__net_inet6_icmp6_redirtimeout
691 ,&sysctl__net_inet6_icmp6_nd6_prune
692 ,&sysctl__net_inet6_icmp6_nd6_delay
693 ,&sysctl__net_inet6_icmp6_nd6_umaxtries
694 ,&sysctl__net_inet6_icmp6_nd6_mmaxtries
695 ,&sysctl__net_inet6_icmp6_nd6_useloopback
696 ,&sysctl__net_inet6_icmp6_nodeinfo
697 ,&sysctl__net_inet6_icmp6_stats
698 ,&sysctl__net_inet6_icmp6_errppslimit
699 ,&sysctl__net_inet6_icmp6_nd6_maxnudhint
700 ,&sysctl__net_inet6_icmp6_nd6_debug
701 ,&sysctl__net_inet_tcp_v6mssdflt
703 ,&sysctl__net_inet6_ip6_fw
704 ,&sysctl__net_inet6_ip6_fw_debug
705 ,&sysctl__net_inet6_ip6_fw_verbose
706 ,&sysctl__net_inet6_ip6_fw_verbose_limit
709 ,&sysctl__net_inet6_ipsec6
710 ,&sysctl__net_inet6_ipsec6_stats
711 ,&sysctl__net_inet6_ipsec6_def_policy
712 ,&sysctl__net_inet6_ipsec6_esp_trans_deflev
713 ,&sysctl__net_inet6_ipsec6_esp_net_deflev
714 ,&sysctl__net_inet6_ipsec6_ah_trans_deflev
715 ,&sysctl__net_inet6_ipsec6_ah_net_deflev
716 ,&sysctl__net_inet6_ipsec6_ecn
717 ,&sysctl__net_inet6_ipsec6_debug
718 ,&sysctl__net_inet6_ipsec6_esp_randpad
723 ,&sysctl__net_key_debug
724 ,&sysctl__net_key_spi_trycnt
725 ,&sysctl__net_key_spi_minval
726 ,&sysctl__net_key_spi_maxval
727 ,&sysctl__net_key_int_random
728 ,&sysctl__net_key_larval_lifetime
729 ,&sysctl__net_key_blockacq_count
730 ,&sysctl__net_key_blockacq_lifetime
731 ,&sysctl__net_key_esp_keymin
732 ,&sysctl__net_key_ah_keymin
733 ,&sysctl__net_inet_ipsec
734 ,&sysctl__net_inet_ipsec_stats
735 ,&sysctl__net_inet_ipsec_def_policy
736 ,&sysctl__net_inet_ipsec_esp_trans_deflev
737 ,&sysctl__net_inet_ipsec_esp_net_deflev
738 ,&sysctl__net_inet_ipsec_ah_trans_deflev
739 ,&sysctl__net_inet_ipsec_ah_net_deflev
740 ,&sysctl__net_inet_ipsec_ah_cleartos
741 ,&sysctl__net_inet_ipsec_ah_offsetmask
742 ,&sysctl__net_inet_ipsec_dfbit
743 ,&sysctl__net_inet_ipsec_ecn
744 ,&sysctl__net_inet_ipsec_debug
745 ,&sysctl__net_inet_ipsec_esp_randpad
746 ,&sysctl__net_inet_ipsec_bypass
748 ,(struct sysctl_oid
*) 0