]>
Commit | Line | Data |
---|---|---|
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 | ||
28 | extern struct sysctl_oid sysctl__debug_bpf_bufsize; | |
29 | ||
30 | #if TUN | |
31 | extern struct sysctl_oid sysctl__debug_if_tun_debug; | |
32 | #endif | |
33 | ||
34 | #if COMPAT_43 | |
35 | #ifndef NeXT | |
36 | extern struct sysctl_oid sysctl__debug_ttydebug; | |
37 | #endif | |
38 | #endif | |
39 | ||
40 | extern struct sysctl_oid sysctl__kern_dummy; | |
41 | extern struct sysctl_oid sysctl__kern_ipc_maxsockbuf; | |
42 | extern struct sysctl_oid sysctl__kern_ipc_nmbclusters; | |
43 | extern struct sysctl_oid sysctl__kern_ipc_sockbuf_waste_factor; | |
44 | extern struct sysctl_oid sysctl__kern_ipc_somaxconn; | |
45 | extern struct sysctl_oid sysctl__kern_ipc_sosendminchain; | |
46 | extern struct sysctl_oid sysctl__kern_ipc_maxsockets; | |
47 | extern struct sysctl_oid sysctl__net_inet_icmp_icmplim; | |
48 | extern struct sysctl_oid sysctl__net_inet_icmp_maskrepl; | |
49 | extern struct sysctl_oid sysctl__net_inet_icmp_bmcastecho; | |
50 | extern struct sysctl_oid sysctl__net_inet_ip_accept_sourceroute; | |
51 | ||
52 | #if IPCTL_DEFMTU | |
53 | extern struct sysctl_oid sysctl__net_inet_ip_mtu; | |
54 | #endif | |
55 | ||
56 | extern struct sysctl_oid sysctl__net_inet_ip_ttl; | |
57 | extern struct sysctl_oid sysctl__net_inet_ip_fastforwarding; | |
58 | extern struct sysctl_oid sysctl__net_inet_ip_forwarding; | |
59 | extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_drops; | |
60 | extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_maxlen; | |
61 | extern struct sysctl_oid sysctl__net_inet_ip_rtexpire; | |
62 | extern struct sysctl_oid sysctl__net_inet_ip_rtmaxcache; | |
63 | extern struct sysctl_oid sysctl__net_inet_ip_rtminexpire; | |
64 | extern struct sysctl_oid sysctl__net_inet_ip_redirect; | |
65 | extern struct sysctl_oid sysctl__net_inet_ip_sourceroute; | |
66 | extern struct sysctl_oid sysctl__net_inet_ip_subnets_are_local; | |
67 | extern struct sysctl_oid sysctl__net_inet_ip_keepfaith; | |
68 | #if NGIF > 0 | |
69 | extern struct sysctl_oid sysctl__net_inet_ip_gifttl; | |
70 | #endif | |
71 | ||
72 | #if DUMMYNET | |
73 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_calls; | |
74 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_debug; | |
75 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_idle; | |
76 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet; | |
77 | #endif | |
78 | ||
79 | #if IPFIREWALL && !IPFIREWALL_KEXT | |
80 | extern struct sysctl_oid sysctl__net_inet_ip_fw_debug; | |
81 | extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose; | |
82 | extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose_limit; | |
83 | extern struct sysctl_oid sysctl__net_inet_ip_fw_one_pass; | |
84 | extern struct sysctl_oid sysctl__net_inet_ip_fw; | |
85 | #endif | |
86 | ||
87 | extern struct sysctl_oid sysctl__net_inet_raw_maxdgram; | |
88 | extern struct sysctl_oid sysctl__net_inet_raw_recvspace; | |
89 | extern struct sysctl_oid sysctl__net_inet_tcp_always_keepalive; | |
90 | extern struct sysctl_oid sysctl__net_inet_tcp_delayed_ack; | |
91 | extern struct sysctl_oid sysctl__net_inet_tcp_log_in_vain; | |
92 | extern struct sysctl_oid sysctl__net_inet_tcp_pcbcount; | |
93 | extern struct sysctl_oid sysctl__net_inet_tcp_rfc1323; | |
94 | extern struct sysctl_oid sysctl__net_inet_tcp_rfc1644; | |
95 | extern struct sysctl_oid sysctl__net_inet_tcp_keepidle; | |
96 | extern struct sysctl_oid sysctl__net_inet_tcp_keepinit; | |
97 | extern struct sysctl_oid sysctl__net_inet_tcp_keepintvl; | |
98 | extern struct sysctl_oid sysctl__net_inet_tcp_mssdflt; | |
99 | extern struct sysctl_oid sysctl__net_inet_tcp_recvspace; | |
100 | extern struct sysctl_oid sysctl__net_inet_tcp_rttdflt; | |
101 | extern struct sysctl_oid sysctl__net_inet_tcp_sendspace; | |
102 | extern struct sysctl_oid sysctl__net_inet_tcp_v6mssdflt; | |
103 | extern struct sysctl_oid sysctl__net_inet_udp_log_in_vain; | |
104 | extern struct sysctl_oid sysctl__net_inet_udp_checksum; | |
105 | extern struct sysctl_oid sysctl__net_inet_udp_maxdgram; | |
106 | extern struct sysctl_oid sysctl__net_inet_udp_recvspace; | |
107 | ||
108 | #if NETAT | |
109 | extern struct sysctl_oid sysctl__net_appletalk_debug; | |
110 | extern struct sysctl_oid sysctl__net_appletalk_routermix; | |
111 | extern struct sysctl_oid sysctl__net_appletalk_ddpstats; | |
112 | #endif /* NETAT */ | |
113 | ||
114 | #if BRIDGE | |
115 | extern struct sysctl_oid sysctl__net_link_ether_bdgfwc; | |
116 | extern struct sysctl_oid sysctl__net_link_ether_bdgfwt; | |
117 | extern struct sysctl_oid sysctl__net_link_ether_bdginc; | |
118 | extern struct sysctl_oid sysctl__net_link_ether_bdgint; | |
119 | extern struct sysctl_oid sysctl__net_link_ether_bridge_ipfw; | |
120 | extern struct sysctl_oid sysctl__net_link_ethe_bdgstats; | |
121 | #endif | |
122 | ||
123 | extern struct sysctl_oid sysctl__net_link_ether_inet_host_down_time; | |
124 | extern struct sysctl_oid sysctl__net_link_ether_inet_max_age; | |
125 | extern struct sysctl_oid sysctl__net_link_ether_inet_maxtries; | |
126 | extern struct sysctl_oid sysctl__net_link_ether_inet_proxyall; | |
127 | extern struct sysctl_oid sysctl__net_link_ether_inet_prune_intvl; | |
128 | extern struct sysctl_oid sysctl__net_link_ether_inet_useloopback; | |
129 | ||
130 | #if NETMIBS | |
131 | extern struct sysctl_oid sysctl__net_link_generic_system_ifcount; | |
132 | extern struct sysctl_oid sysctl__net_link_generic; | |
133 | extern struct sysctl_oid sysctl__net_link_generic_ifdata; | |
134 | extern struct sysctl_oid sysctl__net_link_generic_system; | |
135 | #endif | |
136 | ||
137 | #if VLAN | |
138 | extern struct sysctl_oid sysctl__net_link_vlan_link_proto; | |
139 | extern struct sysctl_oid sysctl__net_link_vlan; | |
140 | extern struct sysctl_oid sysctl__net_link_vlan_link; | |
141 | #endif | |
142 | ||
143 | extern struct sysctl_oid sysctl__net_local_inflight; | |
144 | extern struct sysctl_oid sysctl__net_local_dgram_maxdgram; | |
145 | extern struct sysctl_oid sysctl__net_local_dgram_recvspace; | |
146 | extern struct sysctl_oid sysctl__net_local_stream_recvspace; | |
147 | extern struct sysctl_oid sysctl__net_local_stream_sendspace; | |
148 | ||
149 | #if 0 | |
150 | extern struct sysctl_oid sysctl__vfs_nfs_nfs_privport; | |
151 | extern struct sysctl_oid sysctl__vfs_nfs_async; | |
152 | extern struct sysctl_oid sysctl__vfs_nfs_debug; | |
153 | extern struct sysctl_oid sysctl__vfs_nfs_defect; | |
154 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_valid; | |
155 | extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay; | |
156 | extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay_v3; | |
157 | extern struct sysctl_oid sysctl__vfs_nfs; | |
158 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootaddr; | |
159 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_swapaddr; | |
160 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootpath; | |
161 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_swappath; | |
162 | extern struct sysctl_oid sysctl__vfs_nfs_nfsstats; | |
163 | #endif | |
164 | ||
165 | extern struct sysctl_oid sysctl__kern_ipc; | |
166 | extern struct sysctl_oid sysctl__net_inet; | |
167 | ||
168 | #if NETAT | |
169 | extern struct sysctl_oid sysctl__net_appletalk; | |
170 | #endif /* NETAT */ | |
171 | ||
172 | extern struct sysctl_oid sysctl__net_link; | |
173 | extern struct sysctl_oid sysctl__net_local; | |
174 | extern struct sysctl_oid sysctl__net_routetable; | |
175 | ||
176 | #if IPDIVERT | |
177 | extern struct sysctl_oid sysctl__net_inet_div; | |
178 | #endif | |
179 | ||
180 | extern struct sysctl_oid sysctl__net_inet_icmp; | |
181 | extern struct sysctl_oid sysctl__net_inet_igmp; | |
182 | extern struct sysctl_oid sysctl__net_inet_ip; | |
183 | extern struct sysctl_oid sysctl__net_inet_raw; | |
184 | extern struct sysctl_oid sysctl__net_inet_tcp; | |
185 | extern struct sysctl_oid sysctl__net_inet_udp; | |
186 | extern struct sysctl_oid sysctl__net_inet_ip_portrange; | |
187 | ||
188 | extern struct sysctl_oid sysctl__net_link_ether; | |
189 | extern struct sysctl_oid sysctl__net_link_ether_inet; | |
190 | ||
191 | extern struct sysctl_oid sysctl__net_local_dgram; | |
192 | extern struct sysctl_oid sysctl__net_local_stream; | |
193 | extern struct sysctl_oid sysctl__sysctl_name; | |
194 | extern struct sysctl_oid sysctl__sysctl_next; | |
195 | extern struct sysctl_oid sysctl__sysctl_oidfmt; | |
196 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_first; | |
197 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_hifirst; | |
198 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_hilast; | |
199 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_last; | |
200 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowfirst; | |
201 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowlast; | |
202 | extern struct sysctl_oid sysctl__net_inet_raw_pcblist; | |
203 | extern struct sysctl_oid sysctl__net_inet_tcp_pcblist; | |
204 | extern struct sysctl_oid sysctl__net_inet_udp_pcblist; | |
205 | extern struct sysctl_oid sysctl__net_link_ether_bridge; | |
206 | extern struct sysctl_oid sysctl__net_local_dgram_pcblist; | |
207 | extern struct sysctl_oid sysctl__net_local_stream_pcblist; | |
208 | extern struct sysctl_oid sysctl__sysctl_debug; | |
209 | extern struct sysctl_oid sysctl__sysctl_name2oid; | |
210 | extern struct sysctl_oid sysctl__net_inet_icmp_stats; | |
211 | extern struct sysctl_oid sysctl__net_inet_igmp_stats; | |
212 | extern struct sysctl_oid sysctl__net_inet_ip_stats; | |
213 | extern struct sysctl_oid sysctl__net_inet_tcp_stats; | |
214 | extern struct sysctl_oid sysctl__net_inet_udp_stats; | |
215 | extern struct sysctl_oid sysctl__kern; | |
216 | extern struct sysctl_oid sysctl__hw; | |
217 | extern struct sysctl_oid sysctl__net; | |
218 | extern struct sysctl_oid sysctl__debug; | |
219 | extern struct sysctl_oid sysctl__vfs; | |
220 | extern struct sysctl_oid sysctl__sysctl; | |
221 | ||
222 | #if INET6 | |
223 | extern struct sysctl_oid sysctl__net_inet6; | |
224 | extern struct sysctl_oid sysctl__net_inet6_ip6; | |
225 | extern struct sysctl_oid sysctl__net_inet6_icmp6; | |
226 | extern struct sysctl_oid sysctl__net_inet6_ip6_forwarding; | |
227 | extern struct sysctl_oid sysctl__net_inet6_ip6_redirect; | |
228 | extern struct sysctl_oid sysctl__net_inet6_ip6_hlim; | |
229 | extern struct sysctl_oid sysctl__net_inet6_ip6_maxfragpackets; | |
230 | extern struct sysctl_oid sysctl__net_inet6_ip6_accept_rtadv; | |
231 | extern struct sysctl_oid sysctl__net_inet6_ip6_keepfaith; | |
232 | extern struct sysctl_oid sysctl__net_inet6_ip6_log_interval; | |
233 | extern struct sysctl_oid sysctl__net_inet6_ip6_hdrnestlimit; | |
234 | extern struct sysctl_oid sysctl__net_inet6_ip6_dad_count; | |
235 | extern struct sysctl_oid sysctl__net_inet6_ip6_auto_flowlabel; | |
236 | extern struct sysctl_oid sysctl__net_inet6_ip6_defmcasthlim; | |
237 | extern struct sysctl_oid sysctl__net_inet6_ip6_gifhlim; | |
238 | extern struct sysctl_oid sysctl__net_inet6_ip6_kame_version; | |
239 | extern struct sysctl_oid sysctl__net_inet6_ip6_use_deprecated; | |
240 | extern struct sysctl_oid sysctl__net_inet6_ip6_rr_prune; | |
241 | #if MAPPED_ADDR_ENABLED | |
242 | extern struct sysctl_oid sysctl__net_inet6_ip6_mapped_addr; | |
243 | #endif | |
244 | #if IPV6FIREWALL | |
245 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw; | |
246 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw_debug; | |
247 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose; | |
248 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose_limit; | |
249 | #endif | |
250 | extern struct sysctl_oid sysctl__net_inet6_icmp6_rediraccept; | |
251 | extern struct sysctl_oid sysctl__net_inet6_icmp6_redirtimeout; | |
252 | extern struct sysctl_oid sysctl__net_inet6_icmp6_errratelimit; | |
253 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_prune; | |
254 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_delay; | |
255 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_umaxtries; | |
256 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_mmaxtries; | |
257 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_useloopback; | |
258 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo; | |
259 | #if IPSEC | |
260 | extern struct sysctl_oid sysctl__net_inet6_ipsec6; | |
261 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_def_policy; | |
262 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_trans_deflev; | |
263 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_net_deflev; | |
264 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_trans_deflev; | |
265 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_net_deflev; | |
266 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_inbound_call_ike; | |
267 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_ecn; | |
268 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_debug; | |
269 | #endif | |
270 | #endif | |
271 | #if IPSEC | |
272 | extern struct sysctl_oid sysctl__net_inet_ipsec; | |
273 | extern struct sysctl_oid sysctl__net_inet_ipsec_def_policy; | |
274 | extern struct sysctl_oid sysctl__net_inet_ipsec_esp_trans_deflev; | |
275 | extern struct sysctl_oid sysctl__net_inet_ipsec_esp_net_deflev; | |
276 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_trans_deflev; | |
277 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_net_deflev; | |
278 | extern struct sysctl_oid sysctl__net_inet_ipsec_inbound_call_ike; | |
279 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_cleartos; | |
280 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_offsetmask; | |
281 | extern struct sysctl_oid sysctl__net_inet_ipsec_dfbit; | |
282 | extern struct sysctl_oid sysctl__net_inet_ipsec_ecn; | |
283 | extern struct sysctl_oid sysctl__net_inet_ipsec_debug; | |
284 | extern struct sysctl_oid sysctl__net_key; | |
285 | extern struct sysctl_oid sysctl__net_key_debug; | |
286 | extern struct sysctl_oid sysctl__net_key_spi_trycnt; | |
287 | extern struct sysctl_oid sysctl__net_key_spi_minval; | |
288 | extern struct sysctl_oid sysctl__net_key_spi_maxval; | |
289 | extern struct sysctl_oid sysctl__net_key_int_random; | |
290 | extern struct sysctl_oid sysctl__net_key_larval_lifetime; | |
291 | extern struct sysctl_oid sysctl__net_key_blockacq_count; | |
292 | extern struct sysctl_oid sysctl__net_key_blockacq_lifetime; | |
293 | #endif | |
294 | ||
295 | ||
296 | struct 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 |