xnu-201.19.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 *
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.
11 *
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
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
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.
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;
29
30#if TUN
31extern struct sysctl_oid sysctl__debug_if_tun_debug;
32#endif
33
34#if COMPAT_43
35#ifndef NeXT
36extern struct sysctl_oid sysctl__debug_ttydebug;
37#endif
38#endif
39
40extern struct sysctl_oid sysctl__kern_dummy;
41extern struct sysctl_oid sysctl__kern_ipc_maxsockbuf;
42extern struct sysctl_oid sysctl__kern_ipc_nmbclusters;
43extern struct sysctl_oid sysctl__kern_ipc_sockbuf_waste_factor;
44extern struct sysctl_oid sysctl__kern_ipc_somaxconn;
45extern struct sysctl_oid sysctl__kern_ipc_sosendminchain;
46extern struct sysctl_oid sysctl__kern_ipc_maxsockets;
47extern struct sysctl_oid sysctl__net_inet_icmp_icmplim;
48extern struct sysctl_oid sysctl__net_inet_icmp_maskrepl;
49extern struct sysctl_oid sysctl__net_inet_icmp_bmcastecho;
50extern struct sysctl_oid sysctl__net_inet_ip_accept_sourceroute;
51
52#if IPCTL_DEFMTU
53extern struct sysctl_oid sysctl__net_inet_ip_mtu;
54#endif
55
56extern struct sysctl_oid sysctl__net_inet_ip_ttl;
57extern struct sysctl_oid sysctl__net_inet_ip_fastforwarding;
58extern struct sysctl_oid sysctl__net_inet_ip_forwarding;
59extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_drops;
60extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_maxlen;
61extern struct sysctl_oid sysctl__net_inet_ip_rtexpire;
62extern struct sysctl_oid sysctl__net_inet_ip_rtmaxcache;
63extern struct sysctl_oid sysctl__net_inet_ip_rtminexpire;
64extern struct sysctl_oid sysctl__net_inet_ip_redirect;
65extern struct sysctl_oid sysctl__net_inet_ip_sourceroute;
66extern struct sysctl_oid sysctl__net_inet_ip_subnets_are_local;
67extern struct sysctl_oid sysctl__net_inet_ip_keepfaith;
68#if NGIF > 0
69extern struct sysctl_oid sysctl__net_inet_ip_gifttl;
70#endif
71
72#if DUMMYNET
73extern struct sysctl_oid sysctl__net_inet_ip_dummynet_calls;
74extern struct sysctl_oid sysctl__net_inet_ip_dummynet_debug;
75extern struct sysctl_oid sysctl__net_inet_ip_dummynet_idle;
76extern struct sysctl_oid sysctl__net_inet_ip_dummynet;
77#endif
78
79#if IPFIREWALL && !IPFIREWALL_KEXT
80extern struct sysctl_oid sysctl__net_inet_ip_fw_debug;
81extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose;
82extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose_limit;
83extern struct sysctl_oid sysctl__net_inet_ip_fw_one_pass;
84extern struct sysctl_oid sysctl__net_inet_ip_fw;
85#endif
86
87extern struct sysctl_oid sysctl__net_inet_raw_maxdgram;
88extern struct sysctl_oid sysctl__net_inet_raw_recvspace;
89extern struct sysctl_oid sysctl__net_inet_tcp_always_keepalive;
90extern struct sysctl_oid sysctl__net_inet_tcp_delayed_ack;
91extern struct sysctl_oid sysctl__net_inet_tcp_log_in_vain;
92extern struct sysctl_oid sysctl__net_inet_tcp_pcbcount;
93extern struct sysctl_oid sysctl__net_inet_tcp_rfc1323;
94extern struct sysctl_oid sysctl__net_inet_tcp_rfc1644;
95extern struct sysctl_oid sysctl__net_inet_tcp_keepidle;
96extern struct sysctl_oid sysctl__net_inet_tcp_keepinit;
97extern struct sysctl_oid sysctl__net_inet_tcp_keepintvl;
98extern struct sysctl_oid sysctl__net_inet_tcp_mssdflt;
99extern struct sysctl_oid sysctl__net_inet_tcp_recvspace;
100extern struct sysctl_oid sysctl__net_inet_tcp_rttdflt;
101extern struct sysctl_oid sysctl__net_inet_tcp_sendspace;
102extern struct sysctl_oid sysctl__net_inet_tcp_v6mssdflt;
103extern struct sysctl_oid sysctl__net_inet_udp_log_in_vain;
104extern struct sysctl_oid sysctl__net_inet_udp_checksum;
105extern struct sysctl_oid sysctl__net_inet_udp_maxdgram;
106extern struct sysctl_oid sysctl__net_inet_udp_recvspace;
107
108#if NETAT
109extern struct sysctl_oid sysctl__net_appletalk_debug;
110extern struct sysctl_oid sysctl__net_appletalk_routermix;
111extern struct sysctl_oid sysctl__net_appletalk_ddpstats;
112#endif /* NETAT */
113
114#if BRIDGE
115extern struct sysctl_oid sysctl__net_link_ether_bdgfwc;
116extern struct sysctl_oid sysctl__net_link_ether_bdgfwt;
117extern struct sysctl_oid sysctl__net_link_ether_bdginc;
118extern struct sysctl_oid sysctl__net_link_ether_bdgint;
119extern struct sysctl_oid sysctl__net_link_ether_bridge_ipfw;
120extern struct sysctl_oid sysctl__net_link_ethe_bdgstats;
121#endif
122
123extern struct sysctl_oid sysctl__net_link_ether_inet_host_down_time;
124extern struct sysctl_oid sysctl__net_link_ether_inet_max_age;
125extern struct sysctl_oid sysctl__net_link_ether_inet_maxtries;
126extern struct sysctl_oid sysctl__net_link_ether_inet_proxyall;
127extern struct sysctl_oid sysctl__net_link_ether_inet_prune_intvl;
128extern struct sysctl_oid sysctl__net_link_ether_inet_useloopback;
0b4e3aa0
A
129extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_tx;
130extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_rx;
1c79356b
A
131
132#if NETMIBS
133extern struct sysctl_oid sysctl__net_link_generic_system_ifcount;
134extern struct sysctl_oid sysctl__net_link_generic;
135extern struct sysctl_oid sysctl__net_link_generic_ifdata;
136extern struct sysctl_oid sysctl__net_link_generic_system;
137#endif
138
139#if VLAN
140extern struct sysctl_oid sysctl__net_link_vlan_link_proto;
141extern struct sysctl_oid sysctl__net_link_vlan;
142extern struct sysctl_oid sysctl__net_link_vlan_link;
143#endif
144
145extern struct sysctl_oid sysctl__net_local_inflight;
146extern struct sysctl_oid sysctl__net_local_dgram_maxdgram;
147extern struct sysctl_oid sysctl__net_local_dgram_recvspace;
148extern struct sysctl_oid sysctl__net_local_stream_recvspace;
149extern struct sysctl_oid sysctl__net_local_stream_sendspace;
150
151#if 0
152extern struct sysctl_oid sysctl__vfs_nfs_nfs_privport;
153extern struct sysctl_oid sysctl__vfs_nfs_async;
154extern struct sysctl_oid sysctl__vfs_nfs_debug;
155extern struct sysctl_oid sysctl__vfs_nfs_defect;
156extern struct sysctl_oid sysctl__vfs_nfs_diskless_valid;
157extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay;
158extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay_v3;
159extern struct sysctl_oid sysctl__vfs_nfs;
160extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootaddr;
161extern struct sysctl_oid sysctl__vfs_nfs_diskless_swapaddr;
162extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootpath;
163extern struct sysctl_oid sysctl__vfs_nfs_diskless_swappath;
164extern struct sysctl_oid sysctl__vfs_nfs_nfsstats;
165#endif
166
167extern struct sysctl_oid sysctl__kern_ipc;
168extern struct sysctl_oid sysctl__net_inet;
169
170#if NETAT
171extern struct sysctl_oid sysctl__net_appletalk;
172#endif /* NETAT */
173
174extern struct sysctl_oid sysctl__net_link;
175extern struct sysctl_oid sysctl__net_local;
176extern struct sysctl_oid sysctl__net_routetable;
177
178#if IPDIVERT
179extern struct sysctl_oid sysctl__net_inet_div;
180#endif
181
182extern struct sysctl_oid sysctl__net_inet_icmp;
183extern struct sysctl_oid sysctl__net_inet_igmp;
184extern struct sysctl_oid sysctl__net_inet_ip;
185extern struct sysctl_oid sysctl__net_inet_raw;
186extern struct sysctl_oid sysctl__net_inet_tcp;
187extern struct sysctl_oid sysctl__net_inet_udp;
188extern struct sysctl_oid sysctl__net_inet_ip_portrange;
189
190extern struct sysctl_oid sysctl__net_link_ether;
191extern struct sysctl_oid sysctl__net_link_ether_inet;
192
193extern struct sysctl_oid sysctl__net_local_dgram;
194extern struct sysctl_oid sysctl__net_local_stream;
195extern struct sysctl_oid sysctl__sysctl_name;
196extern struct sysctl_oid sysctl__sysctl_next;
197extern struct sysctl_oid sysctl__sysctl_oidfmt;
198extern struct sysctl_oid sysctl__net_inet_ip_portrange_first;
199extern struct sysctl_oid sysctl__net_inet_ip_portrange_hifirst;
200extern struct sysctl_oid sysctl__net_inet_ip_portrange_hilast;
201extern struct sysctl_oid sysctl__net_inet_ip_portrange_last;
202extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowfirst;
203extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowlast;
204extern struct sysctl_oid sysctl__net_inet_raw_pcblist;
205extern struct sysctl_oid sysctl__net_inet_tcp_pcblist;
206extern struct sysctl_oid sysctl__net_inet_udp_pcblist;
207extern struct sysctl_oid sysctl__net_link_ether_bridge;
208extern struct sysctl_oid sysctl__net_local_dgram_pcblist;
209extern struct sysctl_oid sysctl__net_local_stream_pcblist;
210extern struct sysctl_oid sysctl__sysctl_debug;
211extern struct sysctl_oid sysctl__sysctl_name2oid;
212extern struct sysctl_oid sysctl__net_inet_icmp_stats;
213extern struct sysctl_oid sysctl__net_inet_igmp_stats;
214extern struct sysctl_oid sysctl__net_inet_ip_stats;
215extern struct sysctl_oid sysctl__net_inet_tcp_stats;
216extern struct sysctl_oid sysctl__net_inet_udp_stats;
217extern struct sysctl_oid sysctl__kern;
218extern struct sysctl_oid sysctl__hw;
219extern struct sysctl_oid sysctl__net;
220extern struct sysctl_oid sysctl__debug;
221extern struct sysctl_oid sysctl__vfs;
222extern struct sysctl_oid sysctl__sysctl;
223
224#if INET6
225extern struct sysctl_oid sysctl__net_inet6;
226extern struct sysctl_oid sysctl__net_inet6_ip6;
227extern struct sysctl_oid sysctl__net_inet6_icmp6;
228extern struct sysctl_oid sysctl__net_inet6_ip6_forwarding;
229extern struct sysctl_oid sysctl__net_inet6_ip6_redirect;
230extern struct sysctl_oid sysctl__net_inet6_ip6_hlim;
231extern struct sysctl_oid sysctl__net_inet6_ip6_maxfragpackets;
232extern struct sysctl_oid sysctl__net_inet6_ip6_accept_rtadv;
233extern struct sysctl_oid sysctl__net_inet6_ip6_keepfaith;
234extern struct sysctl_oid sysctl__net_inet6_ip6_log_interval;
235extern struct sysctl_oid sysctl__net_inet6_ip6_hdrnestlimit;
236extern struct sysctl_oid sysctl__net_inet6_ip6_dad_count;
237extern struct sysctl_oid sysctl__net_inet6_ip6_auto_flowlabel;
238extern struct sysctl_oid sysctl__net_inet6_ip6_defmcasthlim;
239extern struct sysctl_oid sysctl__net_inet6_ip6_gifhlim;
240extern struct sysctl_oid sysctl__net_inet6_ip6_kame_version;
241extern struct sysctl_oid sysctl__net_inet6_ip6_use_deprecated;
242extern struct sysctl_oid sysctl__net_inet6_ip6_rr_prune;
243#if MAPPED_ADDR_ENABLED
244extern struct sysctl_oid sysctl__net_inet6_ip6_mapped_addr;
245#endif
246#if IPV6FIREWALL
247extern struct sysctl_oid sysctl__net_inet6_ip6_fw;
248extern struct sysctl_oid sysctl__net_inet6_ip6_fw_debug;
249extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose;
250extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose_limit;
251#endif
252extern struct sysctl_oid sysctl__net_inet6_icmp6_rediraccept;
253extern struct sysctl_oid sysctl__net_inet6_icmp6_redirtimeout;
254extern struct sysctl_oid sysctl__net_inet6_icmp6_errratelimit;
255extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_prune;
256extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_delay;
257extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_umaxtries;
258extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_mmaxtries;
259extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_useloopback;
260extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo;
261#if IPSEC
262extern struct sysctl_oid sysctl__net_inet6_ipsec6;
263extern struct sysctl_oid sysctl__net_inet6_ipsec6_def_policy;
264extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_trans_deflev;
265extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_net_deflev;
266extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_trans_deflev;
267extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_net_deflev;
268extern struct sysctl_oid sysctl__net_inet6_ipsec6_inbound_call_ike;
269extern struct sysctl_oid sysctl__net_inet6_ipsec6_ecn;
270extern struct sysctl_oid sysctl__net_inet6_ipsec6_debug;
271#endif
272#endif
273#if IPSEC
274extern struct sysctl_oid sysctl__net_inet_ipsec;
275extern struct sysctl_oid sysctl__net_inet_ipsec_def_policy;
276extern struct sysctl_oid sysctl__net_inet_ipsec_esp_trans_deflev;
277extern struct sysctl_oid sysctl__net_inet_ipsec_esp_net_deflev;
278extern struct sysctl_oid sysctl__net_inet_ipsec_ah_trans_deflev;
279extern struct sysctl_oid sysctl__net_inet_ipsec_ah_net_deflev;
280extern struct sysctl_oid sysctl__net_inet_ipsec_inbound_call_ike;
281extern struct sysctl_oid sysctl__net_inet_ipsec_ah_cleartos;
282extern struct sysctl_oid sysctl__net_inet_ipsec_ah_offsetmask;
283extern struct sysctl_oid sysctl__net_inet_ipsec_dfbit;
284extern struct sysctl_oid sysctl__net_inet_ipsec_ecn;
285extern struct sysctl_oid sysctl__net_inet_ipsec_debug;
286extern struct sysctl_oid sysctl__net_key;
287extern struct sysctl_oid sysctl__net_key_debug;
288extern struct sysctl_oid sysctl__net_key_spi_trycnt;
289extern struct sysctl_oid sysctl__net_key_spi_minval;
290extern struct sysctl_oid sysctl__net_key_spi_maxval;
291extern struct sysctl_oid sysctl__net_key_int_random;
292extern struct sysctl_oid sysctl__net_key_larval_lifetime;
293extern struct sysctl_oid sysctl__net_key_blockacq_count;
294extern struct sysctl_oid sysctl__net_key_blockacq_lifetime;
295#endif
296
297
298struct sysctl_oid *newsysctl_list[] =
299{
300 &sysctl__kern,
301 &sysctl__hw,
302 &sysctl__net,
303 &sysctl__debug,
304 &sysctl__vfs,
305 &sysctl__sysctl,
306 &sysctl__debug_bpf_bufsize
307#if TUN
308 ,&sysctl__debug_if_tun_debug
309#endif
310
311#if COMPAT_43
312#ifndef NeXT
313 ,&sysctl__debug_ttydebug
314#endif
315#endif
316
317 ,&sysctl__kern_dummy
318 ,&sysctl__kern_ipc_maxsockbuf
319 ,&sysctl__kern_ipc_nmbclusters
320 ,&sysctl__kern_ipc_sockbuf_waste_factor
321 ,&sysctl__kern_ipc_somaxconn
322 ,&sysctl__kern_ipc_sosendminchain
323 ,&sysctl__kern_ipc_maxsockets
324 ,&sysctl__net_inet_icmp_icmplim
325 ,&sysctl__net_inet_icmp_maskrepl
326 ,&sysctl__net_inet_icmp_bmcastecho
327 ,&sysctl__net_inet_ip_accept_sourceroute
328#if IPCTL_DEFMTU
329 ,&sysctl__net_inet_ip_mtu
330#endif
331 ,&sysctl__net_inet_ip_ttl
332 ,&sysctl__net_inet_ip_fastforwarding
333 ,&sysctl__net_inet_ip_forwarding
334 ,&sysctl__net_inet_ip_intr_queue_drops
335 ,&sysctl__net_inet_ip_intr_queue_maxlen
336 ,&sysctl__net_inet_ip_rtexpire
337 ,&sysctl__net_inet_ip_rtmaxcache
338 ,&sysctl__net_inet_ip_rtminexpire
339 ,&sysctl__net_inet_ip_redirect
340 ,&sysctl__net_inet_ip_sourceroute
341 ,&sysctl__net_inet_ip_subnets_are_local
342 ,&sysctl__net_inet_ip_keepfaith
343#if NGIF > 0
344 ,&sysctl__net_inet_ip_gifttl
345#endif
346#if DUMMYNET
347 ,&sysctl__net_inet_ip_dummynet_calls
348 ,&sysctl__net_inet_ip_dummynet_debug
349 ,&sysctl__net_inet_ip_dummynet_idle
350 ,&sysctl__net_inet_ip_dummynet
351#endif
352
353#if IPFIREWALL && !IPFIREWALL_KEXT
354 ,&sysctl__net_inet_ip_fw_debug
355 ,&sysctl__net_inet_ip_fw_verbose
356 ,&sysctl__net_inet_ip_fw_verbose_limit
357 ,&sysctl__net_inet_ip_fw_one_pass
358 ,&sysctl__net_inet_ip_fw
359#endif
360 ,&sysctl__net_inet_raw_maxdgram
361 ,&sysctl__net_inet_raw_recvspace
362 ,&sysctl__net_inet_tcp_always_keepalive
363 ,&sysctl__net_inet_tcp_delayed_ack
364 ,&sysctl__net_inet_tcp_log_in_vain
365 ,&sysctl__net_inet_tcp_pcbcount
366 ,&sysctl__net_inet_tcp_rfc1323
367 ,&sysctl__net_inet_tcp_rfc1644
368 ,&sysctl__net_inet_tcp_keepidle
369 ,&sysctl__net_inet_tcp_keepinit
370 ,&sysctl__net_inet_tcp_keepintvl
371 ,&sysctl__net_inet_tcp_mssdflt
372 ,&sysctl__net_inet_tcp_recvspace
373 ,&sysctl__net_inet_tcp_rttdflt
374 ,&sysctl__net_inet_tcp_sendspace
375 ,&sysctl__net_inet_tcp_v6mssdflt
376 ,&sysctl__net_inet_udp_log_in_vain
377 ,&sysctl__net_inet_udp_checksum
378 ,&sysctl__net_inet_udp_maxdgram
379 ,&sysctl__net_inet_udp_recvspace
380
381#if NETAT
382 ,&sysctl__net_appletalk_debug
383 ,&sysctl__net_appletalk_routermix
384 ,&sysctl__net_appletalk_ddpstats
385#endif /* NETAT */
386
387#if BRIDGE
388 ,&sysctl__net_link_ether_bdgfwc
389 ,&sysctl__net_link_ether_bdgfwt
390 ,&sysctl__net_link_ether_bdginc
391 ,&sysctl__net_link_ether_bdgint
392 ,&sysctl__net_link_ether_bridge_ipfw
393 ,&sysctl__net_link_ethe_bdgstats
394 ,&sysctl__net_link_ether_bridge
395#endif
396
397 ,&sysctl__net_link_ether_inet_host_down_time
398 ,&sysctl__net_link_ether_inet_max_age
399 ,&sysctl__net_link_ether_inet_maxtries
400 ,&sysctl__net_link_ether_inet_proxyall
401 ,&sysctl__net_link_ether_inet_prune_intvl
402 ,&sysctl__net_link_ether_inet_useloopback
0b4e3aa0
A
403 ,&sysctl__net_link_ether_inet_apple_hwcksum_tx
404 ,&sysctl__net_link_ether_inet_apple_hwcksum_rx
1c79356b
A
405#if NETMIBS
406 ,&sysctl__net_link_generic_system_ifcount
407 ,&sysctl__net_link_generic
408 ,&sysctl__net_link_generic_ifdata
409 ,&sysctl__net_link_generic_system
410#endif
411
412#if VLAN
413 ,&sysctl__net_link_vlan_link_proto
414 ,&sysctl__net_link_vlan
415 ,&sysctl__net_link_vlan_link
416#endif
417
418 ,&sysctl__net_local_inflight
419 ,&sysctl__net_local_dgram_maxdgram
420 ,&sysctl__net_local_dgram_recvspace
421 ,&sysctl__net_local_stream_recvspace
422 ,&sysctl__net_local_stream_sendspace
423#if 0
424 ,&sysctl__vfs_nfs_nfs_privport
425 ,&sysctl__vfs_nfs_async
426 ,&sysctl__vfs_nfs_debug
427 ,&sysctl__vfs_nfs_defect
428 ,&sysctl__vfs_nfs_diskless_valid
429 ,&sysctl__vfs_nfs_gatherdelay
430 ,&sysctl__vfs_nfs_gatherdelay_v3
431 ,&sysctl__vfs_nfs
432 ,&sysctl__vfs_nfs_diskless_rootaddr
433 ,&sysctl__vfs_nfs_diskless_swapaddr
434 ,&sysctl__vfs_nfs_diskless_rootpath
435 ,&sysctl__vfs_nfs_diskless_swappath
436 ,&sysctl__vfs_nfs_nfsstats
437#endif
438 ,&sysctl__kern_ipc
439 ,&sysctl__net_inet
440#if NETAT
441 ,&sysctl__net_appletalk
442#endif /* NETAT */
443 ,&sysctl__net_link
444 ,&sysctl__net_local
445 ,&sysctl__net_routetable
446#if IPDIVERT
447 ,&sysctl__net_inet_div
448#endif
449 ,&sysctl__net_inet_icmp
450 ,&sysctl__net_inet_igmp
451 ,&sysctl__net_inet_ip
452 ,&sysctl__net_inet_raw
453 ,&sysctl__net_inet_tcp
454 ,&sysctl__net_inet_udp
455 ,&sysctl__net_inet_ip_portrange
456 ,&sysctl__net_link_ether
457 ,&sysctl__net_link_ether_inet
458 ,&sysctl__net_local_dgram
459 ,&sysctl__net_local_stream
460 ,&sysctl__sysctl_name
461 ,&sysctl__sysctl_next
462 ,&sysctl__sysctl_oidfmt
463 ,&sysctl__net_inet_ip_portrange_first
464 ,&sysctl__net_inet_ip_portrange_hifirst
465 ,&sysctl__net_inet_ip_portrange_hilast
466 ,&sysctl__net_inet_ip_portrange_last
467 ,&sysctl__net_inet_ip_portrange_lowfirst
468 ,&sysctl__net_inet_ip_portrange_lowlast
469 ,&sysctl__net_inet_raw_pcblist
470 ,&sysctl__net_inet_tcp_pcblist
471 ,&sysctl__net_inet_udp_pcblist
472 ,&sysctl__net_local_dgram_pcblist
473 ,&sysctl__net_local_stream_pcblist
474 ,&sysctl__sysctl_debug
475 ,&sysctl__sysctl_name2oid
476 ,&sysctl__net_inet_icmp_stats
477 ,&sysctl__net_inet_igmp_stats
478 ,&sysctl__net_inet_ip_stats
479 ,&sysctl__net_inet_tcp_stats
480 ,&sysctl__net_inet_udp_stats
481#if INET6
482 ,&sysctl__net_inet6
483 ,&sysctl__net_inet6_ip6
484 ,&sysctl__net_inet6_icmp6
485 ,&sysctl__net_inet6_ip6_forwarding
486 ,&sysctl__net_inet6_ip6_redirect
487 ,&sysctl__net_inet6_ip6_hlim
488 ,&sysctl__net_inet6_ip6_maxfragpackets
489 ,&sysctl__net_inet6_ip6_accept_rtadv
490 ,&sysctl__net_inet6_ip6_keepfaith
491 ,&sysctl__net_inet6_ip6_log_interval
492 ,&sysctl__net_inet6_ip6_hdrnestlimit
493 ,&sysctl__net_inet6_ip6_dad_count
494 ,&sysctl__net_inet6_ip6_auto_flowlabel
495 ,&sysctl__net_inet6_ip6_defmcasthlim
496 ,&sysctl__net_inet6_ip6_gifhlim
497 ,&sysctl__net_inet6_ip6_kame_version
498 ,&sysctl__net_inet6_ip6_use_deprecated
499 ,&sysctl__net_inet6_ip6_rr_prune
500#if MAPPED_ADDR_ENABLED
501 ,&sysctl__net_inet6_ip6_mapped_addr
502#endif
503 ,&sysctl__net_inet6_icmp6_rediraccept
504 ,&sysctl__net_inet6_icmp6_redirtimeout
505 ,&sysctl__net_inet6_icmp6_errratelimit
506 ,&sysctl__net_inet6_icmp6_nd6_prune
507 ,&sysctl__net_inet6_icmp6_nd6_delay
508 ,&sysctl__net_inet6_icmp6_nd6_umaxtries
509 ,&sysctl__net_inet6_icmp6_nd6_mmaxtries
510 ,&sysctl__net_inet6_icmp6_nd6_useloopback
511 ,&sysctl__net_inet6_icmp6_nodeinfo
512#if IPV6FIREWALL
513 ,&sysctl__net_inet6_ip6_fw
514 ,&sysctl__net_inet6_ip6_fw_debug
515 ,&sysctl__net_inet6_ip6_fw_verbose
516 ,&sysctl__net_inet6_ip6_fw_verbose_limit
517#endif
518#if IPSEC
519 ,&sysctl__net_inet6_ipsec6
520 ,&sysctl__net_inet6_ipsec6_def_policy
521 ,&sysctl__net_inet6_ipsec6_esp_trans_deflev
522 ,&sysctl__net_inet6_ipsec6_esp_net_deflev
523 ,&sysctl__net_inet6_ipsec6_ah_trans_deflev
524 ,&sysctl__net_inet6_ipsec6_ah_net_deflev
525 ,&sysctl__net_inet6_ipsec6_inbound_call_ike
526 ,&sysctl__net_inet6_ipsec6_ecn
527 ,&sysctl__net_inet6_ipsec6_debug
528#endif
529#endif
530#if IPSEC
531 ,&sysctl__net_key
532 ,&sysctl__net_key_debug
533 ,&sysctl__net_key_spi_trycnt
534 ,&sysctl__net_key_spi_minval
535 ,&sysctl__net_key_spi_maxval
536 ,&sysctl__net_key_int_random
537 ,&sysctl__net_key_larval_lifetime
538 ,&sysctl__net_key_blockacq_count
539 ,&sysctl__net_key_blockacq_lifetime
540 ,&sysctl__net_inet_ipsec
541 ,&sysctl__net_inet_ipsec_def_policy
542 ,&sysctl__net_inet_ipsec_esp_trans_deflev
543 ,&sysctl__net_inet_ipsec_esp_net_deflev
544 ,&sysctl__net_inet_ipsec_ah_trans_deflev
545 ,&sysctl__net_inet_ipsec_ah_net_deflev
546 ,&sysctl__net_inet_ipsec_inbound_call_ike
547 ,&sysctl__net_inet_ipsec_ah_cleartos
548 ,&sysctl__net_inet_ipsec_ah_offsetmask
549 ,&sysctl__net_inet_ipsec_dfbit
550 ,&sysctl__net_inet_ipsec_ecn
551 ,&sysctl__net_inet_ipsec_debug
552#endif
553 ,(struct sysctl_oid *) 0
554};
555