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; | |
0b4e3aa0 A |
129 | extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_tx; |
130 | extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_rx; | |
1c79356b A |
131 | |
132 | #if NETMIBS | |
133 | extern struct sysctl_oid sysctl__net_link_generic_system_ifcount; | |
134 | extern struct sysctl_oid sysctl__net_link_generic; | |
135 | extern struct sysctl_oid sysctl__net_link_generic_ifdata; | |
136 | extern struct sysctl_oid sysctl__net_link_generic_system; | |
137 | #endif | |
138 | ||
139 | #if VLAN | |
140 | extern struct sysctl_oid sysctl__net_link_vlan_link_proto; | |
141 | extern struct sysctl_oid sysctl__net_link_vlan; | |
142 | extern struct sysctl_oid sysctl__net_link_vlan_link; | |
143 | #endif | |
144 | ||
145 | extern struct sysctl_oid sysctl__net_local_inflight; | |
146 | extern struct sysctl_oid sysctl__net_local_dgram_maxdgram; | |
147 | extern struct sysctl_oid sysctl__net_local_dgram_recvspace; | |
148 | extern struct sysctl_oid sysctl__net_local_stream_recvspace; | |
149 | extern struct sysctl_oid sysctl__net_local_stream_sendspace; | |
150 | ||
151 | #if 0 | |
152 | extern struct sysctl_oid sysctl__vfs_nfs_nfs_privport; | |
153 | extern struct sysctl_oid sysctl__vfs_nfs_async; | |
154 | extern struct sysctl_oid sysctl__vfs_nfs_debug; | |
155 | extern struct sysctl_oid sysctl__vfs_nfs_defect; | |
156 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_valid; | |
157 | extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay; | |
158 | extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay_v3; | |
159 | extern struct sysctl_oid sysctl__vfs_nfs; | |
160 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootaddr; | |
161 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_swapaddr; | |
162 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootpath; | |
163 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_swappath; | |
164 | extern struct sysctl_oid sysctl__vfs_nfs_nfsstats; | |
165 | #endif | |
166 | ||
167 | extern struct sysctl_oid sysctl__kern_ipc; | |
168 | extern struct sysctl_oid sysctl__net_inet; | |
169 | ||
170 | #if NETAT | |
171 | extern struct sysctl_oid sysctl__net_appletalk; | |
172 | #endif /* NETAT */ | |
173 | ||
174 | extern struct sysctl_oid sysctl__net_link; | |
175 | extern struct sysctl_oid sysctl__net_local; | |
176 | extern struct sysctl_oid sysctl__net_routetable; | |
177 | ||
178 | #if IPDIVERT | |
179 | extern struct sysctl_oid sysctl__net_inet_div; | |
180 | #endif | |
181 | ||
182 | extern struct sysctl_oid sysctl__net_inet_icmp; | |
183 | extern struct sysctl_oid sysctl__net_inet_igmp; | |
184 | extern struct sysctl_oid sysctl__net_inet_ip; | |
185 | extern struct sysctl_oid sysctl__net_inet_raw; | |
186 | extern struct sysctl_oid sysctl__net_inet_tcp; | |
187 | extern struct sysctl_oid sysctl__net_inet_udp; | |
188 | extern struct sysctl_oid sysctl__net_inet_ip_portrange; | |
189 | ||
190 | extern struct sysctl_oid sysctl__net_link_ether; | |
191 | extern struct sysctl_oid sysctl__net_link_ether_inet; | |
192 | ||
193 | extern struct sysctl_oid sysctl__net_local_dgram; | |
194 | extern struct sysctl_oid sysctl__net_local_stream; | |
195 | extern struct sysctl_oid sysctl__sysctl_name; | |
196 | extern struct sysctl_oid sysctl__sysctl_next; | |
197 | extern struct sysctl_oid sysctl__sysctl_oidfmt; | |
198 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_first; | |
199 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_hifirst; | |
200 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_hilast; | |
201 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_last; | |
202 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowfirst; | |
203 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowlast; | |
204 | extern struct sysctl_oid sysctl__net_inet_raw_pcblist; | |
205 | extern struct sysctl_oid sysctl__net_inet_tcp_pcblist; | |
206 | extern struct sysctl_oid sysctl__net_inet_udp_pcblist; | |
207 | extern struct sysctl_oid sysctl__net_link_ether_bridge; | |
208 | extern struct sysctl_oid sysctl__net_local_dgram_pcblist; | |
209 | extern struct sysctl_oid sysctl__net_local_stream_pcblist; | |
210 | extern struct sysctl_oid sysctl__sysctl_debug; | |
211 | extern struct sysctl_oid sysctl__sysctl_name2oid; | |
212 | extern struct sysctl_oid sysctl__net_inet_icmp_stats; | |
213 | extern struct sysctl_oid sysctl__net_inet_igmp_stats; | |
214 | extern struct sysctl_oid sysctl__net_inet_ip_stats; | |
215 | extern struct sysctl_oid sysctl__net_inet_tcp_stats; | |
216 | extern struct sysctl_oid sysctl__net_inet_udp_stats; | |
217 | extern struct sysctl_oid sysctl__kern; | |
218 | extern struct sysctl_oid sysctl__hw; | |
219 | extern struct sysctl_oid sysctl__net; | |
220 | extern struct sysctl_oid sysctl__debug; | |
221 | extern struct sysctl_oid sysctl__vfs; | |
222 | extern struct sysctl_oid sysctl__sysctl; | |
223 | ||
224 | #if INET6 | |
225 | extern struct sysctl_oid sysctl__net_inet6; | |
226 | extern struct sysctl_oid sysctl__net_inet6_ip6; | |
227 | extern struct sysctl_oid sysctl__net_inet6_icmp6; | |
228 | extern struct sysctl_oid sysctl__net_inet6_ip6_forwarding; | |
229 | extern struct sysctl_oid sysctl__net_inet6_ip6_redirect; | |
230 | extern struct sysctl_oid sysctl__net_inet6_ip6_hlim; | |
231 | extern struct sysctl_oid sysctl__net_inet6_ip6_maxfragpackets; | |
232 | extern struct sysctl_oid sysctl__net_inet6_ip6_accept_rtadv; | |
233 | extern struct sysctl_oid sysctl__net_inet6_ip6_keepfaith; | |
234 | extern struct sysctl_oid sysctl__net_inet6_ip6_log_interval; | |
235 | extern struct sysctl_oid sysctl__net_inet6_ip6_hdrnestlimit; | |
236 | extern struct sysctl_oid sysctl__net_inet6_ip6_dad_count; | |
237 | extern struct sysctl_oid sysctl__net_inet6_ip6_auto_flowlabel; | |
238 | extern struct sysctl_oid sysctl__net_inet6_ip6_defmcasthlim; | |
239 | extern struct sysctl_oid sysctl__net_inet6_ip6_gifhlim; | |
240 | extern struct sysctl_oid sysctl__net_inet6_ip6_kame_version; | |
241 | extern struct sysctl_oid sysctl__net_inet6_ip6_use_deprecated; | |
242 | extern struct sysctl_oid sysctl__net_inet6_ip6_rr_prune; | |
243 | #if MAPPED_ADDR_ENABLED | |
244 | extern struct sysctl_oid sysctl__net_inet6_ip6_mapped_addr; | |
245 | #endif | |
246 | #if IPV6FIREWALL | |
247 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw; | |
248 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw_debug; | |
249 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose; | |
250 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose_limit; | |
251 | #endif | |
252 | extern struct sysctl_oid sysctl__net_inet6_icmp6_rediraccept; | |
253 | extern struct sysctl_oid sysctl__net_inet6_icmp6_redirtimeout; | |
254 | extern struct sysctl_oid sysctl__net_inet6_icmp6_errratelimit; | |
255 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_prune; | |
256 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_delay; | |
257 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_umaxtries; | |
258 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_mmaxtries; | |
259 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_useloopback; | |
260 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo; | |
261 | #if IPSEC | |
262 | extern struct sysctl_oid sysctl__net_inet6_ipsec6; | |
263 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_def_policy; | |
264 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_trans_deflev; | |
265 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_net_deflev; | |
266 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_trans_deflev; | |
267 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_net_deflev; | |
268 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_inbound_call_ike; | |
269 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_ecn; | |
270 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_debug; | |
271 | #endif | |
272 | #endif | |
273 | #if IPSEC | |
274 | extern struct sysctl_oid sysctl__net_inet_ipsec; | |
275 | extern struct sysctl_oid sysctl__net_inet_ipsec_def_policy; | |
276 | extern struct sysctl_oid sysctl__net_inet_ipsec_esp_trans_deflev; | |
277 | extern struct sysctl_oid sysctl__net_inet_ipsec_esp_net_deflev; | |
278 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_trans_deflev; | |
279 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_net_deflev; | |
280 | extern struct sysctl_oid sysctl__net_inet_ipsec_inbound_call_ike; | |
281 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_cleartos; | |
282 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_offsetmask; | |
283 | extern struct sysctl_oid sysctl__net_inet_ipsec_dfbit; | |
284 | extern struct sysctl_oid sysctl__net_inet_ipsec_ecn; | |
285 | extern struct sysctl_oid sysctl__net_inet_ipsec_debug; | |
286 | extern struct sysctl_oid sysctl__net_key; | |
287 | extern struct sysctl_oid sysctl__net_key_debug; | |
288 | extern struct sysctl_oid sysctl__net_key_spi_trycnt; | |
289 | extern struct sysctl_oid sysctl__net_key_spi_minval; | |
290 | extern struct sysctl_oid sysctl__net_key_spi_maxval; | |
291 | extern struct sysctl_oid sysctl__net_key_int_random; | |
292 | extern struct sysctl_oid sysctl__net_key_larval_lifetime; | |
293 | extern struct sysctl_oid sysctl__net_key_blockacq_count; | |
294 | extern struct sysctl_oid sysctl__net_key_blockacq_lifetime; | |
295 | #endif | |
296 | ||
297 | ||
298 | struct 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 |