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