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_sysv_semmni
;
92 extern struct sysctl_oid sysctl__kern_sysv_semmns
;
93 extern struct sysctl_oid sysctl__kern_sysv_semmnu
;
94 extern struct sysctl_oid sysctl__kern_sysv_semmsl
;
95 extern struct sysctl_oid sysctl__kern_sysv_semume
;
97 extern struct sysctl_oid sysctl__kern_dummy
;
98 extern struct sysctl_oid sysctl__kern_ipc_maxsockbuf
;
99 extern struct sysctl_oid sysctl__kern_ipc_nmbclusters
;
100 extern struct sysctl_oid sysctl__kern_ipc_sockbuf_waste_factor
;
101 extern struct sysctl_oid sysctl__kern_ipc_somaxconn
;
102 extern struct sysctl_oid sysctl__kern_ipc_sosendminchain
;
103 extern struct sysctl_oid sysctl__kern_ipc_sorecvmincopy
;
104 extern struct sysctl_oid sysctl__kern_ipc_maxsockets
;
105 extern struct sysctl_oid sysctl__net_inet_icmp_icmplim
;
106 extern struct sysctl_oid sysctl__net_inet_icmp_maskrepl
;
107 extern struct sysctl_oid sysctl__net_inet_icmp_timestamp
;
108 extern struct sysctl_oid sysctl__net_inet_icmp_bmcastecho
;
109 extern struct sysctl_oid sysctl__net_inet_icmp_log_redirect
;
110 extern struct sysctl_oid sysctl__net_inet_icmp_drop_redirect
;
111 extern struct sysctl_oid sysctl__net_inet_ip_accept_sourceroute
;
114 extern struct sysctl_oid sysctl__net_inet_ip_mtu
;
117 extern struct sysctl_oid sysctl__net_inet_ip_ttl
;
118 extern struct sysctl_oid sysctl__net_inet_ip_fastforwarding
;
119 extern struct sysctl_oid sysctl__net_inet_ip_forwarding
;
120 extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_drops
;
121 extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_maxlen
;
122 extern struct sysctl_oid sysctl__net_inet_ip_rtexpire
;
123 extern struct sysctl_oid sysctl__net_inet_ip_rtmaxcache
;
124 extern struct sysctl_oid sysctl__net_inet_ip_rtminexpire
;
125 extern struct sysctl_oid sysctl__net_inet_ip_redirect
;
126 extern struct sysctl_oid sysctl__net_inet_ip_sourceroute
;
127 extern struct sysctl_oid sysctl__net_inet_ip_subnets_are_local
;
128 extern struct sysctl_oid sysctl__net_inet_ip_keepfaith
;
129 extern struct sysctl_oid sysctl__net_inet_ip_maxfragpackets
;
130 extern struct sysctl_oid sysctl__net_inet_ip_check_interface
;
131 extern struct sysctl_oid sysctl__net_inet_ip_check_route_selfref
;
132 extern struct sysctl_oid sysctl__net_inet_ip_use_route_genid
;
134 extern struct sysctl_oid sysctl__net_inet_ip_gifttl
;
138 extern struct sysctl_oid sysctl__net_inet_ip_dummynet_calls
;
139 extern struct sysctl_oid sysctl__net_inet_ip_dummynet_debug
;
140 extern struct sysctl_oid sysctl__net_inet_ip_dummynet_idle
;
141 extern struct sysctl_oid sysctl__net_inet_ip_dummynet
;
144 #if IPFIREWALL && !IPFIREWALL_KEXT
145 extern struct sysctl_oid sysctl__net_inet_ip_fw_debug
;
146 extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose
;
147 extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose_limit
;
148 extern struct sysctl_oid sysctl__net_inet_ip_fw_one_pass
;
149 extern struct sysctl_oid sysctl__net_inet_ip_fw
;
152 extern struct sysctl_oid sysctl__net_inet_ip_linklocal
;
153 extern struct sysctl_oid sysctl__net_inet_ip_linklocal_stat
;
154 extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in
;
155 extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in_allowbadttl
;
157 extern struct sysctl_oid sysctl__net_inet_raw_maxdgram
;
158 extern struct sysctl_oid sysctl__net_inet_raw_recvspace
;
159 extern struct sysctl_oid sysctl__net_inet_tcp_always_keepalive
;
160 extern struct sysctl_oid sysctl__net_inet_tcp_delayed_ack
;
161 extern struct sysctl_oid sysctl__net_inet_tcp_log_in_vain
;
162 extern struct sysctl_oid sysctl__net_inet_tcp_pcbcount
;
163 extern struct sysctl_oid sysctl__net_inet_tcp_rfc1323
;
164 extern struct sysctl_oid sysctl__net_inet_tcp_rfc1644
;
165 extern struct sysctl_oid sysctl__net_inet_tcp_keepidle
;
166 extern struct sysctl_oid sysctl__net_inet_tcp_keepinit
;
167 extern struct sysctl_oid sysctl__net_inet_tcp_keepintvl
;
168 extern struct sysctl_oid sysctl__net_inet_tcp_mssdflt
;
169 extern struct sysctl_oid sysctl__net_inet_tcp_recvspace
;
170 extern struct sysctl_oid sysctl__net_inet_tcp_sendspace
;
171 extern struct sysctl_oid sysctl__net_inet_tcp_slowlink_wsize
;
172 extern struct sysctl_oid sysctl__net_inet_tcp_blackhole
;
173 extern struct sysctl_oid sysctl__net_inet_tcp_tcp_lq_overflow
;
174 extern struct sysctl_oid sysctl__net_inet_tcp_path_mtu_discovery
;
175 extern struct sysctl_oid sysctl__net_inet_tcp_slowstart_flightsize
;
176 extern struct sysctl_oid sysctl__net_inet_tcp_local_slowstart_flightsize
;
177 extern struct sysctl_oid sysctl__net_inet_tcp_newreno
;
178 extern struct sysctl_oid sysctl__net_inet_tcp_tcbhashsize
;
179 extern struct sysctl_oid sysctl__net_inet_tcp_do_tcpdrain
;
180 extern struct sysctl_oid sysctl__net_inet_tcp_icmp_may_rst
;
181 extern struct sysctl_oid sysctl__net_inet_tcp_strict_rfc1948
;
182 extern struct sysctl_oid sysctl__net_inet_tcp_delacktime
;
183 extern struct sysctl_oid sysctl__net_inet_tcp_isn_reseed_interval
;
184 extern struct sysctl_oid sysctl__net_inet_tcp_msl
;
186 extern struct sysctl_oid sysctl__net_inet_tcp_drop_synfin
;
189 extern struct sysctl_oid sysctl__net_inet_tcp_tcpconsdebug
;
191 extern struct sysctl_oid sysctl__net_inet_tcp_sockthreshold
;
192 extern struct sysctl_oid sysctl__net_inet_udp_log_in_vain
;
193 extern struct sysctl_oid sysctl__net_inet_udp_checksum
;
194 extern struct sysctl_oid sysctl__net_inet_udp_maxdgram
;
195 extern struct sysctl_oid sysctl__net_inet_udp_recvspace
;
196 extern struct sysctl_oid sysctl__net_inet_udp_blackhole
;
199 extern struct sysctl_oid sysctl__net_appletalk_debug
;
200 extern struct sysctl_oid sysctl__net_appletalk_routermix
;
201 extern struct sysctl_oid sysctl__net_appletalk_ddpstats
;
205 extern struct sysctl_oid sysctl__net_link_ether_bdgfwc
;
206 extern struct sysctl_oid sysctl__net_link_ether_bdgfwt
;
207 extern struct sysctl_oid sysctl__net_link_ether_bdginc
;
208 extern struct sysctl_oid sysctl__net_link_ether_bdgint
;
209 extern struct sysctl_oid sysctl__net_link_ether_bridge_ipfw
;
210 extern struct sysctl_oid sysctl__net_link_ethe_bdgstats
;
213 extern struct sysctl_oid sysctl__net_link_ether_inet_host_down_time
;
214 extern struct sysctl_oid sysctl__net_link_ether_inet_max_age
;
215 extern struct sysctl_oid sysctl__net_link_ether_inet_maxtries
;
216 extern struct sysctl_oid sysctl__net_link_ether_inet_proxyall
;
217 extern struct sysctl_oid sysctl__net_link_ether_inet_prune_intvl
;
218 extern struct sysctl_oid sysctl__net_link_ether_inet_useloopback
;
219 extern struct sysctl_oid sysctl__net_link_ether_inet_log_arp_wrong_iface
;
220 extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_tx
;
221 extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_rx
;
224 extern struct sysctl_oid sysctl__net_link_generic_system_ifcount
;
225 extern struct sysctl_oid sysctl__net_link_generic
;
226 extern struct sysctl_oid sysctl__net_link_generic_ifdata
;
227 extern struct sysctl_oid sysctl__net_link_generic_system
;
231 extern struct sysctl_oid sysctl__net_link_vlan_link_proto
;
232 extern struct sysctl_oid sysctl__net_link_vlan
;
233 extern struct sysctl_oid sysctl__net_link_vlan_link
;
236 extern struct sysctl_oid sysctl__net_local_inflight
;
237 extern struct sysctl_oid sysctl__net_local_dgram_maxdgram
;
238 extern struct sysctl_oid sysctl__net_local_dgram_recvspace
;
239 extern struct sysctl_oid sysctl__net_local_stream_recvspace
;
240 extern struct sysctl_oid sysctl__net_local_stream_sendspace
;
243 extern struct sysctl_oid sysctl__vfs_nfs_nfs_privport
;
244 extern struct sysctl_oid sysctl__vfs_nfs_async
;
245 extern struct sysctl_oid sysctl__vfs_nfs_debug
;
246 extern struct sysctl_oid sysctl__vfs_nfs_defect
;
247 extern struct sysctl_oid sysctl__vfs_nfs_diskless_valid
;
248 extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay
;
249 extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay_v3
;
250 extern struct sysctl_oid sysctl__vfs_nfs
;
251 extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootaddr
;
252 extern struct sysctl_oid sysctl__vfs_nfs_diskless_swapaddr
;
253 extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootpath
;
254 extern struct sysctl_oid sysctl__vfs_nfs_diskless_swappath
;
255 extern struct sysctl_oid sysctl__vfs_nfs_nfsstats
;
257 extern struct sysctl_oid sysctl__vfs_generic_nfs_client_initialdowndelay
;
258 extern struct sysctl_oid sysctl__vfs_generic_nfs_client_nextdowndelay
;
259 extern struct sysctl_oid sysctl__vfs_generic_nfs_client
;
260 extern struct sysctl_oid sysctl__vfs_generic_nfs
;
262 extern struct sysctl_oid sysctl__vfs_generic
;
263 extern struct sysctl_oid sysctl__vfs_generic_vfsidlist
;
264 extern struct sysctl_oid sysctl__vfs_generic_ctlbyfsid
;
265 extern struct sysctl_oid sysctl__vfs_generic_noremotehang
;
267 extern struct sysctl_oid sysctl__kern_ipc
;
268 extern struct sysctl_oid sysctl__kern_sysv
;
270 extern struct sysctl_oid sysctl__net_inet
;
273 extern struct sysctl_oid sysctl__net_appletalk
;
276 extern struct sysctl_oid sysctl__net_link
;
277 extern struct sysctl_oid sysctl__net_local
;
278 extern struct sysctl_oid sysctl__net_routetable
;
281 extern struct sysctl_oid sysctl__net_inet_div
;
284 extern struct sysctl_oid sysctl__net_inet_icmp
;
285 extern struct sysctl_oid sysctl__net_inet_igmp
;
286 extern struct sysctl_oid sysctl__net_inet_ip
;
287 extern struct sysctl_oid sysctl__net_inet_raw
;
288 extern struct sysctl_oid sysctl__net_inet_tcp
;
289 extern struct sysctl_oid sysctl__net_inet_udp
;
290 extern struct sysctl_oid sysctl__net_inet_ip_portrange
;
292 extern struct sysctl_oid sysctl__net_link_ether
;
293 extern struct sysctl_oid sysctl__net_link_ether_inet
;
295 extern struct sysctl_oid sysctl__net_local_dgram
;
296 extern struct sysctl_oid sysctl__net_local_stream
;
297 extern struct sysctl_oid sysctl__sysctl_name
;
298 extern struct sysctl_oid sysctl__sysctl_next
;
299 extern struct sysctl_oid sysctl__sysctl_oidfmt
;
300 extern struct sysctl_oid sysctl__net_inet_ip_portrange_first
;
301 extern struct sysctl_oid sysctl__net_inet_ip_portrange_hifirst
;
302 extern struct sysctl_oid sysctl__net_inet_ip_portrange_hilast
;
303 extern struct sysctl_oid sysctl__net_inet_ip_portrange_last
;
304 extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowfirst
;
305 extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowlast
;
306 extern struct sysctl_oid sysctl__net_inet_raw_pcblist
;
307 extern struct sysctl_oid sysctl__net_inet_tcp_pcblist
;
308 extern struct sysctl_oid sysctl__net_inet_udp_pcblist
;
309 extern struct sysctl_oid sysctl__net_link_ether_bridge
;
310 extern struct sysctl_oid sysctl__net_local_dgram_pcblist
;
311 extern struct sysctl_oid sysctl__net_local_stream_pcblist
;
312 extern struct sysctl_oid sysctl__sysctl_debug
;
313 extern struct sysctl_oid sysctl__sysctl_name2oid
;
314 extern struct sysctl_oid sysctl__net_inet_icmp_stats
;
315 extern struct sysctl_oid sysctl__net_inet_igmp_stats
;
316 extern struct sysctl_oid sysctl__net_inet_ip_stats
;
317 extern struct sysctl_oid sysctl__net_inet_tcp_stats
;
318 extern struct sysctl_oid sysctl__net_inet_udp_stats
;
319 extern struct sysctl_oid sysctl__kern
;
320 extern struct sysctl_oid sysctl__hw
;
321 extern struct sysctl_oid sysctl__machdep
;
322 extern struct sysctl_oid sysctl__net
;
323 extern struct sysctl_oid sysctl__debug
;
324 extern struct sysctl_oid sysctl__vfs
;
325 extern struct sysctl_oid sysctl__sysctl
;
328 extern struct sysctl_oid sysctl__net_inet_tcp_v6mssdflt
;
329 extern struct sysctl_oid sysctl__net_inet6
;
330 extern struct sysctl_oid sysctl__net_inet6_ip6
;
331 extern struct sysctl_oid sysctl__net_inet6_ip6_stats
;
332 extern struct sysctl_oid sysctl__net_inet6_icmp6
;
333 extern struct sysctl_oid sysctl__net_inet6_ip6_forwarding
;
334 extern struct sysctl_oid sysctl__net_inet6_ip6_redirect
;
335 extern struct sysctl_oid sysctl__net_inet6_ip6_hlim
;
336 extern struct sysctl_oid sysctl__net_inet6_ip6_maxfragpackets
;
337 extern struct sysctl_oid sysctl__net_inet6_ip6_accept_rtadv
;
338 extern struct sysctl_oid sysctl__net_inet6_ip6_keepfaith
;
339 extern struct sysctl_oid sysctl__net_inet6_ip6_log_interval
;
340 extern struct sysctl_oid sysctl__net_inet6_ip6_hdrnestlimit
;
341 extern struct sysctl_oid sysctl__net_inet6_ip6_dad_count
;
342 extern struct sysctl_oid sysctl__net_inet6_ip6_auto_flowlabel
;
343 extern struct sysctl_oid sysctl__net_inet6_ip6_defmcasthlim
;
344 extern struct sysctl_oid sysctl__net_inet6_ip6_gifhlim
;
345 extern struct sysctl_oid sysctl__net_inet6_ip6_kame_version
;
346 extern struct sysctl_oid sysctl__net_inet6_ip6_use_deprecated
;
347 extern struct sysctl_oid sysctl__net_inet6_ip6_rr_prune
;
348 extern struct sysctl_oid sysctl__net_inet6_ip6_use_tempaddr
;
349 extern struct sysctl_oid sysctl__net_inet6_ip6_v6only
;
350 extern struct sysctl_oid sysctl__net_inet6_ip6_auto_linklocal
;
351 extern struct sysctl_oid sysctl__net_inet6_ip6_rip6stats
;
352 extern struct sysctl_oid sysctl__net_inet6_ip6_rtexpire
;
353 extern struct sysctl_oid sysctl__net_inet6_ip6_rtminexpire
;
354 extern struct sysctl_oid sysctl__net_inet6_ip6_rtmaxcache
;
355 extern struct sysctl_oid sysctl__net_inet6_ip6_temppltime
;
356 extern struct sysctl_oid sysctl__net_inet6_ip6_tempvltime
;
358 extern struct sysctl_oid sysctl__net_inet6_ip6_fw
;
359 extern struct sysctl_oid sysctl__net_inet6_ip6_fw_debug
;
360 extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose
;
361 extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose_limit
;
363 extern struct sysctl_oid sysctl__net_inet6_icmp6_rediraccept
;
364 extern struct sysctl_oid sysctl__net_inet6_icmp6_redirtimeout
;
365 extern struct sysctl_oid sysctl__net_inet6_icmp6_stats
;
366 extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo
;
367 extern struct sysctl_oid sysctl__net_inet6_icmp6_errppslimit
;
368 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_maxnudhint
;
369 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_debug
;
370 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_prune
;
371 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_delay
;
372 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_umaxtries
;
373 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_mmaxtries
;
374 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_useloopback
;
375 extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo
;
377 extern struct sysctl_oid sysctl__net_inet6_ipsec6
;
378 extern struct sysctl_oid sysctl__net_inet6_ipsec6_stats
;
379 extern struct sysctl_oid sysctl__net_inet6_ipsec6_def_policy
;
380 extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_trans_deflev
;
381 extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_net_deflev
;
382 extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_trans_deflev
;
383 extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_net_deflev
;
384 extern struct sysctl_oid sysctl__net_inet6_ipsec6_ecn
;
385 extern struct sysctl_oid sysctl__net_inet6_ipsec6_debug
;
386 extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_randpad
;
390 extern struct sysctl_oid sysctl__net_inet_ipsec
;
391 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_port
;
392 extern struct sysctl_oid sysctl__net_inet_ipsec_bypass
;
393 extern struct sysctl_oid sysctl__net_inet_ipsec_def_policy
;
394 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_randpad
;
395 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_trans_deflev
;
396 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_net_deflev
;
397 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_trans_deflev
;
398 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_net_deflev
;
399 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_cleartos
;
400 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_offsetmask
;
401 extern struct sysctl_oid sysctl__net_inet_ipsec_dfbit
;
402 extern struct sysctl_oid sysctl__net_inet_ipsec_ecn
;
403 extern struct sysctl_oid sysctl__net_inet_ipsec_debug
;
404 extern struct sysctl_oid sysctl__net_inet_ipsec_stats
;
405 extern struct sysctl_oid sysctl__net_key
;
406 extern struct sysctl_oid sysctl__net_key_debug
;
407 extern struct sysctl_oid sysctl__net_key_prefered_oldsa
;
408 extern struct sysctl_oid sysctl__net_key_spi_trycnt
;
409 extern struct sysctl_oid sysctl__net_key_spi_minval
;
410 extern struct sysctl_oid sysctl__net_key_spi_maxval
;
411 extern struct sysctl_oid sysctl__net_key_int_random
;
412 extern struct sysctl_oid sysctl__net_key_larval_lifetime
;
413 extern struct sysctl_oid sysctl__net_key_blockacq_count
;
414 extern struct sysctl_oid sysctl__net_key_blockacq_lifetime
;
415 extern struct sysctl_oid sysctl__net_key_esp_keymin
;
416 extern struct sysctl_oid sysctl__net_key_esp_auth
;
417 extern struct sysctl_oid sysctl__net_key_ah_keymin
;
418 extern struct sysctl_oid sysctl__net_key_natt_keepalive_interval
;
422 struct sysctl_oid
*newsysctl_list
[] =
431 &sysctl__debug_bpf_bufsize
,
432 &sysctl__debug_bpf_maxbufsize
434 ,&sysctl__debug_if_tun_debug
439 ,&sysctl__debug_ttydebug
443 ,&sysctl__kern_sysv_shmmax
444 ,&sysctl__kern_sysv_shmmin
445 ,&sysctl__kern_sysv_shmmni
446 ,&sysctl__kern_sysv_shmseg
447 ,&sysctl__kern_sysv_shmall
448 ,&sysctl__kern_sysv_semmni
449 ,&sysctl__kern_sysv_semmns
450 ,&sysctl__kern_sysv_semmnu
451 ,&sysctl__kern_sysv_semmsl
452 ,&sysctl__kern_sysv_semume
454 ,&sysctl__kern_ipc_maxsockbuf
455 ,&sysctl__kern_ipc_nmbclusters
456 ,&sysctl__kern_ipc_sockbuf_waste_factor
457 ,&sysctl__kern_ipc_somaxconn
458 ,&sysctl__kern_ipc_sosendminchain
459 ,&sysctl__kern_ipc_sorecvmincopy
460 ,&sysctl__kern_ipc_maxsockets
465 ,&sysctl__hw_activecpu
466 ,&sysctl__hw_byteorder
468 ,&sysctl__hw_cpusubtype
471 ,&sysctl__hw_pagesize
473 ,&sysctl__hw_vectorunit
474 ,&sysctl__hw_busfrequency
475 ,&sysctl__hw_busfrequency_min
476 ,&sysctl__hw_busfrequency_max
477 ,&sysctl__hw_cpufrequency
478 ,&sysctl__hw_cpufrequency_min
479 ,&sysctl__hw_cpufrequency_max
480 ,&sysctl__hw_cachelinesize
481 ,&sysctl__hw_l1icachesize
482 ,&sysctl__hw_l1dcachesize
483 ,&sysctl__hw_l2settings
484 ,&sysctl__hw_l2cachesize
485 ,&sysctl__hw_l3settings
486 ,&sysctl__hw_l3cachesize
487 ,&sysctl__hw_tbfrequency
489 ,&sysctl__hw_optional
490 ,&sysctl__hw_optional_floatingpoint
492 ,&sysctl__hw_pagesize_compat
493 ,&sysctl__hw_busfrequency_compat
494 ,&sysctl__hw_cpufrequency_compat
495 ,&sysctl__hw_cachelinesize_compat
496 ,&sysctl__hw_l1icachesize_compat
497 ,&sysctl__hw_l1dcachesize_compat
498 ,&sysctl__hw_l2cachesize_compat
499 ,&sysctl__hw_l3cachesize_compat
500 ,&sysctl__hw_tbfrequency_compat
502 ,&sysctl__net_inet_icmp_icmplim
503 ,&sysctl__net_inet_icmp_maskrepl
504 ,&sysctl__net_inet_icmp_timestamp
505 ,&sysctl__net_inet_icmp_bmcastecho
506 ,&sysctl__net_inet_icmp_drop_redirect
507 ,&sysctl__net_inet_icmp_log_redirect
508 ,&sysctl__net_inet_ip_accept_sourceroute
510 ,&sysctl__net_inet_ip_mtu
512 ,&sysctl__net_inet_ip_ttl
513 ,&sysctl__net_inet_ip_fastforwarding
514 ,&sysctl__net_inet_ip_forwarding
515 ,&sysctl__net_inet_ip_intr_queue_drops
516 ,&sysctl__net_inet_ip_intr_queue_maxlen
517 ,&sysctl__net_inet_ip_rtexpire
518 ,&sysctl__net_inet_ip_rtmaxcache
519 ,&sysctl__net_inet_ip_rtminexpire
520 ,&sysctl__net_inet_ip_redirect
521 ,&sysctl__net_inet_ip_sourceroute
522 ,&sysctl__net_inet_ip_subnets_are_local
523 ,&sysctl__net_inet_ip_keepfaith
524 ,&sysctl__net_inet_ip_maxfragpackets
525 ,&sysctl__net_inet_ip_check_interface
526 ,&sysctl__net_inet_ip_check_route_selfref
527 ,&sysctl__net_inet_ip_use_route_genid
529 ,&sysctl__net_inet_ip_gifttl
532 ,&sysctl__net_inet_ip_dummynet_calls
533 ,&sysctl__net_inet_ip_dummynet_debug
534 ,&sysctl__net_inet_ip_dummynet_idle
535 ,&sysctl__net_inet_ip_dummynet
538 #if IPFIREWALL && !IPFIREWALL_KEXT
539 ,&sysctl__net_inet_ip_fw_debug
540 ,&sysctl__net_inet_ip_fw_verbose
541 ,&sysctl__net_inet_ip_fw_verbose_limit
542 ,&sysctl__net_inet_ip_fw_one_pass
543 ,&sysctl__net_inet_ip_fw
545 ,&sysctl__net_inet_ip_linklocal
546 ,&sysctl__net_inet_ip_linklocal_stat
547 ,&sysctl__net_inet_ip_linklocal_in
548 ,&sysctl__net_inet_ip_linklocal_in_allowbadttl
549 ,&sysctl__net_inet_raw_maxdgram
550 ,&sysctl__net_inet_raw_recvspace
551 ,&sysctl__net_inet_tcp_always_keepalive
552 ,&sysctl__net_inet_tcp_delayed_ack
553 ,&sysctl__net_inet_tcp_log_in_vain
554 ,&sysctl__net_inet_tcp_pcbcount
555 ,&sysctl__net_inet_tcp_rfc1323
556 ,&sysctl__net_inet_tcp_rfc1644
557 ,&sysctl__net_inet_tcp_keepidle
558 ,&sysctl__net_inet_tcp_keepinit
559 ,&sysctl__net_inet_tcp_keepintvl
560 ,&sysctl__net_inet_tcp_mssdflt
561 ,&sysctl__net_inet_tcp_recvspace
562 ,&sysctl__net_inet_tcp_sendspace
563 ,&sysctl__net_inet_tcp_slowlink_wsize
564 ,&sysctl__net_inet_tcp_blackhole
565 ,&sysctl__net_inet_tcp_tcp_lq_overflow
566 ,&sysctl__net_inet_tcp_path_mtu_discovery
567 ,&sysctl__net_inet_tcp_slowstart_flightsize
568 ,&sysctl__net_inet_tcp_local_slowstart_flightsize
569 ,&sysctl__net_inet_tcp_newreno
570 ,&sysctl__net_inet_tcp_tcbhashsize
571 ,&sysctl__net_inet_tcp_do_tcpdrain
572 ,&sysctl__net_inet_tcp_icmp_may_rst
573 ,&sysctl__net_inet_tcp_strict_rfc1948
574 ,&sysctl__net_inet_tcp_delacktime
575 ,&sysctl__net_inet_tcp_isn_reseed_interval
576 ,&sysctl__net_inet_tcp_msl
578 ,&sysctl__net_inet_tcp_drop_synfin
581 ,&sysctl__net_inet_tcp_tcpconsdebug
583 ,&sysctl__net_inet_tcp_sockthreshold
584 ,&sysctl__net_inet_udp_log_in_vain
585 ,&sysctl__net_inet_udp_checksum
586 ,&sysctl__net_inet_udp_maxdgram
587 ,&sysctl__net_inet_udp_recvspace
588 ,&sysctl__net_inet_udp_blackhole
591 ,&sysctl__net_appletalk_debug
592 ,&sysctl__net_appletalk_routermix
593 ,&sysctl__net_appletalk_ddpstats
597 ,&sysctl__net_link_ether_bdgfwc
598 ,&sysctl__net_link_ether_bdgfwt
599 ,&sysctl__net_link_ether_bdginc
600 ,&sysctl__net_link_ether_bdgint
601 ,&sysctl__net_link_ether_bridge_ipfw
602 ,&sysctl__net_link_ethe_bdgstats
603 ,&sysctl__net_link_ether_bridge
606 ,&sysctl__net_link_ether_inet_host_down_time
607 ,&sysctl__net_link_ether_inet_max_age
608 ,&sysctl__net_link_ether_inet_maxtries
609 ,&sysctl__net_link_ether_inet_proxyall
610 ,&sysctl__net_link_ether_inet_prune_intvl
611 ,&sysctl__net_link_ether_inet_useloopback
612 ,&sysctl__net_link_ether_inet_log_arp_wrong_iface
613 ,&sysctl__net_link_ether_inet_apple_hwcksum_tx
614 ,&sysctl__net_link_ether_inet_apple_hwcksum_rx
616 ,&sysctl__net_link_generic_system_ifcount
617 ,&sysctl__net_link_generic
618 ,&sysctl__net_link_generic_ifdata
619 ,&sysctl__net_link_generic_system
623 ,&sysctl__net_link_vlan_link_proto
624 ,&sysctl__net_link_vlan
625 ,&sysctl__net_link_vlan_link
628 ,&sysctl__net_local_inflight
629 ,&sysctl__net_local_dgram_maxdgram
630 ,&sysctl__net_local_dgram_recvspace
631 ,&sysctl__net_local_stream_recvspace
632 ,&sysctl__net_local_stream_sendspace
634 ,&sysctl__vfs_nfs_nfs_privport
635 ,&sysctl__vfs_nfs_async
636 ,&sysctl__vfs_nfs_debug
637 ,&sysctl__vfs_nfs_defect
638 ,&sysctl__vfs_nfs_diskless_valid
639 ,&sysctl__vfs_nfs_gatherdelay
640 ,&sysctl__vfs_nfs_gatherdelay_v3
642 ,&sysctl__vfs_nfs_diskless_rootaddr
643 ,&sysctl__vfs_nfs_diskless_swapaddr
644 ,&sysctl__vfs_nfs_diskless_rootpath
645 ,&sysctl__vfs_nfs_diskless_swappath
646 ,&sysctl__vfs_nfs_nfsstats
648 ,&sysctl__vfs_generic
649 ,&sysctl__vfs_generic_vfsidlist
650 ,&sysctl__vfs_generic_ctlbyfsid
651 ,&sysctl__vfs_generic_noremotehang
652 ,&sysctl__vfs_generic_nfs
653 ,&sysctl__vfs_generic_nfs_client
654 ,&sysctl__vfs_generic_nfs_client_initialdowndelay
655 ,&sysctl__vfs_generic_nfs_client_nextdowndelay
660 ,&sysctl__net_appletalk
664 ,&sysctl__net_routetable
666 ,&sysctl__net_inet_div
668 ,&sysctl__net_inet_icmp
669 ,&sysctl__net_inet_igmp
670 ,&sysctl__net_inet_ip
671 ,&sysctl__net_inet_raw
672 ,&sysctl__net_inet_tcp
673 ,&sysctl__net_inet_udp
674 ,&sysctl__net_inet_ip_portrange
675 ,&sysctl__net_link_ether
676 ,&sysctl__net_link_ether_inet
677 ,&sysctl__net_local_dgram
678 ,&sysctl__net_local_stream
679 ,&sysctl__sysctl_name
680 ,&sysctl__sysctl_next
681 ,&sysctl__sysctl_oidfmt
682 ,&sysctl__net_inet_ip_portrange_first
683 ,&sysctl__net_inet_ip_portrange_hifirst
684 ,&sysctl__net_inet_ip_portrange_hilast
685 ,&sysctl__net_inet_ip_portrange_last
686 ,&sysctl__net_inet_ip_portrange_lowfirst
687 ,&sysctl__net_inet_ip_portrange_lowlast
688 ,&sysctl__net_inet_raw_pcblist
689 ,&sysctl__net_inet_tcp_pcblist
690 ,&sysctl__net_inet_udp_pcblist
691 ,&sysctl__net_local_dgram_pcblist
692 ,&sysctl__net_local_stream_pcblist
693 ,&sysctl__sysctl_debug
694 ,&sysctl__sysctl_name2oid
695 ,&sysctl__net_inet_icmp_stats
696 ,&sysctl__net_inet_igmp_stats
697 ,&sysctl__net_inet_ip_stats
698 ,&sysctl__net_inet_tcp_stats
699 ,&sysctl__net_inet_udp_stats
702 ,&sysctl__net_inet6_ip6
703 ,&sysctl__net_inet6_icmp6
704 ,&sysctl__net_inet6_ip6_stats
705 ,&sysctl__net_inet6_ip6_forwarding
706 ,&sysctl__net_inet6_ip6_redirect
707 ,&sysctl__net_inet6_ip6_hlim
708 ,&sysctl__net_inet6_ip6_maxfragpackets
709 ,&sysctl__net_inet6_ip6_accept_rtadv
710 ,&sysctl__net_inet6_ip6_keepfaith
711 ,&sysctl__net_inet6_ip6_log_interval
712 ,&sysctl__net_inet6_ip6_hdrnestlimit
713 ,&sysctl__net_inet6_ip6_dad_count
714 ,&sysctl__net_inet6_ip6_auto_flowlabel
715 ,&sysctl__net_inet6_ip6_defmcasthlim
716 ,&sysctl__net_inet6_ip6_gifhlim
717 ,&sysctl__net_inet6_ip6_kame_version
718 ,&sysctl__net_inet6_ip6_use_deprecated
719 ,&sysctl__net_inet6_ip6_rr_prune
720 ,&sysctl__net_inet6_ip6_use_tempaddr
721 ,&sysctl__net_inet6_ip6_v6only
722 ,&sysctl__net_inet6_ip6_auto_linklocal
723 ,&sysctl__net_inet6_ip6_rip6stats
724 ,&sysctl__net_inet6_ip6_rtexpire
725 ,&sysctl__net_inet6_ip6_rtminexpire
726 ,&sysctl__net_inet6_ip6_rtmaxcache
727 ,&sysctl__net_inet6_ip6_temppltime
728 ,&sysctl__net_inet6_ip6_tempvltime
729 ,&sysctl__net_inet6_icmp6_rediraccept
730 ,&sysctl__net_inet6_icmp6_redirtimeout
731 ,&sysctl__net_inet6_icmp6_nd6_prune
732 ,&sysctl__net_inet6_icmp6_nd6_delay
733 ,&sysctl__net_inet6_icmp6_nd6_umaxtries
734 ,&sysctl__net_inet6_icmp6_nd6_mmaxtries
735 ,&sysctl__net_inet6_icmp6_nd6_useloopback
736 ,&sysctl__net_inet6_icmp6_nodeinfo
737 ,&sysctl__net_inet6_icmp6_stats
738 ,&sysctl__net_inet6_icmp6_errppslimit
739 ,&sysctl__net_inet6_icmp6_nd6_maxnudhint
740 ,&sysctl__net_inet6_icmp6_nd6_debug
741 ,&sysctl__net_inet_tcp_v6mssdflt
743 ,&sysctl__net_inet6_ip6_fw
744 ,&sysctl__net_inet6_ip6_fw_debug
745 ,&sysctl__net_inet6_ip6_fw_verbose
746 ,&sysctl__net_inet6_ip6_fw_verbose_limit
749 ,&sysctl__net_inet6_ipsec6
750 ,&sysctl__net_inet6_ipsec6_stats
751 ,&sysctl__net_inet6_ipsec6_def_policy
752 ,&sysctl__net_inet6_ipsec6_esp_trans_deflev
753 ,&sysctl__net_inet6_ipsec6_esp_net_deflev
754 ,&sysctl__net_inet6_ipsec6_ah_trans_deflev
755 ,&sysctl__net_inet6_ipsec6_ah_net_deflev
756 ,&sysctl__net_inet6_ipsec6_ecn
757 ,&sysctl__net_inet6_ipsec6_debug
758 ,&sysctl__net_inet6_ipsec6_esp_randpad
763 ,&sysctl__net_key_debug
764 ,&sysctl__net_key_prefered_oldsa
765 ,&sysctl__net_key_spi_trycnt
766 ,&sysctl__net_key_spi_minval
767 ,&sysctl__net_key_spi_maxval
768 ,&sysctl__net_key_int_random
769 ,&sysctl__net_key_larval_lifetime
770 ,&sysctl__net_key_blockacq_count
771 ,&sysctl__net_key_blockacq_lifetime
772 ,&sysctl__net_key_esp_keymin
773 ,&sysctl__net_key_esp_auth
774 ,&sysctl__net_key_ah_keymin
775 ,&sysctl__net_key_natt_keepalive_interval
776 ,&sysctl__net_inet_ipsec
777 ,&sysctl__net_inet_ipsec_stats
778 ,&sysctl__net_inet_ipsec_def_policy
779 ,&sysctl__net_inet_ipsec_esp_trans_deflev
780 ,&sysctl__net_inet_ipsec_esp_net_deflev
781 ,&sysctl__net_inet_ipsec_ah_trans_deflev
782 ,&sysctl__net_inet_ipsec_ah_net_deflev
783 ,&sysctl__net_inet_ipsec_ah_cleartos
784 ,&sysctl__net_inet_ipsec_ah_offsetmask
785 ,&sysctl__net_inet_ipsec_dfbit
786 ,&sysctl__net_inet_ipsec_ecn
787 ,&sysctl__net_inet_ipsec_debug
788 ,&sysctl__net_inet_ipsec_esp_randpad
789 ,&sysctl__net_inet_ipsec_bypass
790 ,&sysctl__net_inet_ipsec_esp_port
792 ,(struct sysctl_oid
*) 0