]>
Commit | Line | Data |
---|---|---|
1c79356b | 1 | /* |
5d5c5d0d A |
2 | * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. |
3 | * | |
8f6c56a5 | 4 | * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ |
1c79356b | 5 | * |
8f6c56a5 A |
6 | * This file contains Original Code and/or Modifications of Original Code |
7 | * as defined in and that are subject to the Apple Public Source License | |
8 | * Version 2.0 (the 'License'). You may not use this file except in | |
9 | * compliance with the License. The rights granted to you under the License | |
10 | * may not be used to create, or enable the creation or redistribution of, | |
11 | * unlawful or unlicensed copies of an Apple operating system, or to | |
12 | * circumvent, violate, or enable the circumvention or violation of, any | |
13 | * terms of an Apple operating system software license agreement. | |
14 | * | |
15 | * Please obtain a copy of the License at | |
16 | * http://www.opensource.apple.com/apsl/ and read it before using this file. | |
17 | * | |
18 | * The Original Code and all software distributed under the License are | |
19 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
20 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, | |
21 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
22 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. | |
23 | * Please see the License for the specific language governing rights and | |
8ad349bb | 24 | * limitations under the License. |
8f6c56a5 A |
25 | * |
26 | * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ | |
1c79356b A |
27 | */ |
28 | ||
29 | #include <sys/param.h> | |
1c79356b A |
30 | #include <sys/kernel.h> |
31 | #include <sys/sysctl.h> | |
32 | ||
33 | extern struct sysctl_oid sysctl__debug_bpf_bufsize; | |
9bccf70c | 34 | extern struct sysctl_oid sysctl__debug_bpf_maxbufsize; |
91447636 A |
35 | extern struct sysctl_oid sysctl__debug_bpf_maxdevices; |
36 | extern struct sysctl_oid sysctl__debug_iokit; | |
1c79356b A |
37 | |
38 | #if TUN | |
39 | extern struct sysctl_oid sysctl__debug_if_tun_debug; | |
40 | #endif | |
41 | ||
91447636 | 42 | #if COMPAT_43_TTY |
1c79356b A |
43 | #ifndef NeXT |
44 | extern struct sysctl_oid sysctl__debug_ttydebug; | |
45 | #endif | |
46 | #endif | |
47 | ||
43866e37 A |
48 | extern struct sysctl_oid sysctl__hw_machine; |
49 | extern struct sysctl_oid sysctl__hw_model; | |
50 | extern struct sysctl_oid sysctl__hw_ncpu; | |
51 | extern struct sysctl_oid sysctl__hw_activecpu; | |
91447636 A |
52 | extern struct sysctl_oid sysctl__hw_physicalcpu; |
53 | extern struct sysctl_oid sysctl__hw_physicalcpu_max; | |
54 | extern struct sysctl_oid sysctl__hw_logicalcpu; | |
55 | extern struct sysctl_oid sysctl__hw_logicalcpu_max; | |
43866e37 A |
56 | extern struct sysctl_oid sysctl__hw_byteorder; |
57 | extern struct sysctl_oid sysctl__hw_cputype; | |
58 | extern struct sysctl_oid sysctl__hw_cpusubtype; | |
59 | extern struct sysctl_oid sysctl__hw_physmem; | |
60 | extern struct sysctl_oid sysctl__hw_usermem; | |
61 | extern struct sysctl_oid sysctl__hw_pagesize; | |
62 | extern struct sysctl_oid sysctl__hw_epoch; | |
63 | extern struct sysctl_oid sysctl__hw_vectorunit; | |
64 | extern struct sysctl_oid sysctl__hw_busfrequency; | |
65 | extern struct sysctl_oid sysctl__hw_busfrequency_min; | |
66 | extern struct sysctl_oid sysctl__hw_busfrequency_max; | |
67 | extern struct sysctl_oid sysctl__hw_cpufrequency; | |
68 | extern struct sysctl_oid sysctl__hw_cpufrequency_min; | |
69 | extern struct sysctl_oid sysctl__hw_cpufrequency_max; | |
70 | extern struct sysctl_oid sysctl__hw_cachelinesize; | |
71 | extern struct sysctl_oid sysctl__hw_l1icachesize; | |
72 | extern struct sysctl_oid sysctl__hw_l1dcachesize; | |
73 | extern struct sysctl_oid sysctl__hw_l2settings; | |
74 | extern struct sysctl_oid sysctl__hw_l2cachesize; | |
75 | extern struct sysctl_oid sysctl__hw_l3settings; | |
76 | extern struct sysctl_oid sysctl__hw_l3cachesize; | |
77 | extern struct sysctl_oid sysctl__hw_tbfrequency; | |
78 | extern struct sysctl_oid sysctl__hw_memsize; | |
79 | ||
80 | extern struct sysctl_oid sysctl__hw_optional; | |
81 | extern struct sysctl_oid sysctl__hw_optional_floatingpoint; | |
82 | ||
83 | extern struct sysctl_oid sysctl__hw_pagesize_compat; | |
84 | extern struct sysctl_oid sysctl__hw_busfrequency_compat; | |
85 | extern struct sysctl_oid sysctl__hw_cpufrequency_compat; | |
86 | extern struct sysctl_oid sysctl__hw_cachelinesize_compat; | |
87 | extern struct sysctl_oid sysctl__hw_l1icachesize_compat; | |
88 | extern struct sysctl_oid sysctl__hw_l1dcachesize_compat; | |
89 | extern struct sysctl_oid sysctl__hw_l2cachesize_compat; | |
90 | extern struct sysctl_oid sysctl__hw_l3cachesize_compat; | |
91 | extern struct sysctl_oid sysctl__hw_tbfrequency_compat; | |
92 | ||
9bccf70c A |
93 | extern struct sysctl_oid sysctl__kern_sysv_shmmax; |
94 | extern struct sysctl_oid sysctl__kern_sysv_shmmin; | |
95 | extern struct sysctl_oid sysctl__kern_sysv_shmmni; | |
96 | extern struct sysctl_oid sysctl__kern_sysv_shmseg; | |
97 | extern struct sysctl_oid sysctl__kern_sysv_shmall; | |
91447636 A |
98 | extern struct sysctl_oid sysctl__kern_sysv_ipcs; |
99 | extern struct sysctl_oid sysctl__kern_sysv_ipcs_shm; | |
100 | extern struct sysctl_oid sysctl__kern_sysv_ipcs_sem; | |
101 | extern struct sysctl_oid sysctl__kern_sysv_ipcs_msg; | |
9bccf70c | 102 | |
55e303ae A |
103 | extern struct sysctl_oid sysctl__kern_sysv_semmni; |
104 | extern struct sysctl_oid sysctl__kern_sysv_semmns; | |
105 | extern struct sysctl_oid sysctl__kern_sysv_semmnu; | |
106 | extern struct sysctl_oid sysctl__kern_sysv_semmsl; | |
107 | extern struct sysctl_oid sysctl__kern_sysv_semume; | |
108 | ||
1c79356b A |
109 | extern struct sysctl_oid sysctl__kern_dummy; |
110 | extern struct sysctl_oid sysctl__kern_ipc_maxsockbuf; | |
91447636 | 111 | extern struct sysctl_oid sysctl__kern_ipc_mbstat; |
1c79356b A |
112 | extern struct sysctl_oid sysctl__kern_ipc_nmbclusters; |
113 | extern struct sysctl_oid sysctl__kern_ipc_sockbuf_waste_factor; | |
114 | extern struct sysctl_oid sysctl__kern_ipc_somaxconn; | |
115 | extern struct sysctl_oid sysctl__kern_ipc_sosendminchain; | |
55e303ae | 116 | extern struct sysctl_oid sysctl__kern_ipc_sorecvmincopy; |
1c79356b | 117 | extern struct sysctl_oid sysctl__kern_ipc_maxsockets; |
91447636 A |
118 | extern struct sysctl_oid sysctl__kern_posix; |
119 | extern struct sysctl_oid sysctl__kern_posix_sem; | |
120 | extern struct sysctl_oid sysctl__kern_posix_sem_max; | |
a3d08fcd | 121 | extern struct sysctl_oid sysctl__kern_sugid_scripts; |
3a60a9f5 | 122 | extern struct sysctl_oid sysctl__kern_always_do_fullfsync; |
8f6c56a5 | 123 | extern struct sysctl_oid sysctl__kern_flush_cache_on_write; |
1c79356b A |
124 | extern struct sysctl_oid sysctl__net_inet_icmp_icmplim; |
125 | extern struct sysctl_oid sysctl__net_inet_icmp_maskrepl; | |
55e303ae | 126 | extern struct sysctl_oid sysctl__net_inet_icmp_timestamp; |
1c79356b | 127 | extern struct sysctl_oid sysctl__net_inet_icmp_bmcastecho; |
9bccf70c A |
128 | extern struct sysctl_oid sysctl__net_inet_icmp_log_redirect; |
129 | extern struct sysctl_oid sysctl__net_inet_icmp_drop_redirect; | |
1c79356b A |
130 | extern struct sysctl_oid sysctl__net_inet_ip_accept_sourceroute; |
131 | ||
132 | #if IPCTL_DEFMTU | |
133 | extern struct sysctl_oid sysctl__net_inet_ip_mtu; | |
134 | #endif | |
135 | ||
136 | extern struct sysctl_oid sysctl__net_inet_ip_ttl; | |
137 | extern struct sysctl_oid sysctl__net_inet_ip_fastforwarding; | |
138 | extern struct sysctl_oid sysctl__net_inet_ip_forwarding; | |
139 | extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_drops; | |
140 | extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_maxlen; | |
141 | extern struct sysctl_oid sysctl__net_inet_ip_rtexpire; | |
142 | extern struct sysctl_oid sysctl__net_inet_ip_rtmaxcache; | |
143 | extern struct sysctl_oid sysctl__net_inet_ip_rtminexpire; | |
144 | extern struct sysctl_oid sysctl__net_inet_ip_redirect; | |
145 | extern struct sysctl_oid sysctl__net_inet_ip_sourceroute; | |
146 | extern struct sysctl_oid sysctl__net_inet_ip_subnets_are_local; | |
147 | extern struct sysctl_oid sysctl__net_inet_ip_keepfaith; | |
9bccf70c | 148 | extern struct sysctl_oid sysctl__net_inet_ip_maxfragpackets; |
483a1d10 | 149 | extern struct sysctl_oid sysctl__net_inet_ip_maxfragsperpacket; |
91447636 | 150 | extern struct sysctl_oid sysctl__net_inet_ip_maxfrags; |
9bccf70c A |
151 | extern struct sysctl_oid sysctl__net_inet_ip_check_interface; |
152 | extern struct sysctl_oid sysctl__net_inet_ip_check_route_selfref; | |
55e303ae | 153 | extern struct sysctl_oid sysctl__net_inet_ip_use_route_genid; |
1c79356b A |
154 | #if NGIF > 0 |
155 | extern struct sysctl_oid sysctl__net_inet_ip_gifttl; | |
156 | #endif | |
157 | ||
158 | #if DUMMYNET | |
91447636 A |
159 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_hash_size; |
160 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_curr_time; | |
161 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_ready_heap; | |
162 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_extract_heap; | |
163 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_searches; | |
164 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_search_steps; | |
165 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_expire; | |
166 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_max_chain_len; | |
167 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_red_lookup_depth; | |
168 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_red_avg_pkt_size; | |
169 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_red_max_pkt_size; | |
1c79356b A |
170 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet; |
171 | #endif | |
172 | ||
173 | #if IPFIREWALL && !IPFIREWALL_KEXT | |
91447636 | 174 | extern struct sysctl_oid sysctl__net_inet_ip_fw_enable; |
1c79356b A |
175 | extern struct sysctl_oid sysctl__net_inet_ip_fw_debug; |
176 | extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose; | |
177 | extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose_limit; | |
178 | extern struct sysctl_oid sysctl__net_inet_ip_fw_one_pass; | |
91447636 A |
179 | extern struct sysctl_oid sysctl__net_inet_ip_fw_autoinc_step; |
180 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_buckets; | |
181 | extern struct sysctl_oid sysctl__net_inet_ip_fw_curr_dyn_buckets; | |
182 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_count; | |
183 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_max; | |
184 | extern struct sysctl_oid sysctl__net_inet_ip_fw_static_count; | |
185 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_ack_lifetime; | |
186 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_syn_lifetime; | |
187 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_fin_lifetime; | |
188 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_rst_lifetime; | |
189 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_udp_lifetime; | |
190 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_short_lifetime; | |
191 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_keepalive; | |
1c79356b A |
192 | extern struct sysctl_oid sysctl__net_inet_ip_fw; |
193 | #endif | |
194 | ||
9bccf70c A |
195 | extern struct sysctl_oid sysctl__net_inet_ip_linklocal; |
196 | extern struct sysctl_oid sysctl__net_inet_ip_linklocal_stat; | |
197 | extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in; | |
198 | extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in_allowbadttl; | |
91447636 | 199 | extern struct sysctl_oid sysctl__net_inet_ip_maxchainsent; |
9bccf70c | 200 | |
1c79356b A |
201 | extern struct sysctl_oid sysctl__net_inet_raw_maxdgram; |
202 | extern struct sysctl_oid sysctl__net_inet_raw_recvspace; | |
203 | extern struct sysctl_oid sysctl__net_inet_tcp_always_keepalive; | |
204 | extern struct sysctl_oid sysctl__net_inet_tcp_delayed_ack; | |
205 | extern struct sysctl_oid sysctl__net_inet_tcp_log_in_vain; | |
206 | extern struct sysctl_oid sysctl__net_inet_tcp_pcbcount; | |
207 | extern struct sysctl_oid sysctl__net_inet_tcp_rfc1323; | |
208 | extern struct sysctl_oid sysctl__net_inet_tcp_rfc1644; | |
209 | extern struct sysctl_oid sysctl__net_inet_tcp_keepidle; | |
210 | extern struct sysctl_oid sysctl__net_inet_tcp_keepinit; | |
211 | extern struct sysctl_oid sysctl__net_inet_tcp_keepintvl; | |
212 | extern struct sysctl_oid sysctl__net_inet_tcp_mssdflt; | |
e5568f75 | 213 | extern struct sysctl_oid sysctl__net_inet_tcp_minmss; |
91447636 | 214 | extern struct sysctl_oid sysctl__net_inet_tcp_minmssoverload; |
1c79356b | 215 | extern struct sysctl_oid sysctl__net_inet_tcp_recvspace; |
1c79356b | 216 | extern struct sysctl_oid sysctl__net_inet_tcp_sendspace; |
d12e1678 | 217 | extern struct sysctl_oid sysctl__net_inet_tcp_slowlink_wsize; |
9bccf70c A |
218 | extern struct sysctl_oid sysctl__net_inet_tcp_blackhole; |
219 | extern struct sysctl_oid sysctl__net_inet_tcp_tcp_lq_overflow; | |
220 | extern struct sysctl_oid sysctl__net_inet_tcp_path_mtu_discovery; | |
221 | extern struct sysctl_oid sysctl__net_inet_tcp_slowstart_flightsize; | |
222 | extern struct sysctl_oid sysctl__net_inet_tcp_local_slowstart_flightsize; | |
223 | extern struct sysctl_oid sysctl__net_inet_tcp_newreno; | |
91447636 | 224 | extern struct sysctl_oid sysctl__net_inet_tcp_packetchain; |
9bccf70c A |
225 | extern struct sysctl_oid sysctl__net_inet_tcp_tcbhashsize; |
226 | extern struct sysctl_oid sysctl__net_inet_tcp_do_tcpdrain; | |
227 | extern struct sysctl_oid sysctl__net_inet_tcp_icmp_may_rst; | |
228 | extern struct sysctl_oid sysctl__net_inet_tcp_strict_rfc1948; | |
229 | extern struct sysctl_oid sysctl__net_inet_tcp_delacktime; | |
230 | extern struct sysctl_oid sysctl__net_inet_tcp_isn_reseed_interval; | |
231 | extern struct sysctl_oid sysctl__net_inet_tcp_msl; | |
8ad349bb A |
232 | extern struct sysctl_oid sysctl__net_inet_tcp_sack; |
233 | extern struct sysctl_oid sysctl__net_inet_tcp_sack_maxholes; | |
234 | extern struct sysctl_oid sysctl__net_inet_tcp_sack_globalmaxholes; | |
235 | extern struct sysctl_oid sysctl__net_inet_tcp_sack_globalholes; | |
9bccf70c A |
236 | #if TCP_DROP_SYNFIN |
237 | extern struct sysctl_oid sysctl__net_inet_tcp_drop_synfin; | |
238 | #endif | |
239 | #if TCPDEBUG | |
240 | extern struct sysctl_oid sysctl__net_inet_tcp_tcpconsdebug; | |
241 | #endif | |
55e303ae | 242 | extern struct sysctl_oid sysctl__net_inet_tcp_sockthreshold; |
e5568f75 A |
243 | extern struct sysctl_oid sysctl__net_inet_tcp_reass_maxsegments; |
244 | extern struct sysctl_oid sysctl__net_inet_tcp_reass_cursegments; | |
245 | extern struct sysctl_oid sysctl__net_inet_tcp_reass_overflows; | |
246 | extern struct sysctl_oid sysctl__net_inet_tcp_reass; | |
247 | ||
1c79356b A |
248 | extern struct sysctl_oid sysctl__net_inet_udp_log_in_vain; |
249 | extern struct sysctl_oid sysctl__net_inet_udp_checksum; | |
250 | extern struct sysctl_oid sysctl__net_inet_udp_maxdgram; | |
251 | extern struct sysctl_oid sysctl__net_inet_udp_recvspace; | |
9bccf70c | 252 | extern struct sysctl_oid sysctl__net_inet_udp_blackhole; |
91447636 | 253 | extern struct sysctl_oid sysctl__net_inet_udp_pcbcount; |
1c79356b A |
254 | |
255 | #if NETAT | |
256 | extern struct sysctl_oid sysctl__net_appletalk_debug; | |
257 | extern struct sysctl_oid sysctl__net_appletalk_routermix; | |
258 | extern struct sysctl_oid sysctl__net_appletalk_ddpstats; | |
259 | #endif /* NETAT */ | |
260 | ||
261 | #if BRIDGE | |
262 | extern struct sysctl_oid sysctl__net_link_ether_bdgfwc; | |
263 | extern struct sysctl_oid sysctl__net_link_ether_bdgfwt; | |
264 | extern struct sysctl_oid sysctl__net_link_ether_bdginc; | |
265 | extern struct sysctl_oid sysctl__net_link_ether_bdgint; | |
266 | extern struct sysctl_oid sysctl__net_link_ether_bridge_ipfw; | |
267 | extern struct sysctl_oid sysctl__net_link_ethe_bdgstats; | |
268 | #endif | |
269 | ||
270 | extern struct sysctl_oid sysctl__net_link_ether_inet_host_down_time; | |
271 | extern struct sysctl_oid sysctl__net_link_ether_inet_max_age; | |
272 | extern struct sysctl_oid sysctl__net_link_ether_inet_maxtries; | |
273 | extern struct sysctl_oid sysctl__net_link_ether_inet_proxyall; | |
274 | extern struct sysctl_oid sysctl__net_link_ether_inet_prune_intvl; | |
275 | extern struct sysctl_oid sysctl__net_link_ether_inet_useloopback; | |
91447636 | 276 | extern struct sysctl_oid sysctl__net_link_ether_inet_log_arp_warnings; |
0b4e3aa0 A |
277 | extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_tx; |
278 | extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_rx; | |
1c79356b A |
279 | |
280 | #if NETMIBS | |
281 | extern struct sysctl_oid sysctl__net_link_generic_system_ifcount; | |
282 | extern struct sysctl_oid sysctl__net_link_generic; | |
283 | extern struct sysctl_oid sysctl__net_link_generic_ifdata; | |
91447636 | 284 | extern struct sysctl_oid sysctl__net_link_generic_ifalldata; |
1c79356b A |
285 | extern struct sysctl_oid sysctl__net_link_generic_system; |
286 | #endif | |
287 | ||
288 | #if VLAN | |
289 | extern struct sysctl_oid sysctl__net_link_vlan_link_proto; | |
290 | extern struct sysctl_oid sysctl__net_link_vlan; | |
291 | extern struct sysctl_oid sysctl__net_link_vlan_link; | |
292 | #endif | |
293 | ||
294 | extern struct sysctl_oid sysctl__net_local_inflight; | |
295 | extern struct sysctl_oid sysctl__net_local_dgram_maxdgram; | |
296 | extern struct sysctl_oid sysctl__net_local_dgram_recvspace; | |
297 | extern struct sysctl_oid sysctl__net_local_stream_recvspace; | |
298 | extern struct sysctl_oid sysctl__net_local_stream_sendspace; | |
299 | ||
300 | #if 0 | |
301 | extern struct sysctl_oid sysctl__vfs_nfs_nfs_privport; | |
302 | extern struct sysctl_oid sysctl__vfs_nfs_async; | |
303 | extern struct sysctl_oid sysctl__vfs_nfs_debug; | |
304 | extern struct sysctl_oid sysctl__vfs_nfs_defect; | |
305 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_valid; | |
306 | extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay; | |
307 | extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay_v3; | |
308 | extern struct sysctl_oid sysctl__vfs_nfs; | |
309 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootaddr; | |
310 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_swapaddr; | |
311 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootpath; | |
312 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_swappath; | |
313 | extern struct sysctl_oid sysctl__vfs_nfs_nfsstats; | |
314 | #endif | |
91447636 | 315 | #if NFSCLIENT |
55e303ae A |
316 | extern struct sysctl_oid sysctl__vfs_generic_nfs_client_initialdowndelay; |
317 | extern struct sysctl_oid sysctl__vfs_generic_nfs_client_nextdowndelay; | |
318 | extern struct sysctl_oid sysctl__vfs_generic_nfs_client; | |
319 | extern struct sysctl_oid sysctl__vfs_generic_nfs; | |
91447636 | 320 | #endif |
55e303ae A |
321 | |
322 | extern struct sysctl_oid sysctl__vfs_generic; | |
323 | extern struct sysctl_oid sysctl__vfs_generic_vfsidlist; | |
324 | extern struct sysctl_oid sysctl__vfs_generic_ctlbyfsid; | |
325 | extern struct sysctl_oid sysctl__vfs_generic_noremotehang; | |
1c79356b A |
326 | |
327 | extern struct sysctl_oid sysctl__kern_ipc; | |
9bccf70c A |
328 | extern struct sysctl_oid sysctl__kern_sysv; |
329 | ||
1c79356b A |
330 | extern struct sysctl_oid sysctl__net_inet; |
331 | ||
332 | #if NETAT | |
333 | extern struct sysctl_oid sysctl__net_appletalk; | |
334 | #endif /* NETAT */ | |
335 | ||
336 | extern struct sysctl_oid sysctl__net_link; | |
337 | extern struct sysctl_oid sysctl__net_local; | |
338 | extern struct sysctl_oid sysctl__net_routetable; | |
339 | ||
340 | #if IPDIVERT | |
341 | extern struct sysctl_oid sysctl__net_inet_div; | |
342 | #endif | |
343 | ||
344 | extern struct sysctl_oid sysctl__net_inet_icmp; | |
345 | extern struct sysctl_oid sysctl__net_inet_igmp; | |
346 | extern struct sysctl_oid sysctl__net_inet_ip; | |
347 | extern struct sysctl_oid sysctl__net_inet_raw; | |
348 | extern struct sysctl_oid sysctl__net_inet_tcp; | |
349 | extern struct sysctl_oid sysctl__net_inet_udp; | |
350 | extern struct sysctl_oid sysctl__net_inet_ip_portrange; | |
351 | ||
352 | extern struct sysctl_oid sysctl__net_link_ether; | |
353 | extern struct sysctl_oid sysctl__net_link_ether_inet; | |
354 | ||
355 | extern struct sysctl_oid sysctl__net_local_dgram; | |
356 | extern struct sysctl_oid sysctl__net_local_stream; | |
357 | extern struct sysctl_oid sysctl__sysctl_name; | |
358 | extern struct sysctl_oid sysctl__sysctl_next; | |
359 | extern struct sysctl_oid sysctl__sysctl_oidfmt; | |
360 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_first; | |
361 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_hifirst; | |
362 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_hilast; | |
363 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_last; | |
364 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowfirst; | |
365 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowlast; | |
366 | extern struct sysctl_oid sysctl__net_inet_raw_pcblist; | |
367 | extern struct sysctl_oid sysctl__net_inet_tcp_pcblist; | |
368 | extern struct sysctl_oid sysctl__net_inet_udp_pcblist; | |
369 | extern struct sysctl_oid sysctl__net_link_ether_bridge; | |
370 | extern struct sysctl_oid sysctl__net_local_dgram_pcblist; | |
371 | extern struct sysctl_oid sysctl__net_local_stream_pcblist; | |
372 | extern struct sysctl_oid sysctl__sysctl_debug; | |
373 | extern struct sysctl_oid sysctl__sysctl_name2oid; | |
374 | extern struct sysctl_oid sysctl__net_inet_icmp_stats; | |
375 | extern struct sysctl_oid sysctl__net_inet_igmp_stats; | |
376 | extern struct sysctl_oid sysctl__net_inet_ip_stats; | |
377 | extern struct sysctl_oid sysctl__net_inet_tcp_stats; | |
378 | extern struct sysctl_oid sysctl__net_inet_udp_stats; | |
379 | extern struct sysctl_oid sysctl__kern; | |
380 | extern struct sysctl_oid sysctl__hw; | |
55e303ae | 381 | extern struct sysctl_oid sysctl__machdep; |
1c79356b A |
382 | extern struct sysctl_oid sysctl__net; |
383 | extern struct sysctl_oid sysctl__debug; | |
384 | extern struct sysctl_oid sysctl__vfs; | |
385 | extern struct sysctl_oid sysctl__sysctl; | |
386 | ||
387 | #if INET6 | |
9bccf70c | 388 | extern struct sysctl_oid sysctl__net_inet_tcp_v6mssdflt; |
1c79356b A |
389 | extern struct sysctl_oid sysctl__net_inet6; |
390 | extern struct sysctl_oid sysctl__net_inet6_ip6; | |
9bccf70c | 391 | extern struct sysctl_oid sysctl__net_inet6_ip6_stats; |
1c79356b A |
392 | extern struct sysctl_oid sysctl__net_inet6_icmp6; |
393 | extern struct sysctl_oid sysctl__net_inet6_ip6_forwarding; | |
394 | extern struct sysctl_oid sysctl__net_inet6_ip6_redirect; | |
395 | extern struct sysctl_oid sysctl__net_inet6_ip6_hlim; | |
396 | extern struct sysctl_oid sysctl__net_inet6_ip6_maxfragpackets; | |
91447636 | 397 | extern struct sysctl_oid sysctl__net_inet6_ip6_maxfrags; |
1c79356b A |
398 | extern struct sysctl_oid sysctl__net_inet6_ip6_accept_rtadv; |
399 | extern struct sysctl_oid sysctl__net_inet6_ip6_keepfaith; | |
400 | extern struct sysctl_oid sysctl__net_inet6_ip6_log_interval; | |
401 | extern struct sysctl_oid sysctl__net_inet6_ip6_hdrnestlimit; | |
402 | extern struct sysctl_oid sysctl__net_inet6_ip6_dad_count; | |
403 | extern struct sysctl_oid sysctl__net_inet6_ip6_auto_flowlabel; | |
404 | extern struct sysctl_oid sysctl__net_inet6_ip6_defmcasthlim; | |
405 | extern struct sysctl_oid sysctl__net_inet6_ip6_gifhlim; | |
406 | extern struct sysctl_oid sysctl__net_inet6_ip6_kame_version; | |
407 | extern struct sysctl_oid sysctl__net_inet6_ip6_use_deprecated; | |
408 | extern struct sysctl_oid sysctl__net_inet6_ip6_rr_prune; | |
9bccf70c A |
409 | extern struct sysctl_oid sysctl__net_inet6_ip6_use_tempaddr; |
410 | extern struct sysctl_oid sysctl__net_inet6_ip6_v6only; | |
411 | extern struct sysctl_oid sysctl__net_inet6_ip6_auto_linklocal; | |
412 | extern struct sysctl_oid sysctl__net_inet6_ip6_rip6stats; | |
91447636 | 413 | extern struct sysctl_oid sysctl__net_inet6_ip6_mrt6stat; |
9bccf70c A |
414 | extern struct sysctl_oid sysctl__net_inet6_ip6_rtexpire; |
415 | extern struct sysctl_oid sysctl__net_inet6_ip6_rtminexpire; | |
416 | extern struct sysctl_oid sysctl__net_inet6_ip6_rtmaxcache; | |
417 | extern struct sysctl_oid sysctl__net_inet6_ip6_temppltime; | |
418 | extern struct sysctl_oid sysctl__net_inet6_ip6_tempvltime; | |
1c79356b A |
419 | #if IPV6FIREWALL |
420 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw; | |
421 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw_debug; | |
422 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose; | |
423 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose_limit; | |
424 | #endif | |
425 | extern struct sysctl_oid sysctl__net_inet6_icmp6_rediraccept; | |
426 | extern struct sysctl_oid sysctl__net_inet6_icmp6_redirtimeout; | |
9bccf70c A |
427 | extern struct sysctl_oid sysctl__net_inet6_icmp6_stats; |
428 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo; | |
429 | extern struct sysctl_oid sysctl__net_inet6_icmp6_errppslimit; | |
430 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_maxnudhint; | |
431 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_debug; | |
1c79356b A |
432 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_prune; |
433 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_delay; | |
434 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_umaxtries; | |
435 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_mmaxtries; | |
436 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_useloopback; | |
437 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo; | |
438 | #if IPSEC | |
439 | extern struct sysctl_oid sysctl__net_inet6_ipsec6; | |
9bccf70c | 440 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_stats; |
1c79356b A |
441 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_def_policy; |
442 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_trans_deflev; | |
443 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_net_deflev; | |
444 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_trans_deflev; | |
445 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_net_deflev; | |
1c79356b A |
446 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_ecn; |
447 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_debug; | |
9bccf70c | 448 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_randpad; |
1c79356b A |
449 | #endif |
450 | #endif | |
451 | #if IPSEC | |
452 | extern struct sysctl_oid sysctl__net_inet_ipsec; | |
55e303ae | 453 | extern struct sysctl_oid sysctl__net_inet_ipsec_esp_port; |
9bccf70c | 454 | extern struct sysctl_oid sysctl__net_inet_ipsec_bypass; |
1c79356b | 455 | extern struct sysctl_oid sysctl__net_inet_ipsec_def_policy; |
9bccf70c | 456 | extern struct sysctl_oid sysctl__net_inet_ipsec_esp_randpad; |
1c79356b A |
457 | extern struct sysctl_oid sysctl__net_inet_ipsec_esp_trans_deflev; |
458 | extern struct sysctl_oid sysctl__net_inet_ipsec_esp_net_deflev; | |
459 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_trans_deflev; | |
460 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_net_deflev; | |
1c79356b A |
461 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_cleartos; |
462 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_offsetmask; | |
463 | extern struct sysctl_oid sysctl__net_inet_ipsec_dfbit; | |
464 | extern struct sysctl_oid sysctl__net_inet_ipsec_ecn; | |
465 | extern struct sysctl_oid sysctl__net_inet_ipsec_debug; | |
9bccf70c | 466 | extern struct sysctl_oid sysctl__net_inet_ipsec_stats; |
1c79356b A |
467 | extern struct sysctl_oid sysctl__net_key; |
468 | extern struct sysctl_oid sysctl__net_key_debug; | |
55e303ae | 469 | extern struct sysctl_oid sysctl__net_key_prefered_oldsa; |
1c79356b A |
470 | extern struct sysctl_oid sysctl__net_key_spi_trycnt; |
471 | extern struct sysctl_oid sysctl__net_key_spi_minval; | |
472 | extern struct sysctl_oid sysctl__net_key_spi_maxval; | |
473 | extern struct sysctl_oid sysctl__net_key_int_random; | |
474 | extern struct sysctl_oid sysctl__net_key_larval_lifetime; | |
475 | extern struct sysctl_oid sysctl__net_key_blockacq_count; | |
476 | extern struct sysctl_oid sysctl__net_key_blockacq_lifetime; | |
9bccf70c | 477 | extern struct sysctl_oid sysctl__net_key_esp_keymin; |
55e303ae | 478 | extern struct sysctl_oid sysctl__net_key_esp_auth; |
9bccf70c | 479 | extern struct sysctl_oid sysctl__net_key_ah_keymin; |
55e303ae | 480 | extern struct sysctl_oid sysctl__net_key_natt_keepalive_interval; |
91447636 | 481 | extern struct sysctl_oid sysctl__net_key_pfkeystat; |
1c79356b A |
482 | #endif |
483 | ||
484 | ||
485 | struct sysctl_oid *newsysctl_list[] = | |
486 | { | |
487 | &sysctl__kern, | |
488 | &sysctl__hw, | |
55e303ae | 489 | &sysctl__machdep, |
1c79356b A |
490 | &sysctl__net, |
491 | &sysctl__debug, | |
492 | &sysctl__vfs, | |
493 | &sysctl__sysctl, | |
9bccf70c | 494 | &sysctl__debug_bpf_bufsize, |
91447636 A |
495 | &sysctl__debug_bpf_maxbufsize, |
496 | &sysctl__debug_bpf_maxdevices, | |
497 | &sysctl__debug_iokit | |
1c79356b A |
498 | #if TUN |
499 | ,&sysctl__debug_if_tun_debug | |
500 | #endif | |
501 | ||
91447636 | 502 | #if COMPAT_43_TTY |
1c79356b A |
503 | #ifndef NeXT |
504 | ,&sysctl__debug_ttydebug | |
505 | #endif | |
506 | #endif | |
507 | ||
91447636 A |
508 | ,&sysctl__kern_posix |
509 | ,&sysctl__kern_posix_sem | |
510 | ,&sysctl__kern_posix_sem_max | |
511 | ||
9bccf70c A |
512 | ,&sysctl__kern_sysv_shmmax |
513 | ,&sysctl__kern_sysv_shmmin | |
514 | ,&sysctl__kern_sysv_shmmni | |
515 | ,&sysctl__kern_sysv_shmseg | |
516 | ,&sysctl__kern_sysv_shmall | |
91447636 A |
517 | ,&sysctl__kern_sysv_ipcs |
518 | ,&sysctl__kern_sysv_ipcs_shm | |
519 | ,&sysctl__kern_sysv_ipcs_sem | |
520 | ,&sysctl__kern_sysv_ipcs_msg | |
55e303ae A |
521 | ,&sysctl__kern_sysv_semmni |
522 | ,&sysctl__kern_sysv_semmns | |
523 | ,&sysctl__kern_sysv_semmnu | |
524 | ,&sysctl__kern_sysv_semmsl | |
525 | ,&sysctl__kern_sysv_semume | |
1c79356b | 526 | ,&sysctl__kern_dummy |
91447636 | 527 | |
1c79356b | 528 | ,&sysctl__kern_ipc_maxsockbuf |
91447636 | 529 | ,&sysctl__kern_ipc_mbstat |
1c79356b A |
530 | ,&sysctl__kern_ipc_nmbclusters |
531 | ,&sysctl__kern_ipc_sockbuf_waste_factor | |
532 | ,&sysctl__kern_ipc_somaxconn | |
533 | ,&sysctl__kern_ipc_sosendminchain | |
55e303ae | 534 | ,&sysctl__kern_ipc_sorecvmincopy |
1c79356b | 535 | ,&sysctl__kern_ipc_maxsockets |
91447636 | 536 | |
a3d08fcd | 537 | ,&sysctl__kern_sugid_scripts |
3a60a9f5 | 538 | ,&sysctl__kern_always_do_fullfsync |
8f6c56a5 | 539 | ,&sysctl__kern_flush_cache_on_write |
43866e37 A |
540 | |
541 | ,&sysctl__hw_machine | |
542 | ,&sysctl__hw_model | |
543 | ,&sysctl__hw_ncpu | |
544 | ,&sysctl__hw_activecpu | |
91447636 A |
545 | ,&sysctl__hw_physicalcpu |
546 | ,&sysctl__hw_physicalcpu_max | |
547 | ,&sysctl__hw_logicalcpu | |
548 | ,&sysctl__hw_logicalcpu_max | |
43866e37 A |
549 | ,&sysctl__hw_byteorder |
550 | ,&sysctl__hw_cputype | |
551 | ,&sysctl__hw_cpusubtype | |
552 | ,&sysctl__hw_physmem | |
553 | ,&sysctl__hw_usermem | |
554 | ,&sysctl__hw_pagesize | |
555 | ,&sysctl__hw_epoch | |
556 | ,&sysctl__hw_vectorunit | |
557 | ,&sysctl__hw_busfrequency | |
558 | ,&sysctl__hw_busfrequency_min | |
559 | ,&sysctl__hw_busfrequency_max | |
560 | ,&sysctl__hw_cpufrequency | |
561 | ,&sysctl__hw_cpufrequency_min | |
562 | ,&sysctl__hw_cpufrequency_max | |
563 | ,&sysctl__hw_cachelinesize | |
564 | ,&sysctl__hw_l1icachesize | |
565 | ,&sysctl__hw_l1dcachesize | |
566 | ,&sysctl__hw_l2settings | |
567 | ,&sysctl__hw_l2cachesize | |
568 | ,&sysctl__hw_l3settings | |
569 | ,&sysctl__hw_l3cachesize | |
570 | ,&sysctl__hw_tbfrequency | |
571 | ,&sysctl__hw_memsize | |
572 | ,&sysctl__hw_optional | |
573 | ,&sysctl__hw_optional_floatingpoint | |
574 | ||
575 | ,&sysctl__hw_pagesize_compat | |
576 | ,&sysctl__hw_busfrequency_compat | |
577 | ,&sysctl__hw_cpufrequency_compat | |
578 | ,&sysctl__hw_cachelinesize_compat | |
579 | ,&sysctl__hw_l1icachesize_compat | |
580 | ,&sysctl__hw_l1dcachesize_compat | |
581 | ,&sysctl__hw_l2cachesize_compat | |
582 | ,&sysctl__hw_l3cachesize_compat | |
583 | ,&sysctl__hw_tbfrequency_compat | |
584 | ||
1c79356b A |
585 | ,&sysctl__net_inet_icmp_icmplim |
586 | ,&sysctl__net_inet_icmp_maskrepl | |
55e303ae | 587 | ,&sysctl__net_inet_icmp_timestamp |
1c79356b | 588 | ,&sysctl__net_inet_icmp_bmcastecho |
9bccf70c A |
589 | ,&sysctl__net_inet_icmp_drop_redirect |
590 | ,&sysctl__net_inet_icmp_log_redirect | |
1c79356b A |
591 | ,&sysctl__net_inet_ip_accept_sourceroute |
592 | #if IPCTL_DEFMTU | |
593 | ,&sysctl__net_inet_ip_mtu | |
594 | #endif | |
595 | ,&sysctl__net_inet_ip_ttl | |
596 | ,&sysctl__net_inet_ip_fastforwarding | |
597 | ,&sysctl__net_inet_ip_forwarding | |
598 | ,&sysctl__net_inet_ip_intr_queue_drops | |
599 | ,&sysctl__net_inet_ip_intr_queue_maxlen | |
600 | ,&sysctl__net_inet_ip_rtexpire | |
601 | ,&sysctl__net_inet_ip_rtmaxcache | |
602 | ,&sysctl__net_inet_ip_rtminexpire | |
603 | ,&sysctl__net_inet_ip_redirect | |
604 | ,&sysctl__net_inet_ip_sourceroute | |
605 | ,&sysctl__net_inet_ip_subnets_are_local | |
606 | ,&sysctl__net_inet_ip_keepfaith | |
9bccf70c | 607 | ,&sysctl__net_inet_ip_maxfragpackets |
483a1d10 | 608 | ,&sysctl__net_inet_ip_maxfragsperpacket |
91447636 | 609 | ,&sysctl__net_inet_ip_maxfrags |
9bccf70c A |
610 | ,&sysctl__net_inet_ip_check_interface |
611 | ,&sysctl__net_inet_ip_check_route_selfref | |
55e303ae | 612 | ,&sysctl__net_inet_ip_use_route_genid |
1c79356b A |
613 | #if NGIF > 0 |
614 | ,&sysctl__net_inet_ip_gifttl | |
615 | #endif | |
616 | #if DUMMYNET | |
91447636 A |
617 | ,&sysctl__net_inet_ip_dummynet_hash_size |
618 | ,&sysctl__net_inet_ip_dummynet_curr_time | |
619 | ,&sysctl__net_inet_ip_dummynet_ready_heap | |
620 | ,&sysctl__net_inet_ip_dummynet_extract_heap | |
621 | ,&sysctl__net_inet_ip_dummynet_searches | |
622 | ,&sysctl__net_inet_ip_dummynet_search_steps | |
623 | ,&sysctl__net_inet_ip_dummynet_expire | |
624 | ,&sysctl__net_inet_ip_dummynet_max_chain_len | |
625 | ,&sysctl__net_inet_ip_dummynet_red_lookup_depth | |
626 | ,&sysctl__net_inet_ip_dummynet_red_avg_pkt_size | |
627 | ,&sysctl__net_inet_ip_dummynet_red_max_pkt_size | |
1c79356b A |
628 | ,&sysctl__net_inet_ip_dummynet |
629 | #endif | |
630 | ||
631 | #if IPFIREWALL && !IPFIREWALL_KEXT | |
91447636 | 632 | ,&sysctl__net_inet_ip_fw_enable |
1c79356b A |
633 | ,&sysctl__net_inet_ip_fw_debug |
634 | ,&sysctl__net_inet_ip_fw_verbose | |
635 | ,&sysctl__net_inet_ip_fw_verbose_limit | |
636 | ,&sysctl__net_inet_ip_fw_one_pass | |
91447636 A |
637 | ,&sysctl__net_inet_ip_fw_autoinc_step |
638 | ,&sysctl__net_inet_ip_fw_dyn_buckets | |
639 | ,&sysctl__net_inet_ip_fw_curr_dyn_buckets | |
640 | ,&sysctl__net_inet_ip_fw_dyn_count | |
641 | ,&sysctl__net_inet_ip_fw_dyn_max | |
642 | ,&sysctl__net_inet_ip_fw_static_count | |
643 | ,&sysctl__net_inet_ip_fw_dyn_ack_lifetime | |
644 | ,&sysctl__net_inet_ip_fw_dyn_syn_lifetime | |
645 | ,&sysctl__net_inet_ip_fw_dyn_fin_lifetime | |
646 | ,&sysctl__net_inet_ip_fw_dyn_rst_lifetime | |
647 | ,&sysctl__net_inet_ip_fw_dyn_udp_lifetime | |
648 | ,&sysctl__net_inet_ip_fw_dyn_short_lifetime | |
649 | ,&sysctl__net_inet_ip_fw_dyn_keepalive | |
1c79356b A |
650 | ,&sysctl__net_inet_ip_fw |
651 | #endif | |
9bccf70c A |
652 | ,&sysctl__net_inet_ip_linklocal |
653 | ,&sysctl__net_inet_ip_linklocal_stat | |
654 | ,&sysctl__net_inet_ip_linklocal_in | |
655 | ,&sysctl__net_inet_ip_linklocal_in_allowbadttl | |
91447636 | 656 | ,&sysctl__net_inet_ip_maxchainsent |
1c79356b A |
657 | ,&sysctl__net_inet_raw_maxdgram |
658 | ,&sysctl__net_inet_raw_recvspace | |
659 | ,&sysctl__net_inet_tcp_always_keepalive | |
660 | ,&sysctl__net_inet_tcp_delayed_ack | |
661 | ,&sysctl__net_inet_tcp_log_in_vain | |
662 | ,&sysctl__net_inet_tcp_pcbcount | |
663 | ,&sysctl__net_inet_tcp_rfc1323 | |
664 | ,&sysctl__net_inet_tcp_rfc1644 | |
665 | ,&sysctl__net_inet_tcp_keepidle | |
666 | ,&sysctl__net_inet_tcp_keepinit | |
667 | ,&sysctl__net_inet_tcp_keepintvl | |
668 | ,&sysctl__net_inet_tcp_mssdflt | |
e5568f75 | 669 | ,&sysctl__net_inet_tcp_minmss |
91447636 | 670 | ,&sysctl__net_inet_tcp_minmssoverload |
1c79356b | 671 | ,&sysctl__net_inet_tcp_recvspace |
1c79356b | 672 | ,&sysctl__net_inet_tcp_sendspace |
d12e1678 | 673 | ,&sysctl__net_inet_tcp_slowlink_wsize |
9bccf70c A |
674 | ,&sysctl__net_inet_tcp_blackhole |
675 | ,&sysctl__net_inet_tcp_tcp_lq_overflow | |
676 | ,&sysctl__net_inet_tcp_path_mtu_discovery | |
677 | ,&sysctl__net_inet_tcp_slowstart_flightsize | |
678 | ,&sysctl__net_inet_tcp_local_slowstart_flightsize | |
679 | ,&sysctl__net_inet_tcp_newreno | |
91447636 | 680 | ,&sysctl__net_inet_tcp_packetchain |
9bccf70c A |
681 | ,&sysctl__net_inet_tcp_tcbhashsize |
682 | ,&sysctl__net_inet_tcp_do_tcpdrain | |
683 | ,&sysctl__net_inet_tcp_icmp_may_rst | |
684 | ,&sysctl__net_inet_tcp_strict_rfc1948 | |
685 | ,&sysctl__net_inet_tcp_delacktime | |
686 | ,&sysctl__net_inet_tcp_isn_reseed_interval | |
687 | ,&sysctl__net_inet_tcp_msl | |
8ad349bb A |
688 | ,&sysctl__net_inet_tcp_sack |
689 | ,&sysctl__net_inet_tcp_sack_maxholes | |
690 | ,&sysctl__net_inet_tcp_sack_globalmaxholes | |
691 | ,&sysctl__net_inet_tcp_sack_globalholes | |
9bccf70c A |
692 | #if TCP_DROP_SYNFIN |
693 | ,&sysctl__net_inet_tcp_drop_synfin | |
694 | #endif | |
695 | #if TCPDEBUG | |
696 | ,&sysctl__net_inet_tcp_tcpconsdebug | |
697 | #endif | |
55e303ae | 698 | ,&sysctl__net_inet_tcp_sockthreshold |
e5568f75 A |
699 | ,&sysctl__net_inet_tcp_reass_maxsegments |
700 | ,&sysctl__net_inet_tcp_reass_cursegments | |
701 | ,&sysctl__net_inet_tcp_reass_overflows | |
702 | ,&sysctl__net_inet_tcp_reass | |
703 | ||
1c79356b A |
704 | ,&sysctl__net_inet_udp_log_in_vain |
705 | ,&sysctl__net_inet_udp_checksum | |
706 | ,&sysctl__net_inet_udp_maxdgram | |
707 | ,&sysctl__net_inet_udp_recvspace | |
9bccf70c | 708 | ,&sysctl__net_inet_udp_blackhole |
91447636 | 709 | ,&sysctl__net_inet_udp_pcbcount |
1c79356b A |
710 | |
711 | #if NETAT | |
712 | ,&sysctl__net_appletalk_debug | |
713 | ,&sysctl__net_appletalk_routermix | |
714 | ,&sysctl__net_appletalk_ddpstats | |
715 | #endif /* NETAT */ | |
716 | ||
717 | #if BRIDGE | |
718 | ,&sysctl__net_link_ether_bdgfwc | |
719 | ,&sysctl__net_link_ether_bdgfwt | |
720 | ,&sysctl__net_link_ether_bdginc | |
721 | ,&sysctl__net_link_ether_bdgint | |
722 | ,&sysctl__net_link_ether_bridge_ipfw | |
723 | ,&sysctl__net_link_ethe_bdgstats | |
724 | ,&sysctl__net_link_ether_bridge | |
725 | #endif | |
726 | ||
727 | ,&sysctl__net_link_ether_inet_host_down_time | |
728 | ,&sysctl__net_link_ether_inet_max_age | |
729 | ,&sysctl__net_link_ether_inet_maxtries | |
730 | ,&sysctl__net_link_ether_inet_proxyall | |
731 | ,&sysctl__net_link_ether_inet_prune_intvl | |
732 | ,&sysctl__net_link_ether_inet_useloopback | |
91447636 | 733 | ,&sysctl__net_link_ether_inet_log_arp_warnings |
0b4e3aa0 A |
734 | ,&sysctl__net_link_ether_inet_apple_hwcksum_tx |
735 | ,&sysctl__net_link_ether_inet_apple_hwcksum_rx | |
1c79356b A |
736 | #if NETMIBS |
737 | ,&sysctl__net_link_generic_system_ifcount | |
738 | ,&sysctl__net_link_generic | |
739 | ,&sysctl__net_link_generic_ifdata | |
91447636 | 740 | ,&sysctl__net_link_generic_ifalldata |
1c79356b A |
741 | ,&sysctl__net_link_generic_system |
742 | #endif | |
743 | ||
4a249263 | 744 | #if 0 |
1c79356b A |
745 | #if VLAN |
746 | ,&sysctl__net_link_vlan_link_proto | |
747 | ,&sysctl__net_link_vlan | |
748 | ,&sysctl__net_link_vlan_link | |
749 | #endif | |
4a249263 | 750 | #endif 0 |
1c79356b A |
751 | |
752 | ,&sysctl__net_local_inflight | |
753 | ,&sysctl__net_local_dgram_maxdgram | |
754 | ,&sysctl__net_local_dgram_recvspace | |
755 | ,&sysctl__net_local_stream_recvspace | |
756 | ,&sysctl__net_local_stream_sendspace | |
757 | #if 0 | |
758 | ,&sysctl__vfs_nfs_nfs_privport | |
759 | ,&sysctl__vfs_nfs_async | |
760 | ,&sysctl__vfs_nfs_debug | |
761 | ,&sysctl__vfs_nfs_defect | |
762 | ,&sysctl__vfs_nfs_diskless_valid | |
763 | ,&sysctl__vfs_nfs_gatherdelay | |
764 | ,&sysctl__vfs_nfs_gatherdelay_v3 | |
765 | ,&sysctl__vfs_nfs | |
766 | ,&sysctl__vfs_nfs_diskless_rootaddr | |
767 | ,&sysctl__vfs_nfs_diskless_swapaddr | |
768 | ,&sysctl__vfs_nfs_diskless_rootpath | |
769 | ,&sysctl__vfs_nfs_diskless_swappath | |
770 | ,&sysctl__vfs_nfs_nfsstats | |
771 | #endif | |
55e303ae A |
772 | ,&sysctl__vfs_generic |
773 | ,&sysctl__vfs_generic_vfsidlist | |
774 | ,&sysctl__vfs_generic_ctlbyfsid | |
775 | ,&sysctl__vfs_generic_noremotehang | |
91447636 | 776 | #if NFSCLIENT |
55e303ae A |
777 | ,&sysctl__vfs_generic_nfs |
778 | ,&sysctl__vfs_generic_nfs_client | |
779 | ,&sysctl__vfs_generic_nfs_client_initialdowndelay | |
780 | ,&sysctl__vfs_generic_nfs_client_nextdowndelay | |
91447636 | 781 | #endif |
1c79356b | 782 | ,&sysctl__kern_ipc |
9bccf70c | 783 | ,&sysctl__kern_sysv |
1c79356b A |
784 | ,&sysctl__net_inet |
785 | #if NETAT | |
786 | ,&sysctl__net_appletalk | |
787 | #endif /* NETAT */ | |
788 | ,&sysctl__net_link | |
789 | ,&sysctl__net_local | |
790 | ,&sysctl__net_routetable | |
791 | #if IPDIVERT | |
792 | ,&sysctl__net_inet_div | |
793 | #endif | |
794 | ,&sysctl__net_inet_icmp | |
795 | ,&sysctl__net_inet_igmp | |
796 | ,&sysctl__net_inet_ip | |
797 | ,&sysctl__net_inet_raw | |
798 | ,&sysctl__net_inet_tcp | |
799 | ,&sysctl__net_inet_udp | |
800 | ,&sysctl__net_inet_ip_portrange | |
801 | ,&sysctl__net_link_ether | |
802 | ,&sysctl__net_link_ether_inet | |
803 | ,&sysctl__net_local_dgram | |
804 | ,&sysctl__net_local_stream | |
805 | ,&sysctl__sysctl_name | |
806 | ,&sysctl__sysctl_next | |
807 | ,&sysctl__sysctl_oidfmt | |
808 | ,&sysctl__net_inet_ip_portrange_first | |
809 | ,&sysctl__net_inet_ip_portrange_hifirst | |
810 | ,&sysctl__net_inet_ip_portrange_hilast | |
811 | ,&sysctl__net_inet_ip_portrange_last | |
812 | ,&sysctl__net_inet_ip_portrange_lowfirst | |
813 | ,&sysctl__net_inet_ip_portrange_lowlast | |
814 | ,&sysctl__net_inet_raw_pcblist | |
815 | ,&sysctl__net_inet_tcp_pcblist | |
816 | ,&sysctl__net_inet_udp_pcblist | |
817 | ,&sysctl__net_local_dgram_pcblist | |
818 | ,&sysctl__net_local_stream_pcblist | |
819 | ,&sysctl__sysctl_debug | |
820 | ,&sysctl__sysctl_name2oid | |
821 | ,&sysctl__net_inet_icmp_stats | |
822 | ,&sysctl__net_inet_igmp_stats | |
823 | ,&sysctl__net_inet_ip_stats | |
824 | ,&sysctl__net_inet_tcp_stats | |
825 | ,&sysctl__net_inet_udp_stats | |
826 | #if INET6 | |
827 | ,&sysctl__net_inet6 | |
828 | ,&sysctl__net_inet6_ip6 | |
829 | ,&sysctl__net_inet6_icmp6 | |
9bccf70c | 830 | ,&sysctl__net_inet6_ip6_stats |
1c79356b A |
831 | ,&sysctl__net_inet6_ip6_forwarding |
832 | ,&sysctl__net_inet6_ip6_redirect | |
833 | ,&sysctl__net_inet6_ip6_hlim | |
834 | ,&sysctl__net_inet6_ip6_maxfragpackets | |
91447636 | 835 | ,&sysctl__net_inet6_ip6_maxfrags |
1c79356b A |
836 | ,&sysctl__net_inet6_ip6_accept_rtadv |
837 | ,&sysctl__net_inet6_ip6_keepfaith | |
838 | ,&sysctl__net_inet6_ip6_log_interval | |
839 | ,&sysctl__net_inet6_ip6_hdrnestlimit | |
840 | ,&sysctl__net_inet6_ip6_dad_count | |
841 | ,&sysctl__net_inet6_ip6_auto_flowlabel | |
842 | ,&sysctl__net_inet6_ip6_defmcasthlim | |
843 | ,&sysctl__net_inet6_ip6_gifhlim | |
844 | ,&sysctl__net_inet6_ip6_kame_version | |
845 | ,&sysctl__net_inet6_ip6_use_deprecated | |
846 | ,&sysctl__net_inet6_ip6_rr_prune | |
9bccf70c A |
847 | ,&sysctl__net_inet6_ip6_use_tempaddr |
848 | ,&sysctl__net_inet6_ip6_v6only | |
849 | ,&sysctl__net_inet6_ip6_auto_linklocal | |
850 | ,&sysctl__net_inet6_ip6_rip6stats | |
91447636 | 851 | ,&sysctl__net_inet6_ip6_mrt6stat |
9bccf70c A |
852 | ,&sysctl__net_inet6_ip6_rtexpire |
853 | ,&sysctl__net_inet6_ip6_rtminexpire | |
854 | ,&sysctl__net_inet6_ip6_rtmaxcache | |
855 | ,&sysctl__net_inet6_ip6_temppltime | |
856 | ,&sysctl__net_inet6_ip6_tempvltime | |
1c79356b A |
857 | ,&sysctl__net_inet6_icmp6_rediraccept |
858 | ,&sysctl__net_inet6_icmp6_redirtimeout | |
1c79356b A |
859 | ,&sysctl__net_inet6_icmp6_nd6_prune |
860 | ,&sysctl__net_inet6_icmp6_nd6_delay | |
861 | ,&sysctl__net_inet6_icmp6_nd6_umaxtries | |
862 | ,&sysctl__net_inet6_icmp6_nd6_mmaxtries | |
863 | ,&sysctl__net_inet6_icmp6_nd6_useloopback | |
864 | ,&sysctl__net_inet6_icmp6_nodeinfo | |
9bccf70c A |
865 | ,&sysctl__net_inet6_icmp6_stats |
866 | ,&sysctl__net_inet6_icmp6_errppslimit | |
867 | ,&sysctl__net_inet6_icmp6_nd6_maxnudhint | |
868 | ,&sysctl__net_inet6_icmp6_nd6_debug | |
869 | ,&sysctl__net_inet_tcp_v6mssdflt | |
1c79356b A |
870 | #if IPV6FIREWALL |
871 | ,&sysctl__net_inet6_ip6_fw | |
872 | ,&sysctl__net_inet6_ip6_fw_debug | |
873 | ,&sysctl__net_inet6_ip6_fw_verbose | |
874 | ,&sysctl__net_inet6_ip6_fw_verbose_limit | |
875 | #endif | |
876 | #if IPSEC | |
9bccf70c A |
877 | ,&sysctl__net_inet6_ipsec6 |
878 | ,&sysctl__net_inet6_ipsec6_stats | |
1c79356b A |
879 | ,&sysctl__net_inet6_ipsec6_def_policy |
880 | ,&sysctl__net_inet6_ipsec6_esp_trans_deflev | |
881 | ,&sysctl__net_inet6_ipsec6_esp_net_deflev | |
882 | ,&sysctl__net_inet6_ipsec6_ah_trans_deflev | |
883 | ,&sysctl__net_inet6_ipsec6_ah_net_deflev | |
1c79356b A |
884 | ,&sysctl__net_inet6_ipsec6_ecn |
885 | ,&sysctl__net_inet6_ipsec6_debug | |
9bccf70c | 886 | ,&sysctl__net_inet6_ipsec6_esp_randpad |
1c79356b A |
887 | #endif |
888 | #endif | |
889 | #if IPSEC | |
890 | ,&sysctl__net_key | |
891 | ,&sysctl__net_key_debug | |
55e303ae | 892 | ,&sysctl__net_key_prefered_oldsa |
1c79356b A |
893 | ,&sysctl__net_key_spi_trycnt |
894 | ,&sysctl__net_key_spi_minval | |
895 | ,&sysctl__net_key_spi_maxval | |
896 | ,&sysctl__net_key_int_random | |
897 | ,&sysctl__net_key_larval_lifetime | |
898 | ,&sysctl__net_key_blockacq_count | |
899 | ,&sysctl__net_key_blockacq_lifetime | |
9bccf70c | 900 | ,&sysctl__net_key_esp_keymin |
55e303ae | 901 | ,&sysctl__net_key_esp_auth |
9bccf70c | 902 | ,&sysctl__net_key_ah_keymin |
55e303ae | 903 | ,&sysctl__net_key_natt_keepalive_interval |
91447636 | 904 | ,&sysctl__net_key_pfkeystat |
1c79356b | 905 | ,&sysctl__net_inet_ipsec |
9bccf70c | 906 | ,&sysctl__net_inet_ipsec_stats |
1c79356b A |
907 | ,&sysctl__net_inet_ipsec_def_policy |
908 | ,&sysctl__net_inet_ipsec_esp_trans_deflev | |
909 | ,&sysctl__net_inet_ipsec_esp_net_deflev | |
910 | ,&sysctl__net_inet_ipsec_ah_trans_deflev | |
911 | ,&sysctl__net_inet_ipsec_ah_net_deflev | |
1c79356b A |
912 | ,&sysctl__net_inet_ipsec_ah_cleartos |
913 | ,&sysctl__net_inet_ipsec_ah_offsetmask | |
914 | ,&sysctl__net_inet_ipsec_dfbit | |
915 | ,&sysctl__net_inet_ipsec_ecn | |
916 | ,&sysctl__net_inet_ipsec_debug | |
9bccf70c A |
917 | ,&sysctl__net_inet_ipsec_esp_randpad |
918 | ,&sysctl__net_inet_ipsec_bypass | |
55e303ae | 919 | ,&sysctl__net_inet_ipsec_esp_port |
1c79356b A |
920 | #endif |
921 | ,(struct sysctl_oid *) 0 | |
922 | }; | |
923 |