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