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