]> git.saurik.com Git - apple/xnu.git/blame - bsd/kern/sysctl_init.c
xnu-792.21.3.tar.gz
[apple/xnu.git] / bsd / kern / sysctl_init.c
CommitLineData
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
33extern struct sysctl_oid sysctl__debug_bpf_bufsize;
9bccf70c 34extern struct sysctl_oid sysctl__debug_bpf_maxbufsize;
91447636
A
35extern struct sysctl_oid sysctl__debug_bpf_maxdevices;
36extern struct sysctl_oid sysctl__debug_iokit;
1c79356b
A
37
38#if TUN
39extern struct sysctl_oid sysctl__debug_if_tun_debug;
40#endif
41
91447636 42#if COMPAT_43_TTY
1c79356b
A
43#ifndef NeXT
44extern struct sysctl_oid sysctl__debug_ttydebug;
45#endif
46#endif
47
43866e37
A
48extern struct sysctl_oid sysctl__hw_machine;
49extern struct sysctl_oid sysctl__hw_model;
50extern struct sysctl_oid sysctl__hw_ncpu;
51extern struct sysctl_oid sysctl__hw_activecpu;
91447636
A
52extern struct sysctl_oid sysctl__hw_physicalcpu;
53extern struct sysctl_oid sysctl__hw_physicalcpu_max;
54extern struct sysctl_oid sysctl__hw_logicalcpu;
55extern struct sysctl_oid sysctl__hw_logicalcpu_max;
43866e37
A
56extern struct sysctl_oid sysctl__hw_byteorder;
57extern struct sysctl_oid sysctl__hw_cputype;
58extern struct sysctl_oid sysctl__hw_cpusubtype;
59extern struct sysctl_oid sysctl__hw_physmem;
60extern struct sysctl_oid sysctl__hw_usermem;
61extern struct sysctl_oid sysctl__hw_pagesize;
62extern struct sysctl_oid sysctl__hw_epoch;
63extern struct sysctl_oid sysctl__hw_vectorunit;
64extern struct sysctl_oid sysctl__hw_busfrequency;
65extern struct sysctl_oid sysctl__hw_busfrequency_min;
66extern struct sysctl_oid sysctl__hw_busfrequency_max;
67extern struct sysctl_oid sysctl__hw_cpufrequency;
68extern struct sysctl_oid sysctl__hw_cpufrequency_min;
69extern struct sysctl_oid sysctl__hw_cpufrequency_max;
70extern struct sysctl_oid sysctl__hw_cachelinesize;
71extern struct sysctl_oid sysctl__hw_l1icachesize;
72extern struct sysctl_oid sysctl__hw_l1dcachesize;
73extern struct sysctl_oid sysctl__hw_l2settings;
74extern struct sysctl_oid sysctl__hw_l2cachesize;
75extern struct sysctl_oid sysctl__hw_l3settings;
76extern struct sysctl_oid sysctl__hw_l3cachesize;
77extern struct sysctl_oid sysctl__hw_tbfrequency;
78extern struct sysctl_oid sysctl__hw_memsize;
79
80extern struct sysctl_oid sysctl__hw_optional;
81extern struct sysctl_oid sysctl__hw_optional_floatingpoint;
82
83extern struct sysctl_oid sysctl__hw_pagesize_compat;
84extern struct sysctl_oid sysctl__hw_busfrequency_compat;
85extern struct sysctl_oid sysctl__hw_cpufrequency_compat;
86extern struct sysctl_oid sysctl__hw_cachelinesize_compat;
87extern struct sysctl_oid sysctl__hw_l1icachesize_compat;
88extern struct sysctl_oid sysctl__hw_l1dcachesize_compat;
89extern struct sysctl_oid sysctl__hw_l2cachesize_compat;
90extern struct sysctl_oid sysctl__hw_l3cachesize_compat;
91extern struct sysctl_oid sysctl__hw_tbfrequency_compat;
92
9bccf70c
A
93extern struct sysctl_oid sysctl__kern_sysv_shmmax;
94extern struct sysctl_oid sysctl__kern_sysv_shmmin;
95extern struct sysctl_oid sysctl__kern_sysv_shmmni;
96extern struct sysctl_oid sysctl__kern_sysv_shmseg;
97extern struct sysctl_oid sysctl__kern_sysv_shmall;
91447636
A
98extern struct sysctl_oid sysctl__kern_sysv_ipcs;
99extern struct sysctl_oid sysctl__kern_sysv_ipcs_shm;
100extern struct sysctl_oid sysctl__kern_sysv_ipcs_sem;
101extern struct sysctl_oid sysctl__kern_sysv_ipcs_msg;
9bccf70c 102
55e303ae
A
103extern struct sysctl_oid sysctl__kern_sysv_semmni;
104extern struct sysctl_oid sysctl__kern_sysv_semmns;
105extern struct sysctl_oid sysctl__kern_sysv_semmnu;
106extern struct sysctl_oid sysctl__kern_sysv_semmsl;
107extern struct sysctl_oid sysctl__kern_sysv_semume;
108
1c79356b
A
109extern struct sysctl_oid sysctl__kern_dummy;
110extern struct sysctl_oid sysctl__kern_ipc_maxsockbuf;
91447636 111extern struct sysctl_oid sysctl__kern_ipc_mbstat;
1c79356b
A
112extern struct sysctl_oid sysctl__kern_ipc_nmbclusters;
113extern struct sysctl_oid sysctl__kern_ipc_sockbuf_waste_factor;
114extern struct sysctl_oid sysctl__kern_ipc_somaxconn;
115extern struct sysctl_oid sysctl__kern_ipc_sosendminchain;
55e303ae 116extern struct sysctl_oid sysctl__kern_ipc_sorecvmincopy;
1c79356b 117extern struct sysctl_oid sysctl__kern_ipc_maxsockets;
91447636
A
118extern struct sysctl_oid sysctl__kern_posix;
119extern struct sysctl_oid sysctl__kern_posix_sem;
120extern struct sysctl_oid sysctl__kern_posix_sem_max;
a3d08fcd 121extern struct sysctl_oid sysctl__kern_sugid_scripts;
3a60a9f5 122extern struct sysctl_oid sysctl__kern_always_do_fullfsync;
8f6c56a5 123extern struct sysctl_oid sysctl__kern_flush_cache_on_write;
1c79356b
A
124extern struct sysctl_oid sysctl__net_inet_icmp_icmplim;
125extern struct sysctl_oid sysctl__net_inet_icmp_maskrepl;
55e303ae 126extern struct sysctl_oid sysctl__net_inet_icmp_timestamp;
1c79356b 127extern struct sysctl_oid sysctl__net_inet_icmp_bmcastecho;
9bccf70c
A
128extern struct sysctl_oid sysctl__net_inet_icmp_log_redirect;
129extern struct sysctl_oid sysctl__net_inet_icmp_drop_redirect;
1c79356b
A
130extern struct sysctl_oid sysctl__net_inet_ip_accept_sourceroute;
131
132#if IPCTL_DEFMTU
133extern struct sysctl_oid sysctl__net_inet_ip_mtu;
134#endif
135
136extern struct sysctl_oid sysctl__net_inet_ip_ttl;
137extern struct sysctl_oid sysctl__net_inet_ip_fastforwarding;
138extern struct sysctl_oid sysctl__net_inet_ip_forwarding;
139extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_drops;
140extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_maxlen;
141extern struct sysctl_oid sysctl__net_inet_ip_rtexpire;
142extern struct sysctl_oid sysctl__net_inet_ip_rtmaxcache;
143extern struct sysctl_oid sysctl__net_inet_ip_rtminexpire;
144extern struct sysctl_oid sysctl__net_inet_ip_redirect;
145extern struct sysctl_oid sysctl__net_inet_ip_sourceroute;
146extern struct sysctl_oid sysctl__net_inet_ip_subnets_are_local;
147extern struct sysctl_oid sysctl__net_inet_ip_keepfaith;
9bccf70c 148extern struct sysctl_oid sysctl__net_inet_ip_maxfragpackets;
483a1d10 149extern struct sysctl_oid sysctl__net_inet_ip_maxfragsperpacket;
91447636 150extern struct sysctl_oid sysctl__net_inet_ip_maxfrags;
9bccf70c
A
151extern struct sysctl_oid sysctl__net_inet_ip_check_interface;
152extern struct sysctl_oid sysctl__net_inet_ip_check_route_selfref;
55e303ae 153extern struct sysctl_oid sysctl__net_inet_ip_use_route_genid;
1c79356b
A
154#if NGIF > 0
155extern struct sysctl_oid sysctl__net_inet_ip_gifttl;
156#endif
157
158#if DUMMYNET
91447636
A
159extern struct sysctl_oid sysctl__net_inet_ip_dummynet_hash_size;
160extern struct sysctl_oid sysctl__net_inet_ip_dummynet_curr_time;
161extern struct sysctl_oid sysctl__net_inet_ip_dummynet_ready_heap;
162extern struct sysctl_oid sysctl__net_inet_ip_dummynet_extract_heap;
163extern struct sysctl_oid sysctl__net_inet_ip_dummynet_searches;
164extern struct sysctl_oid sysctl__net_inet_ip_dummynet_search_steps;
165extern struct sysctl_oid sysctl__net_inet_ip_dummynet_expire;
166extern struct sysctl_oid sysctl__net_inet_ip_dummynet_max_chain_len;
167extern struct sysctl_oid sysctl__net_inet_ip_dummynet_red_lookup_depth;
168extern struct sysctl_oid sysctl__net_inet_ip_dummynet_red_avg_pkt_size;
169extern struct sysctl_oid sysctl__net_inet_ip_dummynet_red_max_pkt_size;
1c79356b
A
170extern struct sysctl_oid sysctl__net_inet_ip_dummynet;
171#endif
172
173#if IPFIREWALL && !IPFIREWALL_KEXT
91447636 174extern struct sysctl_oid sysctl__net_inet_ip_fw_enable;
1c79356b
A
175extern struct sysctl_oid sysctl__net_inet_ip_fw_debug;
176extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose;
177extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose_limit;
178extern struct sysctl_oid sysctl__net_inet_ip_fw_one_pass;
91447636
A
179extern struct sysctl_oid sysctl__net_inet_ip_fw_autoinc_step;
180extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_buckets;
181extern struct sysctl_oid sysctl__net_inet_ip_fw_curr_dyn_buckets;
182extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_count;
183extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_max;
184extern struct sysctl_oid sysctl__net_inet_ip_fw_static_count;
185extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_ack_lifetime;
186extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_syn_lifetime;
187extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_fin_lifetime;
188extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_rst_lifetime;
189extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_udp_lifetime;
190extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_short_lifetime;
191extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_keepalive;
1c79356b
A
192extern struct sysctl_oid sysctl__net_inet_ip_fw;
193#endif
194
9bccf70c
A
195extern struct sysctl_oid sysctl__net_inet_ip_linklocal;
196extern struct sysctl_oid sysctl__net_inet_ip_linklocal_stat;
197extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in;
198extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in_allowbadttl;
91447636 199extern struct sysctl_oid sysctl__net_inet_ip_maxchainsent;
9bccf70c 200
1c79356b
A
201extern struct sysctl_oid sysctl__net_inet_raw_maxdgram;
202extern struct sysctl_oid sysctl__net_inet_raw_recvspace;
203extern struct sysctl_oid sysctl__net_inet_tcp_always_keepalive;
204extern struct sysctl_oid sysctl__net_inet_tcp_delayed_ack;
205extern struct sysctl_oid sysctl__net_inet_tcp_log_in_vain;
206extern struct sysctl_oid sysctl__net_inet_tcp_pcbcount;
207extern struct sysctl_oid sysctl__net_inet_tcp_rfc1323;
208extern struct sysctl_oid sysctl__net_inet_tcp_rfc1644;
209extern struct sysctl_oid sysctl__net_inet_tcp_keepidle;
210extern struct sysctl_oid sysctl__net_inet_tcp_keepinit;
211extern struct sysctl_oid sysctl__net_inet_tcp_keepintvl;
212extern struct sysctl_oid sysctl__net_inet_tcp_mssdflt;
e5568f75 213extern struct sysctl_oid sysctl__net_inet_tcp_minmss;
91447636 214extern struct sysctl_oid sysctl__net_inet_tcp_minmssoverload;
1c79356b 215extern struct sysctl_oid sysctl__net_inet_tcp_recvspace;
1c79356b 216extern struct sysctl_oid sysctl__net_inet_tcp_sendspace;
d12e1678 217extern struct sysctl_oid sysctl__net_inet_tcp_slowlink_wsize;
9bccf70c
A
218extern struct sysctl_oid sysctl__net_inet_tcp_blackhole;
219extern struct sysctl_oid sysctl__net_inet_tcp_tcp_lq_overflow;
220extern struct sysctl_oid sysctl__net_inet_tcp_path_mtu_discovery;
221extern struct sysctl_oid sysctl__net_inet_tcp_slowstart_flightsize;
222extern struct sysctl_oid sysctl__net_inet_tcp_local_slowstart_flightsize;
223extern struct sysctl_oid sysctl__net_inet_tcp_newreno;
91447636 224extern struct sysctl_oid sysctl__net_inet_tcp_packetchain;
9bccf70c
A
225extern struct sysctl_oid sysctl__net_inet_tcp_tcbhashsize;
226extern struct sysctl_oid sysctl__net_inet_tcp_do_tcpdrain;
227extern struct sysctl_oid sysctl__net_inet_tcp_icmp_may_rst;
228extern struct sysctl_oid sysctl__net_inet_tcp_strict_rfc1948;
229extern struct sysctl_oid sysctl__net_inet_tcp_delacktime;
230extern struct sysctl_oid sysctl__net_inet_tcp_isn_reseed_interval;
231extern struct sysctl_oid sysctl__net_inet_tcp_msl;
8ad349bb
A
232extern struct sysctl_oid sysctl__net_inet_tcp_sack;
233extern struct sysctl_oid sysctl__net_inet_tcp_sack_maxholes;
234extern struct sysctl_oid sysctl__net_inet_tcp_sack_globalmaxholes;
235extern struct sysctl_oid sysctl__net_inet_tcp_sack_globalholes;
9bccf70c
A
236#if TCP_DROP_SYNFIN
237extern struct sysctl_oid sysctl__net_inet_tcp_drop_synfin;
238#endif
239#if TCPDEBUG
240extern struct sysctl_oid sysctl__net_inet_tcp_tcpconsdebug;
241#endif
55e303ae 242extern struct sysctl_oid sysctl__net_inet_tcp_sockthreshold;
e5568f75
A
243extern struct sysctl_oid sysctl__net_inet_tcp_reass_maxsegments;
244extern struct sysctl_oid sysctl__net_inet_tcp_reass_cursegments;
245extern struct sysctl_oid sysctl__net_inet_tcp_reass_overflows;
246extern struct sysctl_oid sysctl__net_inet_tcp_reass;
247
1c79356b
A
248extern struct sysctl_oid sysctl__net_inet_udp_log_in_vain;
249extern struct sysctl_oid sysctl__net_inet_udp_checksum;
250extern struct sysctl_oid sysctl__net_inet_udp_maxdgram;
251extern struct sysctl_oid sysctl__net_inet_udp_recvspace;
9bccf70c 252extern struct sysctl_oid sysctl__net_inet_udp_blackhole;
91447636 253extern struct sysctl_oid sysctl__net_inet_udp_pcbcount;
1c79356b
A
254
255#if NETAT
256extern struct sysctl_oid sysctl__net_appletalk_debug;
257extern struct sysctl_oid sysctl__net_appletalk_routermix;
258extern struct sysctl_oid sysctl__net_appletalk_ddpstats;
259#endif /* NETAT */
260
261#if BRIDGE
262extern struct sysctl_oid sysctl__net_link_ether_bdgfwc;
263extern struct sysctl_oid sysctl__net_link_ether_bdgfwt;
264extern struct sysctl_oid sysctl__net_link_ether_bdginc;
265extern struct sysctl_oid sysctl__net_link_ether_bdgint;
266extern struct sysctl_oid sysctl__net_link_ether_bridge_ipfw;
267extern struct sysctl_oid sysctl__net_link_ethe_bdgstats;
268#endif
269
270extern struct sysctl_oid sysctl__net_link_ether_inet_host_down_time;
271extern struct sysctl_oid sysctl__net_link_ether_inet_max_age;
272extern struct sysctl_oid sysctl__net_link_ether_inet_maxtries;
273extern struct sysctl_oid sysctl__net_link_ether_inet_proxyall;
274extern struct sysctl_oid sysctl__net_link_ether_inet_prune_intvl;
275extern struct sysctl_oid sysctl__net_link_ether_inet_useloopback;
91447636 276extern struct sysctl_oid sysctl__net_link_ether_inet_log_arp_warnings;
0b4e3aa0
A
277extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_tx;
278extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_rx;
1c79356b
A
279
280#if NETMIBS
281extern struct sysctl_oid sysctl__net_link_generic_system_ifcount;
282extern struct sysctl_oid sysctl__net_link_generic;
283extern struct sysctl_oid sysctl__net_link_generic_ifdata;
91447636 284extern struct sysctl_oid sysctl__net_link_generic_ifalldata;
1c79356b
A
285extern struct sysctl_oid sysctl__net_link_generic_system;
286#endif
287
288#if VLAN
289extern struct sysctl_oid sysctl__net_link_vlan_link_proto;
290extern struct sysctl_oid sysctl__net_link_vlan;
291extern struct sysctl_oid sysctl__net_link_vlan_link;
292#endif
293
294extern struct sysctl_oid sysctl__net_local_inflight;
295extern struct sysctl_oid sysctl__net_local_dgram_maxdgram;
296extern struct sysctl_oid sysctl__net_local_dgram_recvspace;
297extern struct sysctl_oid sysctl__net_local_stream_recvspace;
298extern struct sysctl_oid sysctl__net_local_stream_sendspace;
299
300#if 0
301extern struct sysctl_oid sysctl__vfs_nfs_nfs_privport;
302extern struct sysctl_oid sysctl__vfs_nfs_async;
303extern struct sysctl_oid sysctl__vfs_nfs_debug;
304extern struct sysctl_oid sysctl__vfs_nfs_defect;
305extern struct sysctl_oid sysctl__vfs_nfs_diskless_valid;
306extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay;
307extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay_v3;
308extern struct sysctl_oid sysctl__vfs_nfs;
309extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootaddr;
310extern struct sysctl_oid sysctl__vfs_nfs_diskless_swapaddr;
311extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootpath;
312extern struct sysctl_oid sysctl__vfs_nfs_diskless_swappath;
313extern struct sysctl_oid sysctl__vfs_nfs_nfsstats;
314#endif
91447636 315#if NFSCLIENT
55e303ae
A
316extern struct sysctl_oid sysctl__vfs_generic_nfs_client_initialdowndelay;
317extern struct sysctl_oid sysctl__vfs_generic_nfs_client_nextdowndelay;
318extern struct sysctl_oid sysctl__vfs_generic_nfs_client;
319extern struct sysctl_oid sysctl__vfs_generic_nfs;
91447636 320#endif
55e303ae
A
321
322extern struct sysctl_oid sysctl__vfs_generic;
323extern struct sysctl_oid sysctl__vfs_generic_vfsidlist;
324extern struct sysctl_oid sysctl__vfs_generic_ctlbyfsid;
325extern struct sysctl_oid sysctl__vfs_generic_noremotehang;
1c79356b
A
326
327extern struct sysctl_oid sysctl__kern_ipc;
9bccf70c
A
328extern struct sysctl_oid sysctl__kern_sysv;
329
1c79356b
A
330extern struct sysctl_oid sysctl__net_inet;
331
332#if NETAT
333extern struct sysctl_oid sysctl__net_appletalk;
334#endif /* NETAT */
335
336extern struct sysctl_oid sysctl__net_link;
337extern struct sysctl_oid sysctl__net_local;
338extern struct sysctl_oid sysctl__net_routetable;
339
340#if IPDIVERT
341extern struct sysctl_oid sysctl__net_inet_div;
342#endif
343
344extern struct sysctl_oid sysctl__net_inet_icmp;
345extern struct sysctl_oid sysctl__net_inet_igmp;
346extern struct sysctl_oid sysctl__net_inet_ip;
347extern struct sysctl_oid sysctl__net_inet_raw;
348extern struct sysctl_oid sysctl__net_inet_tcp;
349extern struct sysctl_oid sysctl__net_inet_udp;
350extern struct sysctl_oid sysctl__net_inet_ip_portrange;
351
352extern struct sysctl_oid sysctl__net_link_ether;
353extern struct sysctl_oid sysctl__net_link_ether_inet;
354
355extern struct sysctl_oid sysctl__net_local_dgram;
356extern struct sysctl_oid sysctl__net_local_stream;
357extern struct sysctl_oid sysctl__sysctl_name;
358extern struct sysctl_oid sysctl__sysctl_next;
359extern struct sysctl_oid sysctl__sysctl_oidfmt;
360extern struct sysctl_oid sysctl__net_inet_ip_portrange_first;
361extern struct sysctl_oid sysctl__net_inet_ip_portrange_hifirst;
362extern struct sysctl_oid sysctl__net_inet_ip_portrange_hilast;
363extern struct sysctl_oid sysctl__net_inet_ip_portrange_last;
364extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowfirst;
365extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowlast;
366extern struct sysctl_oid sysctl__net_inet_raw_pcblist;
367extern struct sysctl_oid sysctl__net_inet_tcp_pcblist;
368extern struct sysctl_oid sysctl__net_inet_udp_pcblist;
369extern struct sysctl_oid sysctl__net_link_ether_bridge;
370extern struct sysctl_oid sysctl__net_local_dgram_pcblist;
371extern struct sysctl_oid sysctl__net_local_stream_pcblist;
372extern struct sysctl_oid sysctl__sysctl_debug;
373extern struct sysctl_oid sysctl__sysctl_name2oid;
374extern struct sysctl_oid sysctl__net_inet_icmp_stats;
375extern struct sysctl_oid sysctl__net_inet_igmp_stats;
376extern struct sysctl_oid sysctl__net_inet_ip_stats;
377extern struct sysctl_oid sysctl__net_inet_tcp_stats;
378extern struct sysctl_oid sysctl__net_inet_udp_stats;
379extern struct sysctl_oid sysctl__kern;
380extern struct sysctl_oid sysctl__hw;
55e303ae 381extern struct sysctl_oid sysctl__machdep;
1c79356b
A
382extern struct sysctl_oid sysctl__net;
383extern struct sysctl_oid sysctl__debug;
384extern struct sysctl_oid sysctl__vfs;
385extern struct sysctl_oid sysctl__sysctl;
386
387#if INET6
9bccf70c 388extern struct sysctl_oid sysctl__net_inet_tcp_v6mssdflt;
1c79356b
A
389extern struct sysctl_oid sysctl__net_inet6;
390extern struct sysctl_oid sysctl__net_inet6_ip6;
9bccf70c 391extern struct sysctl_oid sysctl__net_inet6_ip6_stats;
1c79356b
A
392extern struct sysctl_oid sysctl__net_inet6_icmp6;
393extern struct sysctl_oid sysctl__net_inet6_ip6_forwarding;
394extern struct sysctl_oid sysctl__net_inet6_ip6_redirect;
395extern struct sysctl_oid sysctl__net_inet6_ip6_hlim;
396extern struct sysctl_oid sysctl__net_inet6_ip6_maxfragpackets;
91447636 397extern struct sysctl_oid sysctl__net_inet6_ip6_maxfrags;
1c79356b
A
398extern struct sysctl_oid sysctl__net_inet6_ip6_accept_rtadv;
399extern struct sysctl_oid sysctl__net_inet6_ip6_keepfaith;
400extern struct sysctl_oid sysctl__net_inet6_ip6_log_interval;
401extern struct sysctl_oid sysctl__net_inet6_ip6_hdrnestlimit;
402extern struct sysctl_oid sysctl__net_inet6_ip6_dad_count;
403extern struct sysctl_oid sysctl__net_inet6_ip6_auto_flowlabel;
404extern struct sysctl_oid sysctl__net_inet6_ip6_defmcasthlim;
405extern struct sysctl_oid sysctl__net_inet6_ip6_gifhlim;
406extern struct sysctl_oid sysctl__net_inet6_ip6_kame_version;
407extern struct sysctl_oid sysctl__net_inet6_ip6_use_deprecated;
408extern struct sysctl_oid sysctl__net_inet6_ip6_rr_prune;
9bccf70c
A
409extern struct sysctl_oid sysctl__net_inet6_ip6_use_tempaddr;
410extern struct sysctl_oid sysctl__net_inet6_ip6_v6only;
411extern struct sysctl_oid sysctl__net_inet6_ip6_auto_linklocal;
412extern struct sysctl_oid sysctl__net_inet6_ip6_rip6stats;
91447636 413extern struct sysctl_oid sysctl__net_inet6_ip6_mrt6stat;
9bccf70c
A
414extern struct sysctl_oid sysctl__net_inet6_ip6_rtexpire;
415extern struct sysctl_oid sysctl__net_inet6_ip6_rtminexpire;
416extern struct sysctl_oid sysctl__net_inet6_ip6_rtmaxcache;
417extern struct sysctl_oid sysctl__net_inet6_ip6_temppltime;
418extern struct sysctl_oid sysctl__net_inet6_ip6_tempvltime;
1c79356b
A
419#if IPV6FIREWALL
420extern struct sysctl_oid sysctl__net_inet6_ip6_fw;
421extern struct sysctl_oid sysctl__net_inet6_ip6_fw_debug;
422extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose;
423extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose_limit;
424#endif
425extern struct sysctl_oid sysctl__net_inet6_icmp6_rediraccept;
426extern struct sysctl_oid sysctl__net_inet6_icmp6_redirtimeout;
9bccf70c
A
427extern struct sysctl_oid sysctl__net_inet6_icmp6_stats;
428extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo;
429extern struct sysctl_oid sysctl__net_inet6_icmp6_errppslimit;
430extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_maxnudhint;
431extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_debug;
1c79356b
A
432extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_prune;
433extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_delay;
434extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_umaxtries;
435extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_mmaxtries;
436extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_useloopback;
437extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo;
438#if IPSEC
439extern struct sysctl_oid sysctl__net_inet6_ipsec6;
9bccf70c 440extern struct sysctl_oid sysctl__net_inet6_ipsec6_stats;
1c79356b
A
441extern struct sysctl_oid sysctl__net_inet6_ipsec6_def_policy;
442extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_trans_deflev;
443extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_net_deflev;
444extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_trans_deflev;
445extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_net_deflev;
1c79356b
A
446extern struct sysctl_oid sysctl__net_inet6_ipsec6_ecn;
447extern struct sysctl_oid sysctl__net_inet6_ipsec6_debug;
9bccf70c 448extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_randpad;
1c79356b
A
449#endif
450#endif
451#if IPSEC
452extern struct sysctl_oid sysctl__net_inet_ipsec;
55e303ae 453extern struct sysctl_oid sysctl__net_inet_ipsec_esp_port;
9bccf70c 454extern struct sysctl_oid sysctl__net_inet_ipsec_bypass;
1c79356b 455extern struct sysctl_oid sysctl__net_inet_ipsec_def_policy;
9bccf70c 456extern struct sysctl_oid sysctl__net_inet_ipsec_esp_randpad;
1c79356b
A
457extern struct sysctl_oid sysctl__net_inet_ipsec_esp_trans_deflev;
458extern struct sysctl_oid sysctl__net_inet_ipsec_esp_net_deflev;
459extern struct sysctl_oid sysctl__net_inet_ipsec_ah_trans_deflev;
460extern struct sysctl_oid sysctl__net_inet_ipsec_ah_net_deflev;
1c79356b
A
461extern struct sysctl_oid sysctl__net_inet_ipsec_ah_cleartos;
462extern struct sysctl_oid sysctl__net_inet_ipsec_ah_offsetmask;
463extern struct sysctl_oid sysctl__net_inet_ipsec_dfbit;
464extern struct sysctl_oid sysctl__net_inet_ipsec_ecn;
465extern struct sysctl_oid sysctl__net_inet_ipsec_debug;
9bccf70c 466extern struct sysctl_oid sysctl__net_inet_ipsec_stats;
1c79356b
A
467extern struct sysctl_oid sysctl__net_key;
468extern struct sysctl_oid sysctl__net_key_debug;
55e303ae 469extern struct sysctl_oid sysctl__net_key_prefered_oldsa;
1c79356b
A
470extern struct sysctl_oid sysctl__net_key_spi_trycnt;
471extern struct sysctl_oid sysctl__net_key_spi_minval;
472extern struct sysctl_oid sysctl__net_key_spi_maxval;
473extern struct sysctl_oid sysctl__net_key_int_random;
474extern struct sysctl_oid sysctl__net_key_larval_lifetime;
475extern struct sysctl_oid sysctl__net_key_blockacq_count;
476extern struct sysctl_oid sysctl__net_key_blockacq_lifetime;
9bccf70c 477extern struct sysctl_oid sysctl__net_key_esp_keymin;
55e303ae 478extern struct sysctl_oid sysctl__net_key_esp_auth;
9bccf70c 479extern struct sysctl_oid sysctl__net_key_ah_keymin;
55e303ae 480extern struct sysctl_oid sysctl__net_key_natt_keepalive_interval;
91447636 481extern struct sysctl_oid sysctl__net_key_pfkeystat;
1c79356b
A
482#endif
483
484
485struct 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