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