]> git.saurik.com Git - apple/xnu.git/blame - bsd/kern/sysctl_init.c
xnu-344.23.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 *
de355530
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 *
de355530
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,
de355530
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>
24#include <sys/buf.h>
25#include <sys/kernel.h>
26#include <sys/sysctl.h>
27
28extern struct sysctl_oid sysctl__debug_bpf_bufsize;
9bccf70c 29extern struct sysctl_oid sysctl__debug_bpf_maxbufsize;
1c79356b
A
30
31#if TUN
32extern struct sysctl_oid sysctl__debug_if_tun_debug;
33#endif
34
35#if COMPAT_43
36#ifndef NeXT
37extern struct sysctl_oid sysctl__debug_ttydebug;
38#endif
39#endif
40
9bccf70c
A
41extern struct sysctl_oid sysctl__kern_sysv_shmmax;
42extern struct sysctl_oid sysctl__kern_sysv_shmmin;
43extern struct sysctl_oid sysctl__kern_sysv_shmmni;
44extern struct sysctl_oid sysctl__kern_sysv_shmseg;
45extern struct sysctl_oid sysctl__kern_sysv_shmall;
46
1c79356b
A
47extern struct sysctl_oid sysctl__kern_dummy;
48extern struct sysctl_oid sysctl__kern_ipc_maxsockbuf;
49extern struct sysctl_oid sysctl__kern_ipc_nmbclusters;
50extern struct sysctl_oid sysctl__kern_ipc_sockbuf_waste_factor;
51extern struct sysctl_oid sysctl__kern_ipc_somaxconn;
52extern struct sysctl_oid sysctl__kern_ipc_sosendminchain;
53extern struct sysctl_oid sysctl__kern_ipc_maxsockets;
54extern struct sysctl_oid sysctl__net_inet_icmp_icmplim;
55extern struct sysctl_oid sysctl__net_inet_icmp_maskrepl;
56extern struct sysctl_oid sysctl__net_inet_icmp_bmcastecho;
9bccf70c
A
57extern struct sysctl_oid sysctl__net_inet_icmp_log_redirect;
58extern struct sysctl_oid sysctl__net_inet_icmp_drop_redirect;
1c79356b
A
59extern struct sysctl_oid sysctl__net_inet_ip_accept_sourceroute;
60
61#if IPCTL_DEFMTU
62extern struct sysctl_oid sysctl__net_inet_ip_mtu;
63#endif
64
65extern struct sysctl_oid sysctl__net_inet_ip_ttl;
66extern struct sysctl_oid sysctl__net_inet_ip_fastforwarding;
67extern struct sysctl_oid sysctl__net_inet_ip_forwarding;
68extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_drops;
69extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_maxlen;
70extern struct sysctl_oid sysctl__net_inet_ip_rtexpire;
71extern struct sysctl_oid sysctl__net_inet_ip_rtmaxcache;
72extern struct sysctl_oid sysctl__net_inet_ip_rtminexpire;
73extern struct sysctl_oid sysctl__net_inet_ip_redirect;
74extern struct sysctl_oid sysctl__net_inet_ip_sourceroute;
75extern struct sysctl_oid sysctl__net_inet_ip_subnets_are_local;
76extern struct sysctl_oid sysctl__net_inet_ip_keepfaith;
9bccf70c
A
77extern struct sysctl_oid sysctl__net_inet_ip_maxfragpackets;
78extern struct sysctl_oid sysctl__net_inet_ip_check_interface;
79extern struct sysctl_oid sysctl__net_inet_ip_check_route_selfref;
1c79356b
A
80#if NGIF > 0
81extern struct sysctl_oid sysctl__net_inet_ip_gifttl;
82#endif
83
84#if DUMMYNET
85extern struct sysctl_oid sysctl__net_inet_ip_dummynet_calls;
86extern struct sysctl_oid sysctl__net_inet_ip_dummynet_debug;
87extern struct sysctl_oid sysctl__net_inet_ip_dummynet_idle;
88extern struct sysctl_oid sysctl__net_inet_ip_dummynet;
89#endif
90
91#if IPFIREWALL && !IPFIREWALL_KEXT
92extern struct sysctl_oid sysctl__net_inet_ip_fw_debug;
93extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose;
94extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose_limit;
95extern struct sysctl_oid sysctl__net_inet_ip_fw_one_pass;
96extern struct sysctl_oid sysctl__net_inet_ip_fw;
97#endif
98
9bccf70c
A
99extern struct sysctl_oid sysctl__net_inet_ip_linklocal;
100extern struct sysctl_oid sysctl__net_inet_ip_linklocal_stat;
101extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in;
102extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in_allowbadttl;
103
1c79356b
A
104extern struct sysctl_oid sysctl__net_inet_raw_maxdgram;
105extern struct sysctl_oid sysctl__net_inet_raw_recvspace;
106extern struct sysctl_oid sysctl__net_inet_tcp_always_keepalive;
107extern struct sysctl_oid sysctl__net_inet_tcp_delayed_ack;
108extern struct sysctl_oid sysctl__net_inet_tcp_log_in_vain;
109extern struct sysctl_oid sysctl__net_inet_tcp_pcbcount;
110extern struct sysctl_oid sysctl__net_inet_tcp_rfc1323;
111extern struct sysctl_oid sysctl__net_inet_tcp_rfc1644;
112extern struct sysctl_oid sysctl__net_inet_tcp_keepidle;
113extern struct sysctl_oid sysctl__net_inet_tcp_keepinit;
114extern struct sysctl_oid sysctl__net_inet_tcp_keepintvl;
115extern struct sysctl_oid sysctl__net_inet_tcp_mssdflt;
116extern struct sysctl_oid sysctl__net_inet_tcp_recvspace;
1c79356b 117extern struct sysctl_oid sysctl__net_inet_tcp_sendspace;
9bccf70c
A
118extern struct sysctl_oid sysctl__net_inet_tcp_blackhole;
119extern struct sysctl_oid sysctl__net_inet_tcp_tcp_lq_overflow;
120extern struct sysctl_oid sysctl__net_inet_tcp_path_mtu_discovery;
121extern struct sysctl_oid sysctl__net_inet_tcp_slowstart_flightsize;
122extern struct sysctl_oid sysctl__net_inet_tcp_local_slowstart_flightsize;
123extern struct sysctl_oid sysctl__net_inet_tcp_newreno;
124extern struct sysctl_oid sysctl__net_inet_tcp_tcbhashsize;
125extern struct sysctl_oid sysctl__net_inet_tcp_do_tcpdrain;
126extern struct sysctl_oid sysctl__net_inet_tcp_icmp_may_rst;
127extern struct sysctl_oid sysctl__net_inet_tcp_strict_rfc1948;
128extern struct sysctl_oid sysctl__net_inet_tcp_delacktime;
129extern struct sysctl_oid sysctl__net_inet_tcp_isn_reseed_interval;
130extern struct sysctl_oid sysctl__net_inet_tcp_msl;
131#if TCP_DROP_SYNFIN
132extern struct sysctl_oid sysctl__net_inet_tcp_drop_synfin;
133#endif
134#if TCPDEBUG
135extern struct sysctl_oid sysctl__net_inet_tcp_tcpconsdebug;
136#endif
1c79356b
A
137extern struct sysctl_oid sysctl__net_inet_udp_log_in_vain;
138extern struct sysctl_oid sysctl__net_inet_udp_checksum;
139extern struct sysctl_oid sysctl__net_inet_udp_maxdgram;
140extern struct sysctl_oid sysctl__net_inet_udp_recvspace;
9bccf70c 141extern struct sysctl_oid sysctl__net_inet_udp_blackhole;
1c79356b
A
142
143#if NETAT
144extern struct sysctl_oid sysctl__net_appletalk_debug;
145extern struct sysctl_oid sysctl__net_appletalk_routermix;
146extern struct sysctl_oid sysctl__net_appletalk_ddpstats;
147#endif /* NETAT */
148
149#if BRIDGE
150extern struct sysctl_oid sysctl__net_link_ether_bdgfwc;
151extern struct sysctl_oid sysctl__net_link_ether_bdgfwt;
152extern struct sysctl_oid sysctl__net_link_ether_bdginc;
153extern struct sysctl_oid sysctl__net_link_ether_bdgint;
154extern struct sysctl_oid sysctl__net_link_ether_bridge_ipfw;
155extern struct sysctl_oid sysctl__net_link_ethe_bdgstats;
156#endif
157
158extern struct sysctl_oid sysctl__net_link_ether_inet_host_down_time;
159extern struct sysctl_oid sysctl__net_link_ether_inet_max_age;
160extern struct sysctl_oid sysctl__net_link_ether_inet_maxtries;
161extern struct sysctl_oid sysctl__net_link_ether_inet_proxyall;
162extern struct sysctl_oid sysctl__net_link_ether_inet_prune_intvl;
163extern struct sysctl_oid sysctl__net_link_ether_inet_useloopback;
9bccf70c 164extern struct sysctl_oid sysctl__net_link_ether_inet_log_arp_wrong_iface;
0b4e3aa0
A
165extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_tx;
166extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_rx;
1c79356b
A
167
168#if NETMIBS
169extern struct sysctl_oid sysctl__net_link_generic_system_ifcount;
170extern struct sysctl_oid sysctl__net_link_generic;
171extern struct sysctl_oid sysctl__net_link_generic_ifdata;
172extern struct sysctl_oid sysctl__net_link_generic_system;
173#endif
174
175#if VLAN
176extern struct sysctl_oid sysctl__net_link_vlan_link_proto;
177extern struct sysctl_oid sysctl__net_link_vlan;
178extern struct sysctl_oid sysctl__net_link_vlan_link;
179#endif
180
181extern struct sysctl_oid sysctl__net_local_inflight;
182extern struct sysctl_oid sysctl__net_local_dgram_maxdgram;
183extern struct sysctl_oid sysctl__net_local_dgram_recvspace;
184extern struct sysctl_oid sysctl__net_local_stream_recvspace;
185extern struct sysctl_oid sysctl__net_local_stream_sendspace;
186
187#if 0
188extern struct sysctl_oid sysctl__vfs_nfs_nfs_privport;
189extern struct sysctl_oid sysctl__vfs_nfs_async;
190extern struct sysctl_oid sysctl__vfs_nfs_debug;
191extern struct sysctl_oid sysctl__vfs_nfs_defect;
192extern struct sysctl_oid sysctl__vfs_nfs_diskless_valid;
193extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay;
194extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay_v3;
195extern struct sysctl_oid sysctl__vfs_nfs;
196extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootaddr;
197extern struct sysctl_oid sysctl__vfs_nfs_diskless_swapaddr;
198extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootpath;
199extern struct sysctl_oid sysctl__vfs_nfs_diskless_swappath;
200extern struct sysctl_oid sysctl__vfs_nfs_nfsstats;
201#endif
202
203extern struct sysctl_oid sysctl__kern_ipc;
9bccf70c
A
204extern struct sysctl_oid sysctl__kern_sysv;
205
1c79356b
A
206extern struct sysctl_oid sysctl__net_inet;
207
208#if NETAT
209extern struct sysctl_oid sysctl__net_appletalk;
210#endif /* NETAT */
211
212extern struct sysctl_oid sysctl__net_link;
213extern struct sysctl_oid sysctl__net_local;
214extern struct sysctl_oid sysctl__net_routetable;
215
216#if IPDIVERT
217extern struct sysctl_oid sysctl__net_inet_div;
218#endif
219
220extern struct sysctl_oid sysctl__net_inet_icmp;
221extern struct sysctl_oid sysctl__net_inet_igmp;
222extern struct sysctl_oid sysctl__net_inet_ip;
223extern struct sysctl_oid sysctl__net_inet_raw;
224extern struct sysctl_oid sysctl__net_inet_tcp;
225extern struct sysctl_oid sysctl__net_inet_udp;
226extern struct sysctl_oid sysctl__net_inet_ip_portrange;
227
228extern struct sysctl_oid sysctl__net_link_ether;
229extern struct sysctl_oid sysctl__net_link_ether_inet;
230
231extern struct sysctl_oid sysctl__net_local_dgram;
232extern struct sysctl_oid sysctl__net_local_stream;
233extern struct sysctl_oid sysctl__sysctl_name;
234extern struct sysctl_oid sysctl__sysctl_next;
235extern struct sysctl_oid sysctl__sysctl_oidfmt;
236extern struct sysctl_oid sysctl__net_inet_ip_portrange_first;
237extern struct sysctl_oid sysctl__net_inet_ip_portrange_hifirst;
238extern struct sysctl_oid sysctl__net_inet_ip_portrange_hilast;
239extern struct sysctl_oid sysctl__net_inet_ip_portrange_last;
240extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowfirst;
241extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowlast;
242extern struct sysctl_oid sysctl__net_inet_raw_pcblist;
243extern struct sysctl_oid sysctl__net_inet_tcp_pcblist;
244extern struct sysctl_oid sysctl__net_inet_udp_pcblist;
245extern struct sysctl_oid sysctl__net_link_ether_bridge;
246extern struct sysctl_oid sysctl__net_local_dgram_pcblist;
247extern struct sysctl_oid sysctl__net_local_stream_pcblist;
248extern struct sysctl_oid sysctl__sysctl_debug;
249extern struct sysctl_oid sysctl__sysctl_name2oid;
250extern struct sysctl_oid sysctl__net_inet_icmp_stats;
251extern struct sysctl_oid sysctl__net_inet_igmp_stats;
252extern struct sysctl_oid sysctl__net_inet_ip_stats;
253extern struct sysctl_oid sysctl__net_inet_tcp_stats;
254extern struct sysctl_oid sysctl__net_inet_udp_stats;
255extern struct sysctl_oid sysctl__kern;
256extern struct sysctl_oid sysctl__hw;
257extern struct sysctl_oid sysctl__net;
258extern struct sysctl_oid sysctl__debug;
259extern struct sysctl_oid sysctl__vfs;
260extern struct sysctl_oid sysctl__sysctl;
261
262#if INET6
9bccf70c 263extern struct sysctl_oid sysctl__net_inet_tcp_v6mssdflt;
1c79356b
A
264extern struct sysctl_oid sysctl__net_inet6;
265extern struct sysctl_oid sysctl__net_inet6_ip6;
9bccf70c 266extern struct sysctl_oid sysctl__net_inet6_ip6_stats;
1c79356b
A
267extern struct sysctl_oid sysctl__net_inet6_icmp6;
268extern struct sysctl_oid sysctl__net_inet6_ip6_forwarding;
269extern struct sysctl_oid sysctl__net_inet6_ip6_redirect;
270extern struct sysctl_oid sysctl__net_inet6_ip6_hlim;
271extern struct sysctl_oid sysctl__net_inet6_ip6_maxfragpackets;
272extern struct sysctl_oid sysctl__net_inet6_ip6_accept_rtadv;
273extern struct sysctl_oid sysctl__net_inet6_ip6_keepfaith;
274extern struct sysctl_oid sysctl__net_inet6_ip6_log_interval;
275extern struct sysctl_oid sysctl__net_inet6_ip6_hdrnestlimit;
276extern struct sysctl_oid sysctl__net_inet6_ip6_dad_count;
277extern struct sysctl_oid sysctl__net_inet6_ip6_auto_flowlabel;
278extern struct sysctl_oid sysctl__net_inet6_ip6_defmcasthlim;
279extern struct sysctl_oid sysctl__net_inet6_ip6_gifhlim;
280extern struct sysctl_oid sysctl__net_inet6_ip6_kame_version;
281extern struct sysctl_oid sysctl__net_inet6_ip6_use_deprecated;
282extern struct sysctl_oid sysctl__net_inet6_ip6_rr_prune;
9bccf70c
A
283extern struct sysctl_oid sysctl__net_inet6_ip6_use_tempaddr;
284extern struct sysctl_oid sysctl__net_inet6_ip6_v6only;
285extern struct sysctl_oid sysctl__net_inet6_ip6_auto_linklocal;
286extern struct sysctl_oid sysctl__net_inet6_ip6_rip6stats;
287extern struct sysctl_oid sysctl__net_inet6_ip6_rtexpire;
288extern struct sysctl_oid sysctl__net_inet6_ip6_rtminexpire;
289extern struct sysctl_oid sysctl__net_inet6_ip6_rtmaxcache;
290extern struct sysctl_oid sysctl__net_inet6_ip6_temppltime;
291extern struct sysctl_oid sysctl__net_inet6_ip6_tempvltime;
292extern struct sysctl_oid sysctl__net_inet6_ip6_auto_on;
1c79356b
A
293#if IPV6FIREWALL
294extern struct sysctl_oid sysctl__net_inet6_ip6_fw;
295extern struct sysctl_oid sysctl__net_inet6_ip6_fw_debug;
296extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose;
297extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose_limit;
298#endif
299extern struct sysctl_oid sysctl__net_inet6_icmp6_rediraccept;
300extern struct sysctl_oid sysctl__net_inet6_icmp6_redirtimeout;
9bccf70c
A
301extern struct sysctl_oid sysctl__net_inet6_icmp6_stats;
302extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo;
303extern struct sysctl_oid sysctl__net_inet6_icmp6_errppslimit;
304extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_maxnudhint;
305extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_debug;
1c79356b
A
306extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_prune;
307extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_delay;
308extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_umaxtries;
309extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_mmaxtries;
310extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_useloopback;
311extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo;
312#if IPSEC
313extern struct sysctl_oid sysctl__net_inet6_ipsec6;
9bccf70c 314extern struct sysctl_oid sysctl__net_inet6_ipsec6_stats;
1c79356b
A
315extern struct sysctl_oid sysctl__net_inet6_ipsec6_def_policy;
316extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_trans_deflev;
317extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_net_deflev;
318extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_trans_deflev;
319extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_net_deflev;
1c79356b
A
320extern struct sysctl_oid sysctl__net_inet6_ipsec6_ecn;
321extern struct sysctl_oid sysctl__net_inet6_ipsec6_debug;
9bccf70c 322extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_randpad;
1c79356b
A
323#endif
324#endif
325#if IPSEC
326extern struct sysctl_oid sysctl__net_inet_ipsec;
9bccf70c 327extern struct sysctl_oid sysctl__net_inet_ipsec_bypass;
1c79356b 328extern struct sysctl_oid sysctl__net_inet_ipsec_def_policy;
9bccf70c 329extern struct sysctl_oid sysctl__net_inet_ipsec_esp_randpad;
1c79356b
A
330extern struct sysctl_oid sysctl__net_inet_ipsec_esp_trans_deflev;
331extern struct sysctl_oid sysctl__net_inet_ipsec_esp_net_deflev;
332extern struct sysctl_oid sysctl__net_inet_ipsec_ah_trans_deflev;
333extern struct sysctl_oid sysctl__net_inet_ipsec_ah_net_deflev;
1c79356b
A
334extern struct sysctl_oid sysctl__net_inet_ipsec_ah_cleartos;
335extern struct sysctl_oid sysctl__net_inet_ipsec_ah_offsetmask;
336extern struct sysctl_oid sysctl__net_inet_ipsec_dfbit;
337extern struct sysctl_oid sysctl__net_inet_ipsec_ecn;
338extern struct sysctl_oid sysctl__net_inet_ipsec_debug;
9bccf70c 339extern struct sysctl_oid sysctl__net_inet_ipsec_stats;
1c79356b
A
340extern struct sysctl_oid sysctl__net_key;
341extern struct sysctl_oid sysctl__net_key_debug;
342extern struct sysctl_oid sysctl__net_key_spi_trycnt;
343extern struct sysctl_oid sysctl__net_key_spi_minval;
344extern struct sysctl_oid sysctl__net_key_spi_maxval;
345extern struct sysctl_oid sysctl__net_key_int_random;
346extern struct sysctl_oid sysctl__net_key_larval_lifetime;
347extern struct sysctl_oid sysctl__net_key_blockacq_count;
348extern struct sysctl_oid sysctl__net_key_blockacq_lifetime;
9bccf70c
A
349extern struct sysctl_oid sysctl__net_key_esp_keymin;
350extern struct sysctl_oid sysctl__net_key_ah_keymin;
1c79356b
A
351#endif
352
353
354struct sysctl_oid *newsysctl_list[] =
355{
356 &sysctl__kern,
357 &sysctl__hw,
358 &sysctl__net,
359 &sysctl__debug,
360 &sysctl__vfs,
361 &sysctl__sysctl,
9bccf70c
A
362 &sysctl__debug_bpf_bufsize,
363 &sysctl__debug_bpf_maxbufsize
1c79356b
A
364#if TUN
365 ,&sysctl__debug_if_tun_debug
366#endif
367
368#if COMPAT_43
369#ifndef NeXT
370 ,&sysctl__debug_ttydebug
371#endif
372#endif
373
9bccf70c
A
374 ,&sysctl__kern_sysv_shmmax
375 ,&sysctl__kern_sysv_shmmin
376 ,&sysctl__kern_sysv_shmmni
377 ,&sysctl__kern_sysv_shmseg
378 ,&sysctl__kern_sysv_shmall
1c79356b
A
379 ,&sysctl__kern_dummy
380 ,&sysctl__kern_ipc_maxsockbuf
381 ,&sysctl__kern_ipc_nmbclusters
382 ,&sysctl__kern_ipc_sockbuf_waste_factor
383 ,&sysctl__kern_ipc_somaxconn
384 ,&sysctl__kern_ipc_sosendminchain
385 ,&sysctl__kern_ipc_maxsockets
386 ,&sysctl__net_inet_icmp_icmplim
387 ,&sysctl__net_inet_icmp_maskrepl
388 ,&sysctl__net_inet_icmp_bmcastecho
9bccf70c
A
389 ,&sysctl__net_inet_icmp_drop_redirect
390 ,&sysctl__net_inet_icmp_log_redirect
1c79356b
A
391 ,&sysctl__net_inet_ip_accept_sourceroute
392#if IPCTL_DEFMTU
393 ,&sysctl__net_inet_ip_mtu
394#endif
395 ,&sysctl__net_inet_ip_ttl
396 ,&sysctl__net_inet_ip_fastforwarding
397 ,&sysctl__net_inet_ip_forwarding
398 ,&sysctl__net_inet_ip_intr_queue_drops
399 ,&sysctl__net_inet_ip_intr_queue_maxlen
400 ,&sysctl__net_inet_ip_rtexpire
401 ,&sysctl__net_inet_ip_rtmaxcache
402 ,&sysctl__net_inet_ip_rtminexpire
403 ,&sysctl__net_inet_ip_redirect
404 ,&sysctl__net_inet_ip_sourceroute
405 ,&sysctl__net_inet_ip_subnets_are_local
406 ,&sysctl__net_inet_ip_keepfaith
9bccf70c
A
407 ,&sysctl__net_inet_ip_maxfragpackets
408 ,&sysctl__net_inet_ip_check_interface
409 ,&sysctl__net_inet_ip_check_route_selfref
1c79356b
A
410#if NGIF > 0
411 ,&sysctl__net_inet_ip_gifttl
412#endif
413#if DUMMYNET
414 ,&sysctl__net_inet_ip_dummynet_calls
415 ,&sysctl__net_inet_ip_dummynet_debug
416 ,&sysctl__net_inet_ip_dummynet_idle
417 ,&sysctl__net_inet_ip_dummynet
418#endif
419
420#if IPFIREWALL && !IPFIREWALL_KEXT
421 ,&sysctl__net_inet_ip_fw_debug
422 ,&sysctl__net_inet_ip_fw_verbose
423 ,&sysctl__net_inet_ip_fw_verbose_limit
424 ,&sysctl__net_inet_ip_fw_one_pass
425 ,&sysctl__net_inet_ip_fw
426#endif
9bccf70c
A
427 ,&sysctl__net_inet_ip_linklocal
428 ,&sysctl__net_inet_ip_linklocal_stat
429 ,&sysctl__net_inet_ip_linklocal_in
430 ,&sysctl__net_inet_ip_linklocal_in_allowbadttl
1c79356b
A
431 ,&sysctl__net_inet_raw_maxdgram
432 ,&sysctl__net_inet_raw_recvspace
433 ,&sysctl__net_inet_tcp_always_keepalive
434 ,&sysctl__net_inet_tcp_delayed_ack
435 ,&sysctl__net_inet_tcp_log_in_vain
436 ,&sysctl__net_inet_tcp_pcbcount
437 ,&sysctl__net_inet_tcp_rfc1323
438 ,&sysctl__net_inet_tcp_rfc1644
439 ,&sysctl__net_inet_tcp_keepidle
440 ,&sysctl__net_inet_tcp_keepinit
441 ,&sysctl__net_inet_tcp_keepintvl
442 ,&sysctl__net_inet_tcp_mssdflt
443 ,&sysctl__net_inet_tcp_recvspace
1c79356b 444 ,&sysctl__net_inet_tcp_sendspace
9bccf70c
A
445 ,&sysctl__net_inet_tcp_blackhole
446 ,&sysctl__net_inet_tcp_tcp_lq_overflow
447 ,&sysctl__net_inet_tcp_path_mtu_discovery
448 ,&sysctl__net_inet_tcp_slowstart_flightsize
449 ,&sysctl__net_inet_tcp_local_slowstart_flightsize
450 ,&sysctl__net_inet_tcp_newreno
451 ,&sysctl__net_inet_tcp_tcbhashsize
452 ,&sysctl__net_inet_tcp_do_tcpdrain
453 ,&sysctl__net_inet_tcp_icmp_may_rst
454 ,&sysctl__net_inet_tcp_strict_rfc1948
455 ,&sysctl__net_inet_tcp_delacktime
456 ,&sysctl__net_inet_tcp_isn_reseed_interval
457 ,&sysctl__net_inet_tcp_msl
458#if TCP_DROP_SYNFIN
459 ,&sysctl__net_inet_tcp_drop_synfin
460#endif
461#if TCPDEBUG
462 ,&sysctl__net_inet_tcp_tcpconsdebug
463#endif
1c79356b
A
464 ,&sysctl__net_inet_udp_log_in_vain
465 ,&sysctl__net_inet_udp_checksum
466 ,&sysctl__net_inet_udp_maxdgram
467 ,&sysctl__net_inet_udp_recvspace
9bccf70c 468 ,&sysctl__net_inet_udp_blackhole
1c79356b
A
469
470#if NETAT
471 ,&sysctl__net_appletalk_debug
472 ,&sysctl__net_appletalk_routermix
473 ,&sysctl__net_appletalk_ddpstats
474#endif /* NETAT */
475
476#if BRIDGE
477 ,&sysctl__net_link_ether_bdgfwc
478 ,&sysctl__net_link_ether_bdgfwt
479 ,&sysctl__net_link_ether_bdginc
480 ,&sysctl__net_link_ether_bdgint
481 ,&sysctl__net_link_ether_bridge_ipfw
482 ,&sysctl__net_link_ethe_bdgstats
483 ,&sysctl__net_link_ether_bridge
484#endif
485
486 ,&sysctl__net_link_ether_inet_host_down_time
487 ,&sysctl__net_link_ether_inet_max_age
488 ,&sysctl__net_link_ether_inet_maxtries
489 ,&sysctl__net_link_ether_inet_proxyall
490 ,&sysctl__net_link_ether_inet_prune_intvl
491 ,&sysctl__net_link_ether_inet_useloopback
9bccf70c 492 ,&sysctl__net_link_ether_inet_log_arp_wrong_iface
0b4e3aa0
A
493 ,&sysctl__net_link_ether_inet_apple_hwcksum_tx
494 ,&sysctl__net_link_ether_inet_apple_hwcksum_rx
1c79356b
A
495#if NETMIBS
496 ,&sysctl__net_link_generic_system_ifcount
497 ,&sysctl__net_link_generic
498 ,&sysctl__net_link_generic_ifdata
499 ,&sysctl__net_link_generic_system
500#endif
501
502#if VLAN
503 ,&sysctl__net_link_vlan_link_proto
504 ,&sysctl__net_link_vlan
505 ,&sysctl__net_link_vlan_link
506#endif
507
508 ,&sysctl__net_local_inflight
509 ,&sysctl__net_local_dgram_maxdgram
510 ,&sysctl__net_local_dgram_recvspace
511 ,&sysctl__net_local_stream_recvspace
512 ,&sysctl__net_local_stream_sendspace
513#if 0
514 ,&sysctl__vfs_nfs_nfs_privport
515 ,&sysctl__vfs_nfs_async
516 ,&sysctl__vfs_nfs_debug
517 ,&sysctl__vfs_nfs_defect
518 ,&sysctl__vfs_nfs_diskless_valid
519 ,&sysctl__vfs_nfs_gatherdelay
520 ,&sysctl__vfs_nfs_gatherdelay_v3
521 ,&sysctl__vfs_nfs
522 ,&sysctl__vfs_nfs_diskless_rootaddr
523 ,&sysctl__vfs_nfs_diskless_swapaddr
524 ,&sysctl__vfs_nfs_diskless_rootpath
525 ,&sysctl__vfs_nfs_diskless_swappath
526 ,&sysctl__vfs_nfs_nfsstats
527#endif
528 ,&sysctl__kern_ipc
9bccf70c 529 ,&sysctl__kern_sysv
1c79356b
A
530 ,&sysctl__net_inet
531#if NETAT
532 ,&sysctl__net_appletalk
533#endif /* NETAT */
534 ,&sysctl__net_link
535 ,&sysctl__net_local
536 ,&sysctl__net_routetable
537#if IPDIVERT
538 ,&sysctl__net_inet_div
539#endif
540 ,&sysctl__net_inet_icmp
541 ,&sysctl__net_inet_igmp
542 ,&sysctl__net_inet_ip
543 ,&sysctl__net_inet_raw
544 ,&sysctl__net_inet_tcp
545 ,&sysctl__net_inet_udp
546 ,&sysctl__net_inet_ip_portrange
547 ,&sysctl__net_link_ether
548 ,&sysctl__net_link_ether_inet
549 ,&sysctl__net_local_dgram
550 ,&sysctl__net_local_stream
551 ,&sysctl__sysctl_name
552 ,&sysctl__sysctl_next
553 ,&sysctl__sysctl_oidfmt
554 ,&sysctl__net_inet_ip_portrange_first
555 ,&sysctl__net_inet_ip_portrange_hifirst
556 ,&sysctl__net_inet_ip_portrange_hilast
557 ,&sysctl__net_inet_ip_portrange_last
558 ,&sysctl__net_inet_ip_portrange_lowfirst
559 ,&sysctl__net_inet_ip_portrange_lowlast
560 ,&sysctl__net_inet_raw_pcblist
561 ,&sysctl__net_inet_tcp_pcblist
562 ,&sysctl__net_inet_udp_pcblist
563 ,&sysctl__net_local_dgram_pcblist
564 ,&sysctl__net_local_stream_pcblist
565 ,&sysctl__sysctl_debug
566 ,&sysctl__sysctl_name2oid
567 ,&sysctl__net_inet_icmp_stats
568 ,&sysctl__net_inet_igmp_stats
569 ,&sysctl__net_inet_ip_stats
570 ,&sysctl__net_inet_tcp_stats
571 ,&sysctl__net_inet_udp_stats
572#if INET6
573 ,&sysctl__net_inet6
574 ,&sysctl__net_inet6_ip6
575 ,&sysctl__net_inet6_icmp6
9bccf70c 576 ,&sysctl__net_inet6_ip6_stats
1c79356b
A
577 ,&sysctl__net_inet6_ip6_forwarding
578 ,&sysctl__net_inet6_ip6_redirect
579 ,&sysctl__net_inet6_ip6_hlim
580 ,&sysctl__net_inet6_ip6_maxfragpackets
581 ,&sysctl__net_inet6_ip6_accept_rtadv
582 ,&sysctl__net_inet6_ip6_keepfaith
583 ,&sysctl__net_inet6_ip6_log_interval
584 ,&sysctl__net_inet6_ip6_hdrnestlimit
585 ,&sysctl__net_inet6_ip6_dad_count
586 ,&sysctl__net_inet6_ip6_auto_flowlabel
587 ,&sysctl__net_inet6_ip6_defmcasthlim
588 ,&sysctl__net_inet6_ip6_gifhlim
589 ,&sysctl__net_inet6_ip6_kame_version
590 ,&sysctl__net_inet6_ip6_use_deprecated
591 ,&sysctl__net_inet6_ip6_rr_prune
9bccf70c
A
592 ,&sysctl__net_inet6_ip6_use_tempaddr
593 ,&sysctl__net_inet6_ip6_v6only
594 ,&sysctl__net_inet6_ip6_auto_linklocal
595 ,&sysctl__net_inet6_ip6_rip6stats
596 ,&sysctl__net_inet6_ip6_rtexpire
597 ,&sysctl__net_inet6_ip6_rtminexpire
598 ,&sysctl__net_inet6_ip6_rtmaxcache
599 ,&sysctl__net_inet6_ip6_temppltime
600 ,&sysctl__net_inet6_ip6_tempvltime
601 ,&sysctl__net_inet6_ip6_auto_on
1c79356b
A
602 ,&sysctl__net_inet6_icmp6_rediraccept
603 ,&sysctl__net_inet6_icmp6_redirtimeout
1c79356b
A
604 ,&sysctl__net_inet6_icmp6_nd6_prune
605 ,&sysctl__net_inet6_icmp6_nd6_delay
606 ,&sysctl__net_inet6_icmp6_nd6_umaxtries
607 ,&sysctl__net_inet6_icmp6_nd6_mmaxtries
608 ,&sysctl__net_inet6_icmp6_nd6_useloopback
609 ,&sysctl__net_inet6_icmp6_nodeinfo
9bccf70c
A
610 ,&sysctl__net_inet6_icmp6_stats
611 ,&sysctl__net_inet6_icmp6_errppslimit
612 ,&sysctl__net_inet6_icmp6_nd6_maxnudhint
613 ,&sysctl__net_inet6_icmp6_nd6_debug
614 ,&sysctl__net_inet_tcp_v6mssdflt
1c79356b
A
615#if IPV6FIREWALL
616 ,&sysctl__net_inet6_ip6_fw
617 ,&sysctl__net_inet6_ip6_fw_debug
618 ,&sysctl__net_inet6_ip6_fw_verbose
619 ,&sysctl__net_inet6_ip6_fw_verbose_limit
620#endif
621#if IPSEC
9bccf70c
A
622 ,&sysctl__net_inet6_ipsec6
623 ,&sysctl__net_inet6_ipsec6_stats
1c79356b
A
624 ,&sysctl__net_inet6_ipsec6_def_policy
625 ,&sysctl__net_inet6_ipsec6_esp_trans_deflev
626 ,&sysctl__net_inet6_ipsec6_esp_net_deflev
627 ,&sysctl__net_inet6_ipsec6_ah_trans_deflev
628 ,&sysctl__net_inet6_ipsec6_ah_net_deflev
1c79356b
A
629 ,&sysctl__net_inet6_ipsec6_ecn
630 ,&sysctl__net_inet6_ipsec6_debug
9bccf70c 631 ,&sysctl__net_inet6_ipsec6_esp_randpad
1c79356b
A
632#endif
633#endif
634#if IPSEC
635 ,&sysctl__net_key
636 ,&sysctl__net_key_debug
637 ,&sysctl__net_key_spi_trycnt
638 ,&sysctl__net_key_spi_minval
639 ,&sysctl__net_key_spi_maxval
640 ,&sysctl__net_key_int_random
641 ,&sysctl__net_key_larval_lifetime
642 ,&sysctl__net_key_blockacq_count
643 ,&sysctl__net_key_blockacq_lifetime
9bccf70c
A
644 ,&sysctl__net_key_esp_keymin
645 ,&sysctl__net_key_ah_keymin
1c79356b 646 ,&sysctl__net_inet_ipsec
9bccf70c 647 ,&sysctl__net_inet_ipsec_stats
1c79356b
A
648 ,&sysctl__net_inet_ipsec_def_policy
649 ,&sysctl__net_inet_ipsec_esp_trans_deflev
650 ,&sysctl__net_inet_ipsec_esp_net_deflev
651 ,&sysctl__net_inet_ipsec_ah_trans_deflev
652 ,&sysctl__net_inet_ipsec_ah_net_deflev
1c79356b
A
653 ,&sysctl__net_inet_ipsec_ah_cleartos
654 ,&sysctl__net_inet_ipsec_ah_offsetmask
655 ,&sysctl__net_inet_ipsec_dfbit
656 ,&sysctl__net_inet_ipsec_ecn
657 ,&sysctl__net_inet_ipsec_debug
9bccf70c
A
658 ,&sysctl__net_inet_ipsec_esp_randpad
659 ,&sysctl__net_inet_ipsec_bypass
1c79356b
A
660#endif
661 ,(struct sysctl_oid *) 0
662};
663