2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
20 * @APPLE_LICENSE_HEADER_END@
23 #include <sys/param.h>
25 #include <sys/kernel.h>
26 #include <sys/sysctl.h>
28 extern struct sysctl_oid sysctl__debug_bpf_bufsize
;
29 extern struct sysctl_oid sysctl__debug_bpf_maxbufsize
;
32 extern struct sysctl_oid sysctl__debug_if_tun_debug
;
37 extern struct sysctl_oid sysctl__debug_ttydebug
;
41 extern struct sysctl_oid sysctl__hw_machine
;
42 extern struct sysctl_oid sysctl__hw_model
;
43 extern struct sysctl_oid sysctl__hw_ncpu
;
44 extern struct sysctl_oid sysctl__hw_activecpu
;
45 extern struct sysctl_oid sysctl__hw_byteorder
;
46 extern struct sysctl_oid sysctl__hw_cputype
;
47 extern struct sysctl_oid sysctl__hw_cpusubtype
;
48 extern struct sysctl_oid sysctl__hw_physmem
;
49 extern struct sysctl_oid sysctl__hw_usermem
;
50 extern struct sysctl_oid sysctl__hw_pagesize
;
51 extern struct sysctl_oid sysctl__hw_epoch
;
52 extern struct sysctl_oid sysctl__hw_vectorunit
;
53 extern struct sysctl_oid sysctl__hw_busfrequency
;
54 extern struct sysctl_oid sysctl__hw_busfrequency_min
;
55 extern struct sysctl_oid sysctl__hw_busfrequency_max
;
56 extern struct sysctl_oid sysctl__hw_cpufrequency
;
57 extern struct sysctl_oid sysctl__hw_cpufrequency_min
;
58 extern struct sysctl_oid sysctl__hw_cpufrequency_max
;
59 extern struct sysctl_oid sysctl__hw_cachelinesize
;
60 extern struct sysctl_oid sysctl__hw_l1icachesize
;
61 extern struct sysctl_oid sysctl__hw_l1dcachesize
;
62 extern struct sysctl_oid sysctl__hw_l2settings
;
63 extern struct sysctl_oid sysctl__hw_l2cachesize
;
64 extern struct sysctl_oid sysctl__hw_l3settings
;
65 extern struct sysctl_oid sysctl__hw_l3cachesize
;
66 extern struct sysctl_oid sysctl__hw_tbfrequency
;
67 extern struct sysctl_oid sysctl__hw_memsize
;
69 extern struct sysctl_oid sysctl__hw_optional
;
70 extern struct sysctl_oid sysctl__hw_optional_floatingpoint
;
72 extern struct sysctl_oid sysctl__hw_pagesize_compat
;
73 extern struct sysctl_oid sysctl__hw_busfrequency_compat
;
74 extern struct sysctl_oid sysctl__hw_cpufrequency_compat
;
75 extern struct sysctl_oid sysctl__hw_cachelinesize_compat
;
76 extern struct sysctl_oid sysctl__hw_l1icachesize_compat
;
77 extern struct sysctl_oid sysctl__hw_l1dcachesize_compat
;
78 extern struct sysctl_oid sysctl__hw_l2cachesize_compat
;
79 extern struct sysctl_oid sysctl__hw_l3cachesize_compat
;
80 extern struct sysctl_oid sysctl__hw_tbfrequency_compat
;
82 extern struct sysctl_oid sysctl__kern_sysv_shmmax
;
83 extern struct sysctl_oid sysctl__kern_sysv_shmmin
;
84 extern struct sysctl_oid sysctl__kern_sysv_shmmni
;
85 extern struct sysctl_oid sysctl__kern_sysv_shmseg
;
86 extern struct sysctl_oid sysctl__kern_sysv_shmall
;
88 extern struct sysctl_oid sysctl__kern_sysv_semmni
;
89 extern struct sysctl_oid sysctl__kern_sysv_semmns
;
90 extern struct sysctl_oid sysctl__kern_sysv_semmnu
;
91 extern struct sysctl_oid sysctl__kern_sysv_semmsl
;
92 extern struct sysctl_oid sysctl__kern_sysv_semume
;
94 extern struct sysctl_oid sysctl__kern_dummy
;
95 extern struct sysctl_oid sysctl__kern_ipc_maxsockbuf
;
96 extern struct sysctl_oid sysctl__kern_ipc_nmbclusters
;
97 extern struct sysctl_oid sysctl__kern_ipc_sockbuf_waste_factor
;
98 extern struct sysctl_oid sysctl__kern_ipc_somaxconn
;
99 extern struct sysctl_oid sysctl__kern_ipc_sosendminchain
;
100 extern struct sysctl_oid sysctl__kern_ipc_sorecvmincopy
;
101 extern struct sysctl_oid sysctl__kern_ipc_maxsockets
;
102 extern struct sysctl_oid sysctl__kern_sugid_scripts
;
103 extern struct sysctl_oid sysctl__net_inet_icmp_icmplim
;
104 extern struct sysctl_oid sysctl__net_inet_icmp_maskrepl
;
105 extern struct sysctl_oid sysctl__net_inet_icmp_timestamp
;
106 extern struct sysctl_oid sysctl__net_inet_icmp_bmcastecho
;
107 extern struct sysctl_oid sysctl__net_inet_icmp_log_redirect
;
108 extern struct sysctl_oid sysctl__net_inet_icmp_drop_redirect
;
109 extern struct sysctl_oid sysctl__net_inet_ip_accept_sourceroute
;
112 extern struct sysctl_oid sysctl__net_inet_ip_mtu
;
115 extern struct sysctl_oid sysctl__net_inet_ip_ttl
;
116 extern struct sysctl_oid sysctl__net_inet_ip_fastforwarding
;
117 extern struct sysctl_oid sysctl__net_inet_ip_forwarding
;
118 extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_drops
;
119 extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_maxlen
;
120 extern struct sysctl_oid sysctl__net_inet_ip_rtexpire
;
121 extern struct sysctl_oid sysctl__net_inet_ip_rtmaxcache
;
122 extern struct sysctl_oid sysctl__net_inet_ip_rtminexpire
;
123 extern struct sysctl_oid sysctl__net_inet_ip_redirect
;
124 extern struct sysctl_oid sysctl__net_inet_ip_sourceroute
;
125 extern struct sysctl_oid sysctl__net_inet_ip_subnets_are_local
;
126 extern struct sysctl_oid sysctl__net_inet_ip_keepfaith
;
127 extern struct sysctl_oid sysctl__net_inet_ip_maxfragpackets
;
128 extern struct sysctl_oid sysctl__net_inet_ip_maxfragsperpacket
;
129 extern struct sysctl_oid sysctl__net_inet_ip_check_interface
;
130 extern struct sysctl_oid sysctl__net_inet_ip_check_route_selfref
;
131 extern struct sysctl_oid sysctl__net_inet_ip_use_route_genid
;
133 extern struct sysctl_oid sysctl__net_inet_ip_gifttl
;
137 extern struct sysctl_oid sysctl__net_inet_ip_dummynet_calls
;
138 extern struct sysctl_oid sysctl__net_inet_ip_dummynet_debug
;
139 extern struct sysctl_oid sysctl__net_inet_ip_dummynet_idle
;
140 extern struct sysctl_oid sysctl__net_inet_ip_dummynet
;
143 #if IPFIREWALL && !IPFIREWALL_KEXT
144 extern struct sysctl_oid sysctl__net_inet_ip_fw_debug
;
145 extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose
;
146 extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose_limit
;
147 extern struct sysctl_oid sysctl__net_inet_ip_fw_one_pass
;
148 extern struct sysctl_oid sysctl__net_inet_ip_fw
;
151 extern struct sysctl_oid sysctl__net_inet_ip_linklocal
;
152 extern struct sysctl_oid sysctl__net_inet_ip_linklocal_stat
;
153 extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in
;
154 extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in_allowbadttl
;
156 extern struct sysctl_oid sysctl__net_inet_raw_maxdgram
;
157 extern struct sysctl_oid sysctl__net_inet_raw_recvspace
;
158 extern struct sysctl_oid sysctl__net_inet_tcp_always_keepalive
;
159 extern struct sysctl_oid sysctl__net_inet_tcp_delayed_ack
;
160 extern struct sysctl_oid sysctl__net_inet_tcp_log_in_vain
;
161 extern struct sysctl_oid sysctl__net_inet_tcp_pcbcount
;
162 extern struct sysctl_oid sysctl__net_inet_tcp_rfc1323
;
163 extern struct sysctl_oid sysctl__net_inet_tcp_rfc1644
;
164 extern struct sysctl_oid sysctl__net_inet_tcp_keepidle
;
165 extern struct sysctl_oid sysctl__net_inet_tcp_keepinit
;
166 extern struct sysctl_oid sysctl__net_inet_tcp_keepintvl
;
167 extern struct sysctl_oid sysctl__net_inet_tcp_mssdflt
;
168 extern struct sysctl_oid sysctl__net_inet_tcp_minmss
;
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_tcp_reass_maxsegments
;
193 extern struct sysctl_oid sysctl__net_inet_tcp_reass_cursegments
;
194 extern struct sysctl_oid sysctl__net_inet_tcp_reass_overflows
;
195 extern struct sysctl_oid sysctl__net_inet_tcp_reass
;
197 extern struct sysctl_oid sysctl__net_inet_udp_log_in_vain
;
198 extern struct sysctl_oid sysctl__net_inet_udp_checksum
;
199 extern struct sysctl_oid sysctl__net_inet_udp_maxdgram
;
200 extern struct sysctl_oid sysctl__net_inet_udp_recvspace
;
201 extern struct sysctl_oid sysctl__net_inet_udp_blackhole
;
204 extern struct sysctl_oid sysctl__net_appletalk_debug
;
205 extern struct sysctl_oid sysctl__net_appletalk_routermix
;
206 extern struct sysctl_oid sysctl__net_appletalk_ddpstats
;
210 extern struct sysctl_oid sysctl__net_link_ether_bdgfwc
;
211 extern struct sysctl_oid sysctl__net_link_ether_bdgfwt
;
212 extern struct sysctl_oid sysctl__net_link_ether_bdginc
;
213 extern struct sysctl_oid sysctl__net_link_ether_bdgint
;
214 extern struct sysctl_oid sysctl__net_link_ether_bridge_ipfw
;
215 extern struct sysctl_oid sysctl__net_link_ethe_bdgstats
;
218 extern struct sysctl_oid sysctl__net_link_ether_inet_host_down_time
;
219 extern struct sysctl_oid sysctl__net_link_ether_inet_max_age
;
220 extern struct sysctl_oid sysctl__net_link_ether_inet_maxtries
;
221 extern struct sysctl_oid sysctl__net_link_ether_inet_proxyall
;
222 extern struct sysctl_oid sysctl__net_link_ether_inet_prune_intvl
;
223 extern struct sysctl_oid sysctl__net_link_ether_inet_useloopback
;
224 extern struct sysctl_oid sysctl__net_link_ether_inet_log_arp_wrong_iface
;
225 extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_tx
;
226 extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_rx
;
229 extern struct sysctl_oid sysctl__net_link_generic_system_ifcount
;
230 extern struct sysctl_oid sysctl__net_link_generic
;
231 extern struct sysctl_oid sysctl__net_link_generic_ifdata
;
232 extern struct sysctl_oid sysctl__net_link_generic_system
;
236 extern struct sysctl_oid sysctl__net_link_vlan_link_proto
;
237 extern struct sysctl_oid sysctl__net_link_vlan
;
238 extern struct sysctl_oid sysctl__net_link_vlan_link
;
241 extern struct sysctl_oid sysctl__net_local_inflight
;
242 extern struct sysctl_oid sysctl__net_local_dgram_maxdgram
;
243 extern struct sysctl_oid sysctl__net_local_dgram_recvspace
;
244 extern struct sysctl_oid sysctl__net_local_stream_recvspace
;
245 extern struct sysctl_oid sysctl__net_local_stream_sendspace
;
248 extern struct sysctl_oid sysctl__vfs_nfs_nfs_privport
;
249 extern struct sysctl_oid sysctl__vfs_nfs_async
;
250 extern struct sysctl_oid sysctl__vfs_nfs_debug
;
251 extern struct sysctl_oid sysctl__vfs_nfs_defect
;
252 extern struct sysctl_oid sysctl__vfs_nfs_diskless_valid
;
253 extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay
;
254 extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay_v3
;
255 extern struct sysctl_oid sysctl__vfs_nfs
;
256 extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootaddr
;
257 extern struct sysctl_oid sysctl__vfs_nfs_diskless_swapaddr
;
258 extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootpath
;
259 extern struct sysctl_oid sysctl__vfs_nfs_diskless_swappath
;
260 extern struct sysctl_oid sysctl__vfs_nfs_nfsstats
;
262 extern struct sysctl_oid sysctl__vfs_generic_nfs_client_initialdowndelay
;
263 extern struct sysctl_oid sysctl__vfs_generic_nfs_client_nextdowndelay
;
264 extern struct sysctl_oid sysctl__vfs_generic_nfs_client
;
265 extern struct sysctl_oid sysctl__vfs_generic_nfs
;
267 extern struct sysctl_oid sysctl__vfs_generic
;
268 extern struct sysctl_oid sysctl__vfs_generic_vfsidlist
;
269 extern struct sysctl_oid sysctl__vfs_generic_ctlbyfsid
;
270 extern struct sysctl_oid sysctl__vfs_generic_noremotehang
;
272 extern struct sysctl_oid sysctl__kern_ipc
;
273 extern struct sysctl_oid sysctl__kern_sysv
;
275 extern struct sysctl_oid sysctl__net_inet
;
278 extern struct sysctl_oid sysctl__net_appletalk
;
281 extern struct sysctl_oid sysctl__net_link
;
282 extern struct sysctl_oid sysctl__net_local
;
283 extern struct sysctl_oid sysctl__net_routetable
;
286 extern struct sysctl_oid sysctl__net_inet_div
;
289 extern struct sysctl_oid sysctl__net_inet_icmp
;
290 extern struct sysctl_oid sysctl__net_inet_igmp
;
291 extern struct sysctl_oid sysctl__net_inet_ip
;
292 extern struct sysctl_oid sysctl__net_inet_raw
;
293 extern struct sysctl_oid sysctl__net_inet_tcp
;
294 extern struct sysctl_oid sysctl__net_inet_udp
;
295 extern struct sysctl_oid sysctl__net_inet_ip_portrange
;
297 extern struct sysctl_oid sysctl__net_link_ether
;
298 extern struct sysctl_oid sysctl__net_link_ether_inet
;
300 extern struct sysctl_oid sysctl__net_local_dgram
;
301 extern struct sysctl_oid sysctl__net_local_stream
;
302 extern struct sysctl_oid sysctl__sysctl_name
;
303 extern struct sysctl_oid sysctl__sysctl_next
;
304 extern struct sysctl_oid sysctl__sysctl_oidfmt
;
305 extern struct sysctl_oid sysctl__net_inet_ip_portrange_first
;
306 extern struct sysctl_oid sysctl__net_inet_ip_portrange_hifirst
;
307 extern struct sysctl_oid sysctl__net_inet_ip_portrange_hilast
;
308 extern struct sysctl_oid sysctl__net_inet_ip_portrange_last
;
309 extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowfirst
;
310 extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowlast
;
311 extern struct sysctl_oid sysctl__net_inet_raw_pcblist
;
312 extern struct sysctl_oid sysctl__net_inet_tcp_pcblist
;
313 extern struct sysctl_oid sysctl__net_inet_udp_pcblist
;
314 extern struct sysctl_oid sysctl__net_link_ether_bridge
;
315 extern struct sysctl_oid sysctl__net_local_dgram_pcblist
;
316 extern struct sysctl_oid sysctl__net_local_stream_pcblist
;
317 extern struct sysctl_oid sysctl__sysctl_debug
;
318 extern struct sysctl_oid sysctl__sysctl_name2oid
;
319 extern struct sysctl_oid sysctl__net_inet_icmp_stats
;
320 extern struct sysctl_oid sysctl__net_inet_igmp_stats
;
321 extern struct sysctl_oid sysctl__net_inet_ip_stats
;
322 extern struct sysctl_oid sysctl__net_inet_tcp_stats
;
323 extern struct sysctl_oid sysctl__net_inet_udp_stats
;
324 extern struct sysctl_oid sysctl__kern
;
325 extern struct sysctl_oid sysctl__hw
;
326 extern struct sysctl_oid sysctl__machdep
;
327 extern struct sysctl_oid sysctl__net
;
328 extern struct sysctl_oid sysctl__debug
;
329 extern struct sysctl_oid sysctl__vfs
;
330 extern struct sysctl_oid sysctl__sysctl
;
333 extern struct sysctl_oid sysctl__net_inet_tcp_v6mssdflt
;
334 extern struct sysctl_oid sysctl__net_inet6
;
335 extern struct sysctl_oid sysctl__net_inet6_ip6
;
336 extern struct sysctl_oid sysctl__net_inet6_ip6_stats
;
337 extern struct sysctl_oid sysctl__net_inet6_icmp6
;
338 extern struct sysctl_oid sysctl__net_inet6_ip6_forwarding
;
339 extern struct sysctl_oid sysctl__net_inet6_ip6_redirect
;
340 extern struct sysctl_oid sysctl__net_inet6_ip6_hlim
;
341 extern struct sysctl_oid sysctl__net_inet6_ip6_maxfragpackets
;
342 extern struct sysctl_oid sysctl__net_inet6_ip6_accept_rtadv
;
343 extern struct sysctl_oid sysctl__net_inet6_ip6_keepfaith
;
344 extern struct sysctl_oid sysctl__net_inet6_ip6_log_interval
;
345 extern struct sysctl_oid sysctl__net_inet6_ip6_hdrnestlimit
;
346 extern struct sysctl_oid sysctl__net_inet6_ip6_dad_count
;
347 extern struct sysctl_oid sysctl__net_inet6_ip6_auto_flowlabel
;
348 extern struct sysctl_oid sysctl__net_inet6_ip6_defmcasthlim
;
349 extern struct sysctl_oid sysctl__net_inet6_ip6_gifhlim
;
350 extern struct sysctl_oid sysctl__net_inet6_ip6_kame_version
;
351 extern struct sysctl_oid sysctl__net_inet6_ip6_use_deprecated
;
352 extern struct sysctl_oid sysctl__net_inet6_ip6_rr_prune
;
353 extern struct sysctl_oid sysctl__net_inet6_ip6_use_tempaddr
;
354 extern struct sysctl_oid sysctl__net_inet6_ip6_v6only
;
355 extern struct sysctl_oid sysctl__net_inet6_ip6_auto_linklocal
;
356 extern struct sysctl_oid sysctl__net_inet6_ip6_rip6stats
;
357 extern struct sysctl_oid sysctl__net_inet6_ip6_rtexpire
;
358 extern struct sysctl_oid sysctl__net_inet6_ip6_rtminexpire
;
359 extern struct sysctl_oid sysctl__net_inet6_ip6_rtmaxcache
;
360 extern struct sysctl_oid sysctl__net_inet6_ip6_temppltime
;
361 extern struct sysctl_oid sysctl__net_inet6_ip6_tempvltime
;
363 extern struct sysctl_oid sysctl__net_inet6_ip6_fw
;
364 extern struct sysctl_oid sysctl__net_inet6_ip6_fw_debug
;
365 extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose
;
366 extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose_limit
;
368 extern struct sysctl_oid sysctl__net_inet6_icmp6_rediraccept
;
369 extern struct sysctl_oid sysctl__net_inet6_icmp6_redirtimeout
;
370 extern struct sysctl_oid sysctl__net_inet6_icmp6_stats
;
371 extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo
;
372 extern struct sysctl_oid sysctl__net_inet6_icmp6_errppslimit
;
373 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_maxnudhint
;
374 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_debug
;
375 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_prune
;
376 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_delay
;
377 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_umaxtries
;
378 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_mmaxtries
;
379 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_useloopback
;
380 extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo
;
382 extern struct sysctl_oid sysctl__net_inet6_ipsec6
;
383 extern struct sysctl_oid sysctl__net_inet6_ipsec6_stats
;
384 extern struct sysctl_oid sysctl__net_inet6_ipsec6_def_policy
;
385 extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_trans_deflev
;
386 extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_net_deflev
;
387 extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_trans_deflev
;
388 extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_net_deflev
;
389 extern struct sysctl_oid sysctl__net_inet6_ipsec6_ecn
;
390 extern struct sysctl_oid sysctl__net_inet6_ipsec6_debug
;
391 extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_randpad
;
395 extern struct sysctl_oid sysctl__net_inet_ipsec
;
396 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_port
;
397 extern struct sysctl_oid sysctl__net_inet_ipsec_bypass
;
398 extern struct sysctl_oid sysctl__net_inet_ipsec_def_policy
;
399 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_randpad
;
400 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_trans_deflev
;
401 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_net_deflev
;
402 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_trans_deflev
;
403 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_net_deflev
;
404 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_cleartos
;
405 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_offsetmask
;
406 extern struct sysctl_oid sysctl__net_inet_ipsec_dfbit
;
407 extern struct sysctl_oid sysctl__net_inet_ipsec_ecn
;
408 extern struct sysctl_oid sysctl__net_inet_ipsec_debug
;
409 extern struct sysctl_oid sysctl__net_inet_ipsec_stats
;
410 extern struct sysctl_oid sysctl__net_key
;
411 extern struct sysctl_oid sysctl__net_key_debug
;
412 extern struct sysctl_oid sysctl__net_key_prefered_oldsa
;
413 extern struct sysctl_oid sysctl__net_key_spi_trycnt
;
414 extern struct sysctl_oid sysctl__net_key_spi_minval
;
415 extern struct sysctl_oid sysctl__net_key_spi_maxval
;
416 extern struct sysctl_oid sysctl__net_key_int_random
;
417 extern struct sysctl_oid sysctl__net_key_larval_lifetime
;
418 extern struct sysctl_oid sysctl__net_key_blockacq_count
;
419 extern struct sysctl_oid sysctl__net_key_blockacq_lifetime
;
420 extern struct sysctl_oid sysctl__net_key_esp_keymin
;
421 extern struct sysctl_oid sysctl__net_key_esp_auth
;
422 extern struct sysctl_oid sysctl__net_key_ah_keymin
;
423 extern struct sysctl_oid sysctl__net_key_natt_keepalive_interval
;
427 struct sysctl_oid
*newsysctl_list
[] =
436 &sysctl__debug_bpf_bufsize
,
437 &sysctl__debug_bpf_maxbufsize
439 ,&sysctl__debug_if_tun_debug
444 ,&sysctl__debug_ttydebug
448 ,&sysctl__kern_sysv_shmmax
449 ,&sysctl__kern_sysv_shmmin
450 ,&sysctl__kern_sysv_shmmni
451 ,&sysctl__kern_sysv_shmseg
452 ,&sysctl__kern_sysv_shmall
453 ,&sysctl__kern_sysv_semmni
454 ,&sysctl__kern_sysv_semmns
455 ,&sysctl__kern_sysv_semmnu
456 ,&sysctl__kern_sysv_semmsl
457 ,&sysctl__kern_sysv_semume
459 ,&sysctl__kern_ipc_maxsockbuf
460 ,&sysctl__kern_ipc_nmbclusters
461 ,&sysctl__kern_ipc_sockbuf_waste_factor
462 ,&sysctl__kern_ipc_somaxconn
463 ,&sysctl__kern_ipc_sosendminchain
464 ,&sysctl__kern_ipc_sorecvmincopy
465 ,&sysctl__kern_ipc_maxsockets
466 ,&sysctl__kern_sugid_scripts
471 ,&sysctl__hw_activecpu
472 ,&sysctl__hw_byteorder
474 ,&sysctl__hw_cpusubtype
477 ,&sysctl__hw_pagesize
479 ,&sysctl__hw_vectorunit
480 ,&sysctl__hw_busfrequency
481 ,&sysctl__hw_busfrequency_min
482 ,&sysctl__hw_busfrequency_max
483 ,&sysctl__hw_cpufrequency
484 ,&sysctl__hw_cpufrequency_min
485 ,&sysctl__hw_cpufrequency_max
486 ,&sysctl__hw_cachelinesize
487 ,&sysctl__hw_l1icachesize
488 ,&sysctl__hw_l1dcachesize
489 ,&sysctl__hw_l2settings
490 ,&sysctl__hw_l2cachesize
491 ,&sysctl__hw_l3settings
492 ,&sysctl__hw_l3cachesize
493 ,&sysctl__hw_tbfrequency
495 ,&sysctl__hw_optional
496 ,&sysctl__hw_optional_floatingpoint
498 ,&sysctl__hw_pagesize_compat
499 ,&sysctl__hw_busfrequency_compat
500 ,&sysctl__hw_cpufrequency_compat
501 ,&sysctl__hw_cachelinesize_compat
502 ,&sysctl__hw_l1icachesize_compat
503 ,&sysctl__hw_l1dcachesize_compat
504 ,&sysctl__hw_l2cachesize_compat
505 ,&sysctl__hw_l3cachesize_compat
506 ,&sysctl__hw_tbfrequency_compat
508 ,&sysctl__net_inet_icmp_icmplim
509 ,&sysctl__net_inet_icmp_maskrepl
510 ,&sysctl__net_inet_icmp_timestamp
511 ,&sysctl__net_inet_icmp_bmcastecho
512 ,&sysctl__net_inet_icmp_drop_redirect
513 ,&sysctl__net_inet_icmp_log_redirect
514 ,&sysctl__net_inet_ip_accept_sourceroute
516 ,&sysctl__net_inet_ip_mtu
518 ,&sysctl__net_inet_ip_ttl
519 ,&sysctl__net_inet_ip_fastforwarding
520 ,&sysctl__net_inet_ip_forwarding
521 ,&sysctl__net_inet_ip_intr_queue_drops
522 ,&sysctl__net_inet_ip_intr_queue_maxlen
523 ,&sysctl__net_inet_ip_rtexpire
524 ,&sysctl__net_inet_ip_rtmaxcache
525 ,&sysctl__net_inet_ip_rtminexpire
526 ,&sysctl__net_inet_ip_redirect
527 ,&sysctl__net_inet_ip_sourceroute
528 ,&sysctl__net_inet_ip_subnets_are_local
529 ,&sysctl__net_inet_ip_keepfaith
530 ,&sysctl__net_inet_ip_maxfragpackets
531 ,&sysctl__net_inet_ip_maxfragsperpacket
532 ,&sysctl__net_inet_ip_check_interface
533 ,&sysctl__net_inet_ip_check_route_selfref
534 ,&sysctl__net_inet_ip_use_route_genid
536 ,&sysctl__net_inet_ip_gifttl
539 ,&sysctl__net_inet_ip_dummynet_calls
540 ,&sysctl__net_inet_ip_dummynet_debug
541 ,&sysctl__net_inet_ip_dummynet_idle
542 ,&sysctl__net_inet_ip_dummynet
545 #if IPFIREWALL && !IPFIREWALL_KEXT
546 ,&sysctl__net_inet_ip_fw_debug
547 ,&sysctl__net_inet_ip_fw_verbose
548 ,&sysctl__net_inet_ip_fw_verbose_limit
549 ,&sysctl__net_inet_ip_fw_one_pass
550 ,&sysctl__net_inet_ip_fw
552 ,&sysctl__net_inet_ip_linklocal
553 ,&sysctl__net_inet_ip_linklocal_stat
554 ,&sysctl__net_inet_ip_linklocal_in
555 ,&sysctl__net_inet_ip_linklocal_in_allowbadttl
556 ,&sysctl__net_inet_raw_maxdgram
557 ,&sysctl__net_inet_raw_recvspace
558 ,&sysctl__net_inet_tcp_always_keepalive
559 ,&sysctl__net_inet_tcp_delayed_ack
560 ,&sysctl__net_inet_tcp_log_in_vain
561 ,&sysctl__net_inet_tcp_pcbcount
562 ,&sysctl__net_inet_tcp_rfc1323
563 ,&sysctl__net_inet_tcp_rfc1644
564 ,&sysctl__net_inet_tcp_keepidle
565 ,&sysctl__net_inet_tcp_keepinit
566 ,&sysctl__net_inet_tcp_keepintvl
567 ,&sysctl__net_inet_tcp_mssdflt
568 ,&sysctl__net_inet_tcp_minmss
569 ,&sysctl__net_inet_tcp_recvspace
570 ,&sysctl__net_inet_tcp_sendspace
571 ,&sysctl__net_inet_tcp_slowlink_wsize
572 ,&sysctl__net_inet_tcp_blackhole
573 ,&sysctl__net_inet_tcp_tcp_lq_overflow
574 ,&sysctl__net_inet_tcp_path_mtu_discovery
575 ,&sysctl__net_inet_tcp_slowstart_flightsize
576 ,&sysctl__net_inet_tcp_local_slowstart_flightsize
577 ,&sysctl__net_inet_tcp_newreno
578 ,&sysctl__net_inet_tcp_tcbhashsize
579 ,&sysctl__net_inet_tcp_do_tcpdrain
580 ,&sysctl__net_inet_tcp_icmp_may_rst
581 ,&sysctl__net_inet_tcp_strict_rfc1948
582 ,&sysctl__net_inet_tcp_delacktime
583 ,&sysctl__net_inet_tcp_isn_reseed_interval
584 ,&sysctl__net_inet_tcp_msl
586 ,&sysctl__net_inet_tcp_drop_synfin
589 ,&sysctl__net_inet_tcp_tcpconsdebug
591 ,&sysctl__net_inet_tcp_sockthreshold
592 ,&sysctl__net_inet_tcp_reass_maxsegments
593 ,&sysctl__net_inet_tcp_reass_cursegments
594 ,&sysctl__net_inet_tcp_reass_overflows
595 ,&sysctl__net_inet_tcp_reass
597 ,&sysctl__net_inet_udp_log_in_vain
598 ,&sysctl__net_inet_udp_checksum
599 ,&sysctl__net_inet_udp_maxdgram
600 ,&sysctl__net_inet_udp_recvspace
601 ,&sysctl__net_inet_udp_blackhole
604 ,&sysctl__net_appletalk_debug
605 ,&sysctl__net_appletalk_routermix
606 ,&sysctl__net_appletalk_ddpstats
610 ,&sysctl__net_link_ether_bdgfwc
611 ,&sysctl__net_link_ether_bdgfwt
612 ,&sysctl__net_link_ether_bdginc
613 ,&sysctl__net_link_ether_bdgint
614 ,&sysctl__net_link_ether_bridge_ipfw
615 ,&sysctl__net_link_ethe_bdgstats
616 ,&sysctl__net_link_ether_bridge
619 ,&sysctl__net_link_ether_inet_host_down_time
620 ,&sysctl__net_link_ether_inet_max_age
621 ,&sysctl__net_link_ether_inet_maxtries
622 ,&sysctl__net_link_ether_inet_proxyall
623 ,&sysctl__net_link_ether_inet_prune_intvl
624 ,&sysctl__net_link_ether_inet_useloopback
625 ,&sysctl__net_link_ether_inet_log_arp_wrong_iface
626 ,&sysctl__net_link_ether_inet_apple_hwcksum_tx
627 ,&sysctl__net_link_ether_inet_apple_hwcksum_rx
629 ,&sysctl__net_link_generic_system_ifcount
630 ,&sysctl__net_link_generic
631 ,&sysctl__net_link_generic_ifdata
632 ,&sysctl__net_link_generic_system
637 ,&sysctl__net_link_vlan_link_proto
638 ,&sysctl__net_link_vlan
639 ,&sysctl__net_link_vlan_link
643 ,&sysctl__net_local_inflight
644 ,&sysctl__net_local_dgram_maxdgram
645 ,&sysctl__net_local_dgram_recvspace
646 ,&sysctl__net_local_stream_recvspace
647 ,&sysctl__net_local_stream_sendspace
649 ,&sysctl__vfs_nfs_nfs_privport
650 ,&sysctl__vfs_nfs_async
651 ,&sysctl__vfs_nfs_debug
652 ,&sysctl__vfs_nfs_defect
653 ,&sysctl__vfs_nfs_diskless_valid
654 ,&sysctl__vfs_nfs_gatherdelay
655 ,&sysctl__vfs_nfs_gatherdelay_v3
657 ,&sysctl__vfs_nfs_diskless_rootaddr
658 ,&sysctl__vfs_nfs_diskless_swapaddr
659 ,&sysctl__vfs_nfs_diskless_rootpath
660 ,&sysctl__vfs_nfs_diskless_swappath
661 ,&sysctl__vfs_nfs_nfsstats
663 ,&sysctl__vfs_generic
664 ,&sysctl__vfs_generic_vfsidlist
665 ,&sysctl__vfs_generic_ctlbyfsid
666 ,&sysctl__vfs_generic_noremotehang
667 ,&sysctl__vfs_generic_nfs
668 ,&sysctl__vfs_generic_nfs_client
669 ,&sysctl__vfs_generic_nfs_client_initialdowndelay
670 ,&sysctl__vfs_generic_nfs_client_nextdowndelay
675 ,&sysctl__net_appletalk
679 ,&sysctl__net_routetable
681 ,&sysctl__net_inet_div
683 ,&sysctl__net_inet_icmp
684 ,&sysctl__net_inet_igmp
685 ,&sysctl__net_inet_ip
686 ,&sysctl__net_inet_raw
687 ,&sysctl__net_inet_tcp
688 ,&sysctl__net_inet_udp
689 ,&sysctl__net_inet_ip_portrange
690 ,&sysctl__net_link_ether
691 ,&sysctl__net_link_ether_inet
692 ,&sysctl__net_local_dgram
693 ,&sysctl__net_local_stream
694 ,&sysctl__sysctl_name
695 ,&sysctl__sysctl_next
696 ,&sysctl__sysctl_oidfmt
697 ,&sysctl__net_inet_ip_portrange_first
698 ,&sysctl__net_inet_ip_portrange_hifirst
699 ,&sysctl__net_inet_ip_portrange_hilast
700 ,&sysctl__net_inet_ip_portrange_last
701 ,&sysctl__net_inet_ip_portrange_lowfirst
702 ,&sysctl__net_inet_ip_portrange_lowlast
703 ,&sysctl__net_inet_raw_pcblist
704 ,&sysctl__net_inet_tcp_pcblist
705 ,&sysctl__net_inet_udp_pcblist
706 ,&sysctl__net_local_dgram_pcblist
707 ,&sysctl__net_local_stream_pcblist
708 ,&sysctl__sysctl_debug
709 ,&sysctl__sysctl_name2oid
710 ,&sysctl__net_inet_icmp_stats
711 ,&sysctl__net_inet_igmp_stats
712 ,&sysctl__net_inet_ip_stats
713 ,&sysctl__net_inet_tcp_stats
714 ,&sysctl__net_inet_udp_stats
717 ,&sysctl__net_inet6_ip6
718 ,&sysctl__net_inet6_icmp6
719 ,&sysctl__net_inet6_ip6_stats
720 ,&sysctl__net_inet6_ip6_forwarding
721 ,&sysctl__net_inet6_ip6_redirect
722 ,&sysctl__net_inet6_ip6_hlim
723 ,&sysctl__net_inet6_ip6_maxfragpackets
724 ,&sysctl__net_inet6_ip6_accept_rtadv
725 ,&sysctl__net_inet6_ip6_keepfaith
726 ,&sysctl__net_inet6_ip6_log_interval
727 ,&sysctl__net_inet6_ip6_hdrnestlimit
728 ,&sysctl__net_inet6_ip6_dad_count
729 ,&sysctl__net_inet6_ip6_auto_flowlabel
730 ,&sysctl__net_inet6_ip6_defmcasthlim
731 ,&sysctl__net_inet6_ip6_gifhlim
732 ,&sysctl__net_inet6_ip6_kame_version
733 ,&sysctl__net_inet6_ip6_use_deprecated
734 ,&sysctl__net_inet6_ip6_rr_prune
735 ,&sysctl__net_inet6_ip6_use_tempaddr
736 ,&sysctl__net_inet6_ip6_v6only
737 ,&sysctl__net_inet6_ip6_auto_linklocal
738 ,&sysctl__net_inet6_ip6_rip6stats
739 ,&sysctl__net_inet6_ip6_rtexpire
740 ,&sysctl__net_inet6_ip6_rtminexpire
741 ,&sysctl__net_inet6_ip6_rtmaxcache
742 ,&sysctl__net_inet6_ip6_temppltime
743 ,&sysctl__net_inet6_ip6_tempvltime
744 ,&sysctl__net_inet6_icmp6_rediraccept
745 ,&sysctl__net_inet6_icmp6_redirtimeout
746 ,&sysctl__net_inet6_icmp6_nd6_prune
747 ,&sysctl__net_inet6_icmp6_nd6_delay
748 ,&sysctl__net_inet6_icmp6_nd6_umaxtries
749 ,&sysctl__net_inet6_icmp6_nd6_mmaxtries
750 ,&sysctl__net_inet6_icmp6_nd6_useloopback
751 ,&sysctl__net_inet6_icmp6_nodeinfo
752 ,&sysctl__net_inet6_icmp6_stats
753 ,&sysctl__net_inet6_icmp6_errppslimit
754 ,&sysctl__net_inet6_icmp6_nd6_maxnudhint
755 ,&sysctl__net_inet6_icmp6_nd6_debug
756 ,&sysctl__net_inet_tcp_v6mssdflt
758 ,&sysctl__net_inet6_ip6_fw
759 ,&sysctl__net_inet6_ip6_fw_debug
760 ,&sysctl__net_inet6_ip6_fw_verbose
761 ,&sysctl__net_inet6_ip6_fw_verbose_limit
764 ,&sysctl__net_inet6_ipsec6
765 ,&sysctl__net_inet6_ipsec6_stats
766 ,&sysctl__net_inet6_ipsec6_def_policy
767 ,&sysctl__net_inet6_ipsec6_esp_trans_deflev
768 ,&sysctl__net_inet6_ipsec6_esp_net_deflev
769 ,&sysctl__net_inet6_ipsec6_ah_trans_deflev
770 ,&sysctl__net_inet6_ipsec6_ah_net_deflev
771 ,&sysctl__net_inet6_ipsec6_ecn
772 ,&sysctl__net_inet6_ipsec6_debug
773 ,&sysctl__net_inet6_ipsec6_esp_randpad
778 ,&sysctl__net_key_debug
779 ,&sysctl__net_key_prefered_oldsa
780 ,&sysctl__net_key_spi_trycnt
781 ,&sysctl__net_key_spi_minval
782 ,&sysctl__net_key_spi_maxval
783 ,&sysctl__net_key_int_random
784 ,&sysctl__net_key_larval_lifetime
785 ,&sysctl__net_key_blockacq_count
786 ,&sysctl__net_key_blockacq_lifetime
787 ,&sysctl__net_key_esp_keymin
788 ,&sysctl__net_key_esp_auth
789 ,&sysctl__net_key_ah_keymin
790 ,&sysctl__net_key_natt_keepalive_interval
791 ,&sysctl__net_inet_ipsec
792 ,&sysctl__net_inet_ipsec_stats
793 ,&sysctl__net_inet_ipsec_def_policy
794 ,&sysctl__net_inet_ipsec_esp_trans_deflev
795 ,&sysctl__net_inet_ipsec_esp_net_deflev
796 ,&sysctl__net_inet_ipsec_ah_trans_deflev
797 ,&sysctl__net_inet_ipsec_ah_net_deflev
798 ,&sysctl__net_inet_ipsec_ah_cleartos
799 ,&sysctl__net_inet_ipsec_ah_offsetmask
800 ,&sysctl__net_inet_ipsec_dfbit
801 ,&sysctl__net_inet_ipsec_ecn
802 ,&sysctl__net_inet_ipsec_debug
803 ,&sysctl__net_inet_ipsec_esp_randpad
804 ,&sysctl__net_inet_ipsec_bypass
805 ,&sysctl__net_inet_ipsec_esp_port
807 ,(struct sysctl_oid
*) 0