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__net_inet_icmp_icmplim
;
103 extern struct sysctl_oid sysctl__net_inet_icmp_maskrepl
;
104 extern struct sysctl_oid sysctl__net_inet_icmp_timestamp
;
105 extern struct sysctl_oid sysctl__net_inet_icmp_bmcastecho
;
106 extern struct sysctl_oid sysctl__net_inet_icmp_log_redirect
;
107 extern struct sysctl_oid sysctl__net_inet_icmp_drop_redirect
;
108 extern struct sysctl_oid sysctl__net_inet_ip_accept_sourceroute
;
111 extern struct sysctl_oid sysctl__net_inet_ip_mtu
;
114 extern struct sysctl_oid sysctl__net_inet_ip_ttl
;
115 extern struct sysctl_oid sysctl__net_inet_ip_fastforwarding
;
116 extern struct sysctl_oid sysctl__net_inet_ip_forwarding
;
117 extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_drops
;
118 extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_maxlen
;
119 extern struct sysctl_oid sysctl__net_inet_ip_rtexpire
;
120 extern struct sysctl_oid sysctl__net_inet_ip_rtmaxcache
;
121 extern struct sysctl_oid sysctl__net_inet_ip_rtminexpire
;
122 extern struct sysctl_oid sysctl__net_inet_ip_redirect
;
123 extern struct sysctl_oid sysctl__net_inet_ip_sourceroute
;
124 extern struct sysctl_oid sysctl__net_inet_ip_subnets_are_local
;
125 extern struct sysctl_oid sysctl__net_inet_ip_keepfaith
;
126 extern struct sysctl_oid sysctl__net_inet_ip_maxfragpackets
;
127 extern struct sysctl_oid sysctl__net_inet_ip_maxfragsperpacket
;
128 extern struct sysctl_oid sysctl__net_inet_ip_check_interface
;
129 extern struct sysctl_oid sysctl__net_inet_ip_check_route_selfref
;
130 extern struct sysctl_oid sysctl__net_inet_ip_use_route_genid
;
132 extern struct sysctl_oid sysctl__net_inet_ip_gifttl
;
136 extern struct sysctl_oid sysctl__net_inet_ip_dummynet_calls
;
137 extern struct sysctl_oid sysctl__net_inet_ip_dummynet_debug
;
138 extern struct sysctl_oid sysctl__net_inet_ip_dummynet_idle
;
139 extern struct sysctl_oid sysctl__net_inet_ip_dummynet
;
142 #if IPFIREWALL && !IPFIREWALL_KEXT
143 extern struct sysctl_oid sysctl__net_inet_ip_fw_debug
;
144 extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose
;
145 extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose_limit
;
146 extern struct sysctl_oid sysctl__net_inet_ip_fw_one_pass
;
147 extern struct sysctl_oid sysctl__net_inet_ip_fw
;
150 extern struct sysctl_oid sysctl__net_inet_ip_linklocal
;
151 extern struct sysctl_oid sysctl__net_inet_ip_linklocal_stat
;
152 extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in
;
153 extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in_allowbadttl
;
155 extern struct sysctl_oid sysctl__net_inet_raw_maxdgram
;
156 extern struct sysctl_oid sysctl__net_inet_raw_recvspace
;
157 extern struct sysctl_oid sysctl__net_inet_tcp_always_keepalive
;
158 extern struct sysctl_oid sysctl__net_inet_tcp_delayed_ack
;
159 extern struct sysctl_oid sysctl__net_inet_tcp_log_in_vain
;
160 extern struct sysctl_oid sysctl__net_inet_tcp_pcbcount
;
161 extern struct sysctl_oid sysctl__net_inet_tcp_rfc1323
;
162 extern struct sysctl_oid sysctl__net_inet_tcp_rfc1644
;
163 extern struct sysctl_oid sysctl__net_inet_tcp_keepidle
;
164 extern struct sysctl_oid sysctl__net_inet_tcp_keepinit
;
165 extern struct sysctl_oid sysctl__net_inet_tcp_keepintvl
;
166 extern struct sysctl_oid sysctl__net_inet_tcp_mssdflt
;
167 extern struct sysctl_oid sysctl__net_inet_tcp_minmss
;
168 extern struct sysctl_oid sysctl__net_inet_tcp_recvspace
;
169 extern struct sysctl_oid sysctl__net_inet_tcp_sendspace
;
170 extern struct sysctl_oid sysctl__net_inet_tcp_slowlink_wsize
;
171 extern struct sysctl_oid sysctl__net_inet_tcp_blackhole
;
172 extern struct sysctl_oid sysctl__net_inet_tcp_tcp_lq_overflow
;
173 extern struct sysctl_oid sysctl__net_inet_tcp_path_mtu_discovery
;
174 extern struct sysctl_oid sysctl__net_inet_tcp_slowstart_flightsize
;
175 extern struct sysctl_oid sysctl__net_inet_tcp_local_slowstart_flightsize
;
176 extern struct sysctl_oid sysctl__net_inet_tcp_newreno
;
177 extern struct sysctl_oid sysctl__net_inet_tcp_tcbhashsize
;
178 extern struct sysctl_oid sysctl__net_inet_tcp_do_tcpdrain
;
179 extern struct sysctl_oid sysctl__net_inet_tcp_icmp_may_rst
;
180 extern struct sysctl_oid sysctl__net_inet_tcp_strict_rfc1948
;
181 extern struct sysctl_oid sysctl__net_inet_tcp_delacktime
;
182 extern struct sysctl_oid sysctl__net_inet_tcp_isn_reseed_interval
;
183 extern struct sysctl_oid sysctl__net_inet_tcp_msl
;
185 extern struct sysctl_oid sysctl__net_inet_tcp_drop_synfin
;
188 extern struct sysctl_oid sysctl__net_inet_tcp_tcpconsdebug
;
190 extern struct sysctl_oid sysctl__net_inet_tcp_sockthreshold
;
191 extern struct sysctl_oid sysctl__net_inet_tcp_reass_maxsegments
;
192 extern struct sysctl_oid sysctl__net_inet_tcp_reass_cursegments
;
193 extern struct sysctl_oid sysctl__net_inet_tcp_reass_overflows
;
194 extern struct sysctl_oid sysctl__net_inet_tcp_reass
;
196 extern struct sysctl_oid sysctl__net_inet_udp_log_in_vain
;
197 extern struct sysctl_oid sysctl__net_inet_udp_checksum
;
198 extern struct sysctl_oid sysctl__net_inet_udp_maxdgram
;
199 extern struct sysctl_oid sysctl__net_inet_udp_recvspace
;
200 extern struct sysctl_oid sysctl__net_inet_udp_blackhole
;
203 extern struct sysctl_oid sysctl__net_appletalk_debug
;
204 extern struct sysctl_oid sysctl__net_appletalk_routermix
;
205 extern struct sysctl_oid sysctl__net_appletalk_ddpstats
;
209 extern struct sysctl_oid sysctl__net_link_ether_bdgfwc
;
210 extern struct sysctl_oid sysctl__net_link_ether_bdgfwt
;
211 extern struct sysctl_oid sysctl__net_link_ether_bdginc
;
212 extern struct sysctl_oid sysctl__net_link_ether_bdgint
;
213 extern struct sysctl_oid sysctl__net_link_ether_bridge_ipfw
;
214 extern struct sysctl_oid sysctl__net_link_ethe_bdgstats
;
217 extern struct sysctl_oid sysctl__net_link_ether_inet_host_down_time
;
218 extern struct sysctl_oid sysctl__net_link_ether_inet_max_age
;
219 extern struct sysctl_oid sysctl__net_link_ether_inet_maxtries
;
220 extern struct sysctl_oid sysctl__net_link_ether_inet_proxyall
;
221 extern struct sysctl_oid sysctl__net_link_ether_inet_prune_intvl
;
222 extern struct sysctl_oid sysctl__net_link_ether_inet_useloopback
;
223 extern struct sysctl_oid sysctl__net_link_ether_inet_log_arp_wrong_iface
;
224 extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_tx
;
225 extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_rx
;
228 extern struct sysctl_oid sysctl__net_link_generic_system_ifcount
;
229 extern struct sysctl_oid sysctl__net_link_generic
;
230 extern struct sysctl_oid sysctl__net_link_generic_ifdata
;
231 extern struct sysctl_oid sysctl__net_link_generic_system
;
235 extern struct sysctl_oid sysctl__net_link_vlan_link_proto
;
236 extern struct sysctl_oid sysctl__net_link_vlan
;
237 extern struct sysctl_oid sysctl__net_link_vlan_link
;
240 extern struct sysctl_oid sysctl__net_local_inflight
;
241 extern struct sysctl_oid sysctl__net_local_dgram_maxdgram
;
242 extern struct sysctl_oid sysctl__net_local_dgram_recvspace
;
243 extern struct sysctl_oid sysctl__net_local_stream_recvspace
;
244 extern struct sysctl_oid sysctl__net_local_stream_sendspace
;
247 extern struct sysctl_oid sysctl__vfs_nfs_nfs_privport
;
248 extern struct sysctl_oid sysctl__vfs_nfs_async
;
249 extern struct sysctl_oid sysctl__vfs_nfs_debug
;
250 extern struct sysctl_oid sysctl__vfs_nfs_defect
;
251 extern struct sysctl_oid sysctl__vfs_nfs_diskless_valid
;
252 extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay
;
253 extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay_v3
;
254 extern struct sysctl_oid sysctl__vfs_nfs
;
255 extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootaddr
;
256 extern struct sysctl_oid sysctl__vfs_nfs_diskless_swapaddr
;
257 extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootpath
;
258 extern struct sysctl_oid sysctl__vfs_nfs_diskless_swappath
;
259 extern struct sysctl_oid sysctl__vfs_nfs_nfsstats
;
261 extern struct sysctl_oid sysctl__vfs_generic_nfs_client_initialdowndelay
;
262 extern struct sysctl_oid sysctl__vfs_generic_nfs_client_nextdowndelay
;
263 extern struct sysctl_oid sysctl__vfs_generic_nfs_client
;
264 extern struct sysctl_oid sysctl__vfs_generic_nfs
;
266 extern struct sysctl_oid sysctl__vfs_generic
;
267 extern struct sysctl_oid sysctl__vfs_generic_vfsidlist
;
268 extern struct sysctl_oid sysctl__vfs_generic_ctlbyfsid
;
269 extern struct sysctl_oid sysctl__vfs_generic_noremotehang
;
271 extern struct sysctl_oid sysctl__kern_ipc
;
272 extern struct sysctl_oid sysctl__kern_sysv
;
274 extern struct sysctl_oid sysctl__net_inet
;
277 extern struct sysctl_oid sysctl__net_appletalk
;
280 extern struct sysctl_oid sysctl__net_link
;
281 extern struct sysctl_oid sysctl__net_local
;
282 extern struct sysctl_oid sysctl__net_routetable
;
285 extern struct sysctl_oid sysctl__net_inet_div
;
288 extern struct sysctl_oid sysctl__net_inet_icmp
;
289 extern struct sysctl_oid sysctl__net_inet_igmp
;
290 extern struct sysctl_oid sysctl__net_inet_ip
;
291 extern struct sysctl_oid sysctl__net_inet_raw
;
292 extern struct sysctl_oid sysctl__net_inet_tcp
;
293 extern struct sysctl_oid sysctl__net_inet_udp
;
294 extern struct sysctl_oid sysctl__net_inet_ip_portrange
;
296 extern struct sysctl_oid sysctl__net_link_ether
;
297 extern struct sysctl_oid sysctl__net_link_ether_inet
;
299 extern struct sysctl_oid sysctl__net_local_dgram
;
300 extern struct sysctl_oid sysctl__net_local_stream
;
301 extern struct sysctl_oid sysctl__sysctl_name
;
302 extern struct sysctl_oid sysctl__sysctl_next
;
303 extern struct sysctl_oid sysctl__sysctl_oidfmt
;
304 extern struct sysctl_oid sysctl__net_inet_ip_portrange_first
;
305 extern struct sysctl_oid sysctl__net_inet_ip_portrange_hifirst
;
306 extern struct sysctl_oid sysctl__net_inet_ip_portrange_hilast
;
307 extern struct sysctl_oid sysctl__net_inet_ip_portrange_last
;
308 extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowfirst
;
309 extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowlast
;
310 extern struct sysctl_oid sysctl__net_inet_raw_pcblist
;
311 extern struct sysctl_oid sysctl__net_inet_tcp_pcblist
;
312 extern struct sysctl_oid sysctl__net_inet_udp_pcblist
;
313 extern struct sysctl_oid sysctl__net_link_ether_bridge
;
314 extern struct sysctl_oid sysctl__net_local_dgram_pcblist
;
315 extern struct sysctl_oid sysctl__net_local_stream_pcblist
;
316 extern struct sysctl_oid sysctl__sysctl_debug
;
317 extern struct sysctl_oid sysctl__sysctl_name2oid
;
318 extern struct sysctl_oid sysctl__net_inet_icmp_stats
;
319 extern struct sysctl_oid sysctl__net_inet_igmp_stats
;
320 extern struct sysctl_oid sysctl__net_inet_ip_stats
;
321 extern struct sysctl_oid sysctl__net_inet_tcp_stats
;
322 extern struct sysctl_oid sysctl__net_inet_udp_stats
;
323 extern struct sysctl_oid sysctl__kern
;
324 extern struct sysctl_oid sysctl__hw
;
325 extern struct sysctl_oid sysctl__machdep
;
326 extern struct sysctl_oid sysctl__net
;
327 extern struct sysctl_oid sysctl__debug
;
328 extern struct sysctl_oid sysctl__vfs
;
329 extern struct sysctl_oid sysctl__sysctl
;
332 extern struct sysctl_oid sysctl__net_inet_tcp_v6mssdflt
;
333 extern struct sysctl_oid sysctl__net_inet6
;
334 extern struct sysctl_oid sysctl__net_inet6_ip6
;
335 extern struct sysctl_oid sysctl__net_inet6_ip6_stats
;
336 extern struct sysctl_oid sysctl__net_inet6_icmp6
;
337 extern struct sysctl_oid sysctl__net_inet6_ip6_forwarding
;
338 extern struct sysctl_oid sysctl__net_inet6_ip6_redirect
;
339 extern struct sysctl_oid sysctl__net_inet6_ip6_hlim
;
340 extern struct sysctl_oid sysctl__net_inet6_ip6_maxfragpackets
;
341 extern struct sysctl_oid sysctl__net_inet6_ip6_accept_rtadv
;
342 extern struct sysctl_oid sysctl__net_inet6_ip6_keepfaith
;
343 extern struct sysctl_oid sysctl__net_inet6_ip6_log_interval
;
344 extern struct sysctl_oid sysctl__net_inet6_ip6_hdrnestlimit
;
345 extern struct sysctl_oid sysctl__net_inet6_ip6_dad_count
;
346 extern struct sysctl_oid sysctl__net_inet6_ip6_auto_flowlabel
;
347 extern struct sysctl_oid sysctl__net_inet6_ip6_defmcasthlim
;
348 extern struct sysctl_oid sysctl__net_inet6_ip6_gifhlim
;
349 extern struct sysctl_oid sysctl__net_inet6_ip6_kame_version
;
350 extern struct sysctl_oid sysctl__net_inet6_ip6_use_deprecated
;
351 extern struct sysctl_oid sysctl__net_inet6_ip6_rr_prune
;
352 extern struct sysctl_oid sysctl__net_inet6_ip6_use_tempaddr
;
353 extern struct sysctl_oid sysctl__net_inet6_ip6_v6only
;
354 extern struct sysctl_oid sysctl__net_inet6_ip6_auto_linklocal
;
355 extern struct sysctl_oid sysctl__net_inet6_ip6_rip6stats
;
356 extern struct sysctl_oid sysctl__net_inet6_ip6_rtexpire
;
357 extern struct sysctl_oid sysctl__net_inet6_ip6_rtminexpire
;
358 extern struct sysctl_oid sysctl__net_inet6_ip6_rtmaxcache
;
359 extern struct sysctl_oid sysctl__net_inet6_ip6_temppltime
;
360 extern struct sysctl_oid sysctl__net_inet6_ip6_tempvltime
;
362 extern struct sysctl_oid sysctl__net_inet6_ip6_fw
;
363 extern struct sysctl_oid sysctl__net_inet6_ip6_fw_debug
;
364 extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose
;
365 extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose_limit
;
367 extern struct sysctl_oid sysctl__net_inet6_icmp6_rediraccept
;
368 extern struct sysctl_oid sysctl__net_inet6_icmp6_redirtimeout
;
369 extern struct sysctl_oid sysctl__net_inet6_icmp6_stats
;
370 extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo
;
371 extern struct sysctl_oid sysctl__net_inet6_icmp6_errppslimit
;
372 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_maxnudhint
;
373 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_debug
;
374 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_prune
;
375 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_delay
;
376 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_umaxtries
;
377 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_mmaxtries
;
378 extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_useloopback
;
379 extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo
;
381 extern struct sysctl_oid sysctl__net_inet6_ipsec6
;
382 extern struct sysctl_oid sysctl__net_inet6_ipsec6_stats
;
383 extern struct sysctl_oid sysctl__net_inet6_ipsec6_def_policy
;
384 extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_trans_deflev
;
385 extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_net_deflev
;
386 extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_trans_deflev
;
387 extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_net_deflev
;
388 extern struct sysctl_oid sysctl__net_inet6_ipsec6_ecn
;
389 extern struct sysctl_oid sysctl__net_inet6_ipsec6_debug
;
390 extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_randpad
;
394 extern struct sysctl_oid sysctl__net_inet_ipsec
;
395 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_port
;
396 extern struct sysctl_oid sysctl__net_inet_ipsec_bypass
;
397 extern struct sysctl_oid sysctl__net_inet_ipsec_def_policy
;
398 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_randpad
;
399 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_trans_deflev
;
400 extern struct sysctl_oid sysctl__net_inet_ipsec_esp_net_deflev
;
401 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_trans_deflev
;
402 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_net_deflev
;
403 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_cleartos
;
404 extern struct sysctl_oid sysctl__net_inet_ipsec_ah_offsetmask
;
405 extern struct sysctl_oid sysctl__net_inet_ipsec_dfbit
;
406 extern struct sysctl_oid sysctl__net_inet_ipsec_ecn
;
407 extern struct sysctl_oid sysctl__net_inet_ipsec_debug
;
408 extern struct sysctl_oid sysctl__net_inet_ipsec_stats
;
409 extern struct sysctl_oid sysctl__net_key
;
410 extern struct sysctl_oid sysctl__net_key_debug
;
411 extern struct sysctl_oid sysctl__net_key_prefered_oldsa
;
412 extern struct sysctl_oid sysctl__net_key_spi_trycnt
;
413 extern struct sysctl_oid sysctl__net_key_spi_minval
;
414 extern struct sysctl_oid sysctl__net_key_spi_maxval
;
415 extern struct sysctl_oid sysctl__net_key_int_random
;
416 extern struct sysctl_oid sysctl__net_key_larval_lifetime
;
417 extern struct sysctl_oid sysctl__net_key_blockacq_count
;
418 extern struct sysctl_oid sysctl__net_key_blockacq_lifetime
;
419 extern struct sysctl_oid sysctl__net_key_esp_keymin
;
420 extern struct sysctl_oid sysctl__net_key_esp_auth
;
421 extern struct sysctl_oid sysctl__net_key_ah_keymin
;
422 extern struct sysctl_oid sysctl__net_key_natt_keepalive_interval
;
426 struct sysctl_oid
*newsysctl_list
[] =
435 &sysctl__debug_bpf_bufsize
,
436 &sysctl__debug_bpf_maxbufsize
438 ,&sysctl__debug_if_tun_debug
443 ,&sysctl__debug_ttydebug
447 ,&sysctl__kern_sysv_shmmax
448 ,&sysctl__kern_sysv_shmmin
449 ,&sysctl__kern_sysv_shmmni
450 ,&sysctl__kern_sysv_shmseg
451 ,&sysctl__kern_sysv_shmall
452 ,&sysctl__kern_sysv_semmni
453 ,&sysctl__kern_sysv_semmns
454 ,&sysctl__kern_sysv_semmnu
455 ,&sysctl__kern_sysv_semmsl
456 ,&sysctl__kern_sysv_semume
458 ,&sysctl__kern_ipc_maxsockbuf
459 ,&sysctl__kern_ipc_nmbclusters
460 ,&sysctl__kern_ipc_sockbuf_waste_factor
461 ,&sysctl__kern_ipc_somaxconn
462 ,&sysctl__kern_ipc_sosendminchain
463 ,&sysctl__kern_ipc_sorecvmincopy
464 ,&sysctl__kern_ipc_maxsockets
469 ,&sysctl__hw_activecpu
470 ,&sysctl__hw_byteorder
472 ,&sysctl__hw_cpusubtype
475 ,&sysctl__hw_pagesize
477 ,&sysctl__hw_vectorunit
478 ,&sysctl__hw_busfrequency
479 ,&sysctl__hw_busfrequency_min
480 ,&sysctl__hw_busfrequency_max
481 ,&sysctl__hw_cpufrequency
482 ,&sysctl__hw_cpufrequency_min
483 ,&sysctl__hw_cpufrequency_max
484 ,&sysctl__hw_cachelinesize
485 ,&sysctl__hw_l1icachesize
486 ,&sysctl__hw_l1dcachesize
487 ,&sysctl__hw_l2settings
488 ,&sysctl__hw_l2cachesize
489 ,&sysctl__hw_l3settings
490 ,&sysctl__hw_l3cachesize
491 ,&sysctl__hw_tbfrequency
493 ,&sysctl__hw_optional
494 ,&sysctl__hw_optional_floatingpoint
496 ,&sysctl__hw_pagesize_compat
497 ,&sysctl__hw_busfrequency_compat
498 ,&sysctl__hw_cpufrequency_compat
499 ,&sysctl__hw_cachelinesize_compat
500 ,&sysctl__hw_l1icachesize_compat
501 ,&sysctl__hw_l1dcachesize_compat
502 ,&sysctl__hw_l2cachesize_compat
503 ,&sysctl__hw_l3cachesize_compat
504 ,&sysctl__hw_tbfrequency_compat
506 ,&sysctl__net_inet_icmp_icmplim
507 ,&sysctl__net_inet_icmp_maskrepl
508 ,&sysctl__net_inet_icmp_timestamp
509 ,&sysctl__net_inet_icmp_bmcastecho
510 ,&sysctl__net_inet_icmp_drop_redirect
511 ,&sysctl__net_inet_icmp_log_redirect
512 ,&sysctl__net_inet_ip_accept_sourceroute
514 ,&sysctl__net_inet_ip_mtu
516 ,&sysctl__net_inet_ip_ttl
517 ,&sysctl__net_inet_ip_fastforwarding
518 ,&sysctl__net_inet_ip_forwarding
519 ,&sysctl__net_inet_ip_intr_queue_drops
520 ,&sysctl__net_inet_ip_intr_queue_maxlen
521 ,&sysctl__net_inet_ip_rtexpire
522 ,&sysctl__net_inet_ip_rtmaxcache
523 ,&sysctl__net_inet_ip_rtminexpire
524 ,&sysctl__net_inet_ip_redirect
525 ,&sysctl__net_inet_ip_sourceroute
526 ,&sysctl__net_inet_ip_subnets_are_local
527 ,&sysctl__net_inet_ip_keepfaith
528 ,&sysctl__net_inet_ip_maxfragpackets
529 ,&sysctl__net_inet_ip_maxfragsperpacket
530 ,&sysctl__net_inet_ip_check_interface
531 ,&sysctl__net_inet_ip_check_route_selfref
532 ,&sysctl__net_inet_ip_use_route_genid
534 ,&sysctl__net_inet_ip_gifttl
537 ,&sysctl__net_inet_ip_dummynet_calls
538 ,&sysctl__net_inet_ip_dummynet_debug
539 ,&sysctl__net_inet_ip_dummynet_idle
540 ,&sysctl__net_inet_ip_dummynet
543 #if IPFIREWALL && !IPFIREWALL_KEXT
544 ,&sysctl__net_inet_ip_fw_debug
545 ,&sysctl__net_inet_ip_fw_verbose
546 ,&sysctl__net_inet_ip_fw_verbose_limit
547 ,&sysctl__net_inet_ip_fw_one_pass
548 ,&sysctl__net_inet_ip_fw
550 ,&sysctl__net_inet_ip_linklocal
551 ,&sysctl__net_inet_ip_linklocal_stat
552 ,&sysctl__net_inet_ip_linklocal_in
553 ,&sysctl__net_inet_ip_linklocal_in_allowbadttl
554 ,&sysctl__net_inet_raw_maxdgram
555 ,&sysctl__net_inet_raw_recvspace
556 ,&sysctl__net_inet_tcp_always_keepalive
557 ,&sysctl__net_inet_tcp_delayed_ack
558 ,&sysctl__net_inet_tcp_log_in_vain
559 ,&sysctl__net_inet_tcp_pcbcount
560 ,&sysctl__net_inet_tcp_rfc1323
561 ,&sysctl__net_inet_tcp_rfc1644
562 ,&sysctl__net_inet_tcp_keepidle
563 ,&sysctl__net_inet_tcp_keepinit
564 ,&sysctl__net_inet_tcp_keepintvl
565 ,&sysctl__net_inet_tcp_mssdflt
566 ,&sysctl__net_inet_tcp_minmss
567 ,&sysctl__net_inet_tcp_recvspace
568 ,&sysctl__net_inet_tcp_sendspace
569 ,&sysctl__net_inet_tcp_slowlink_wsize
570 ,&sysctl__net_inet_tcp_blackhole
571 ,&sysctl__net_inet_tcp_tcp_lq_overflow
572 ,&sysctl__net_inet_tcp_path_mtu_discovery
573 ,&sysctl__net_inet_tcp_slowstart_flightsize
574 ,&sysctl__net_inet_tcp_local_slowstart_flightsize
575 ,&sysctl__net_inet_tcp_newreno
576 ,&sysctl__net_inet_tcp_tcbhashsize
577 ,&sysctl__net_inet_tcp_do_tcpdrain
578 ,&sysctl__net_inet_tcp_icmp_may_rst
579 ,&sysctl__net_inet_tcp_strict_rfc1948
580 ,&sysctl__net_inet_tcp_delacktime
581 ,&sysctl__net_inet_tcp_isn_reseed_interval
582 ,&sysctl__net_inet_tcp_msl
584 ,&sysctl__net_inet_tcp_drop_synfin
587 ,&sysctl__net_inet_tcp_tcpconsdebug
589 ,&sysctl__net_inet_tcp_sockthreshold
590 ,&sysctl__net_inet_tcp_reass_maxsegments
591 ,&sysctl__net_inet_tcp_reass_cursegments
592 ,&sysctl__net_inet_tcp_reass_overflows
593 ,&sysctl__net_inet_tcp_reass
595 ,&sysctl__net_inet_udp_log_in_vain
596 ,&sysctl__net_inet_udp_checksum
597 ,&sysctl__net_inet_udp_maxdgram
598 ,&sysctl__net_inet_udp_recvspace
599 ,&sysctl__net_inet_udp_blackhole
602 ,&sysctl__net_appletalk_debug
603 ,&sysctl__net_appletalk_routermix
604 ,&sysctl__net_appletalk_ddpstats
608 ,&sysctl__net_link_ether_bdgfwc
609 ,&sysctl__net_link_ether_bdgfwt
610 ,&sysctl__net_link_ether_bdginc
611 ,&sysctl__net_link_ether_bdgint
612 ,&sysctl__net_link_ether_bridge_ipfw
613 ,&sysctl__net_link_ethe_bdgstats
614 ,&sysctl__net_link_ether_bridge
617 ,&sysctl__net_link_ether_inet_host_down_time
618 ,&sysctl__net_link_ether_inet_max_age
619 ,&sysctl__net_link_ether_inet_maxtries
620 ,&sysctl__net_link_ether_inet_proxyall
621 ,&sysctl__net_link_ether_inet_prune_intvl
622 ,&sysctl__net_link_ether_inet_useloopback
623 ,&sysctl__net_link_ether_inet_log_arp_wrong_iface
624 ,&sysctl__net_link_ether_inet_apple_hwcksum_tx
625 ,&sysctl__net_link_ether_inet_apple_hwcksum_rx
627 ,&sysctl__net_link_generic_system_ifcount
628 ,&sysctl__net_link_generic
629 ,&sysctl__net_link_generic_ifdata
630 ,&sysctl__net_link_generic_system
635 ,&sysctl__net_link_vlan_link_proto
636 ,&sysctl__net_link_vlan
637 ,&sysctl__net_link_vlan_link
641 ,&sysctl__net_local_inflight
642 ,&sysctl__net_local_dgram_maxdgram
643 ,&sysctl__net_local_dgram_recvspace
644 ,&sysctl__net_local_stream_recvspace
645 ,&sysctl__net_local_stream_sendspace
647 ,&sysctl__vfs_nfs_nfs_privport
648 ,&sysctl__vfs_nfs_async
649 ,&sysctl__vfs_nfs_debug
650 ,&sysctl__vfs_nfs_defect
651 ,&sysctl__vfs_nfs_diskless_valid
652 ,&sysctl__vfs_nfs_gatherdelay
653 ,&sysctl__vfs_nfs_gatherdelay_v3
655 ,&sysctl__vfs_nfs_diskless_rootaddr
656 ,&sysctl__vfs_nfs_diskless_swapaddr
657 ,&sysctl__vfs_nfs_diskless_rootpath
658 ,&sysctl__vfs_nfs_diskless_swappath
659 ,&sysctl__vfs_nfs_nfsstats
661 ,&sysctl__vfs_generic
662 ,&sysctl__vfs_generic_vfsidlist
663 ,&sysctl__vfs_generic_ctlbyfsid
664 ,&sysctl__vfs_generic_noremotehang
665 ,&sysctl__vfs_generic_nfs
666 ,&sysctl__vfs_generic_nfs_client
667 ,&sysctl__vfs_generic_nfs_client_initialdowndelay
668 ,&sysctl__vfs_generic_nfs_client_nextdowndelay
673 ,&sysctl__net_appletalk
677 ,&sysctl__net_routetable
679 ,&sysctl__net_inet_div
681 ,&sysctl__net_inet_icmp
682 ,&sysctl__net_inet_igmp
683 ,&sysctl__net_inet_ip
684 ,&sysctl__net_inet_raw
685 ,&sysctl__net_inet_tcp
686 ,&sysctl__net_inet_udp
687 ,&sysctl__net_inet_ip_portrange
688 ,&sysctl__net_link_ether
689 ,&sysctl__net_link_ether_inet
690 ,&sysctl__net_local_dgram
691 ,&sysctl__net_local_stream
692 ,&sysctl__sysctl_name
693 ,&sysctl__sysctl_next
694 ,&sysctl__sysctl_oidfmt
695 ,&sysctl__net_inet_ip_portrange_first
696 ,&sysctl__net_inet_ip_portrange_hifirst
697 ,&sysctl__net_inet_ip_portrange_hilast
698 ,&sysctl__net_inet_ip_portrange_last
699 ,&sysctl__net_inet_ip_portrange_lowfirst
700 ,&sysctl__net_inet_ip_portrange_lowlast
701 ,&sysctl__net_inet_raw_pcblist
702 ,&sysctl__net_inet_tcp_pcblist
703 ,&sysctl__net_inet_udp_pcblist
704 ,&sysctl__net_local_dgram_pcblist
705 ,&sysctl__net_local_stream_pcblist
706 ,&sysctl__sysctl_debug
707 ,&sysctl__sysctl_name2oid
708 ,&sysctl__net_inet_icmp_stats
709 ,&sysctl__net_inet_igmp_stats
710 ,&sysctl__net_inet_ip_stats
711 ,&sysctl__net_inet_tcp_stats
712 ,&sysctl__net_inet_udp_stats
715 ,&sysctl__net_inet6_ip6
716 ,&sysctl__net_inet6_icmp6
717 ,&sysctl__net_inet6_ip6_stats
718 ,&sysctl__net_inet6_ip6_forwarding
719 ,&sysctl__net_inet6_ip6_redirect
720 ,&sysctl__net_inet6_ip6_hlim
721 ,&sysctl__net_inet6_ip6_maxfragpackets
722 ,&sysctl__net_inet6_ip6_accept_rtadv
723 ,&sysctl__net_inet6_ip6_keepfaith
724 ,&sysctl__net_inet6_ip6_log_interval
725 ,&sysctl__net_inet6_ip6_hdrnestlimit
726 ,&sysctl__net_inet6_ip6_dad_count
727 ,&sysctl__net_inet6_ip6_auto_flowlabel
728 ,&sysctl__net_inet6_ip6_defmcasthlim
729 ,&sysctl__net_inet6_ip6_gifhlim
730 ,&sysctl__net_inet6_ip6_kame_version
731 ,&sysctl__net_inet6_ip6_use_deprecated
732 ,&sysctl__net_inet6_ip6_rr_prune
733 ,&sysctl__net_inet6_ip6_use_tempaddr
734 ,&sysctl__net_inet6_ip6_v6only
735 ,&sysctl__net_inet6_ip6_auto_linklocal
736 ,&sysctl__net_inet6_ip6_rip6stats
737 ,&sysctl__net_inet6_ip6_rtexpire
738 ,&sysctl__net_inet6_ip6_rtminexpire
739 ,&sysctl__net_inet6_ip6_rtmaxcache
740 ,&sysctl__net_inet6_ip6_temppltime
741 ,&sysctl__net_inet6_ip6_tempvltime
742 ,&sysctl__net_inet6_icmp6_rediraccept
743 ,&sysctl__net_inet6_icmp6_redirtimeout
744 ,&sysctl__net_inet6_icmp6_nd6_prune
745 ,&sysctl__net_inet6_icmp6_nd6_delay
746 ,&sysctl__net_inet6_icmp6_nd6_umaxtries
747 ,&sysctl__net_inet6_icmp6_nd6_mmaxtries
748 ,&sysctl__net_inet6_icmp6_nd6_useloopback
749 ,&sysctl__net_inet6_icmp6_nodeinfo
750 ,&sysctl__net_inet6_icmp6_stats
751 ,&sysctl__net_inet6_icmp6_errppslimit
752 ,&sysctl__net_inet6_icmp6_nd6_maxnudhint
753 ,&sysctl__net_inet6_icmp6_nd6_debug
754 ,&sysctl__net_inet_tcp_v6mssdflt
756 ,&sysctl__net_inet6_ip6_fw
757 ,&sysctl__net_inet6_ip6_fw_debug
758 ,&sysctl__net_inet6_ip6_fw_verbose
759 ,&sysctl__net_inet6_ip6_fw_verbose_limit
762 ,&sysctl__net_inet6_ipsec6
763 ,&sysctl__net_inet6_ipsec6_stats
764 ,&sysctl__net_inet6_ipsec6_def_policy
765 ,&sysctl__net_inet6_ipsec6_esp_trans_deflev
766 ,&sysctl__net_inet6_ipsec6_esp_net_deflev
767 ,&sysctl__net_inet6_ipsec6_ah_trans_deflev
768 ,&sysctl__net_inet6_ipsec6_ah_net_deflev
769 ,&sysctl__net_inet6_ipsec6_ecn
770 ,&sysctl__net_inet6_ipsec6_debug
771 ,&sysctl__net_inet6_ipsec6_esp_randpad
776 ,&sysctl__net_key_debug
777 ,&sysctl__net_key_prefered_oldsa
778 ,&sysctl__net_key_spi_trycnt
779 ,&sysctl__net_key_spi_minval
780 ,&sysctl__net_key_spi_maxval
781 ,&sysctl__net_key_int_random
782 ,&sysctl__net_key_larval_lifetime
783 ,&sysctl__net_key_blockacq_count
784 ,&sysctl__net_key_blockacq_lifetime
785 ,&sysctl__net_key_esp_keymin
786 ,&sysctl__net_key_esp_auth
787 ,&sysctl__net_key_ah_keymin
788 ,&sysctl__net_key_natt_keepalive_interval
789 ,&sysctl__net_inet_ipsec
790 ,&sysctl__net_inet_ipsec_stats
791 ,&sysctl__net_inet_ipsec_def_policy
792 ,&sysctl__net_inet_ipsec_esp_trans_deflev
793 ,&sysctl__net_inet_ipsec_esp_net_deflev
794 ,&sysctl__net_inet_ipsec_ah_trans_deflev
795 ,&sysctl__net_inet_ipsec_ah_net_deflev
796 ,&sysctl__net_inet_ipsec_ah_cleartos
797 ,&sysctl__net_inet_ipsec_ah_offsetmask
798 ,&sysctl__net_inet_ipsec_dfbit
799 ,&sysctl__net_inet_ipsec_ecn
800 ,&sysctl__net_inet_ipsec_debug
801 ,&sysctl__net_inet_ipsec_esp_randpad
802 ,&sysctl__net_inet_ipsec_bypass
803 ,&sysctl__net_inet_ipsec_esp_port
805 ,(struct sysctl_oid
*) 0