]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | /* |
2 | * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
e5568f75 A |
6 | * The contents of this file constitute Original Code as defined in and |
7 | * are subject to the Apple Public Source License Version 1.1 (the | |
8 | * "License"). You may not use this file except in compliance with the | |
9 | * License. Please obtain a copy of the License at | |
10 | * http://www.apple.com/publicsource and read it before using this file. | |
1c79356b | 11 | * |
e5568f75 A |
12 | * This Original Code and all software distributed under the License are |
13 | * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
1c79356b A |
14 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
15 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
e5568f75 A |
16 | * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the |
17 | * License for the specific language governing rights and limitations | |
18 | * under the License. | |
1c79356b A |
19 | * |
20 | * @APPLE_LICENSE_HEADER_END@ | |
21 | */ | |
22 | ||
23 | #include <sys/param.h> | |
1c79356b A |
24 | #include <sys/kernel.h> |
25 | #include <sys/sysctl.h> | |
26 | ||
27 | extern struct sysctl_oid sysctl__debug_bpf_bufsize; | |
9bccf70c | 28 | extern struct sysctl_oid sysctl__debug_bpf_maxbufsize; |
91447636 A |
29 | extern struct sysctl_oid sysctl__debug_bpf_maxdevices; |
30 | extern struct sysctl_oid sysctl__debug_iokit; | |
1c79356b A |
31 | |
32 | #if TUN | |
33 | extern struct sysctl_oid sysctl__debug_if_tun_debug; | |
34 | #endif | |
35 | ||
91447636 | 36 | #if COMPAT_43_TTY |
1c79356b A |
37 | #ifndef NeXT |
38 | extern struct sysctl_oid sysctl__debug_ttydebug; | |
39 | #endif | |
40 | #endif | |
41 | ||
43866e37 A |
42 | extern struct sysctl_oid sysctl__hw_machine; |
43 | extern struct sysctl_oid sysctl__hw_model; | |
44 | extern struct sysctl_oid sysctl__hw_ncpu; | |
45 | extern struct sysctl_oid sysctl__hw_activecpu; | |
91447636 A |
46 | extern struct sysctl_oid sysctl__hw_physicalcpu; |
47 | extern struct sysctl_oid sysctl__hw_physicalcpu_max; | |
48 | extern struct sysctl_oid sysctl__hw_logicalcpu; | |
49 | extern struct sysctl_oid sysctl__hw_logicalcpu_max; | |
43866e37 A |
50 | extern struct sysctl_oid sysctl__hw_byteorder; |
51 | extern struct sysctl_oid sysctl__hw_cputype; | |
52 | extern struct sysctl_oid sysctl__hw_cpusubtype; | |
53 | extern struct sysctl_oid sysctl__hw_physmem; | |
54 | extern struct sysctl_oid sysctl__hw_usermem; | |
55 | extern struct sysctl_oid sysctl__hw_pagesize; | |
56 | extern struct sysctl_oid sysctl__hw_epoch; | |
57 | extern struct sysctl_oid sysctl__hw_vectorunit; | |
58 | extern struct sysctl_oid sysctl__hw_busfrequency; | |
59 | extern struct sysctl_oid sysctl__hw_busfrequency_min; | |
60 | extern struct sysctl_oid sysctl__hw_busfrequency_max; | |
61 | extern struct sysctl_oid sysctl__hw_cpufrequency; | |
62 | extern struct sysctl_oid sysctl__hw_cpufrequency_min; | |
63 | extern struct sysctl_oid sysctl__hw_cpufrequency_max; | |
64 | extern struct sysctl_oid sysctl__hw_cachelinesize; | |
65 | extern struct sysctl_oid sysctl__hw_l1icachesize; | |
66 | extern struct sysctl_oid sysctl__hw_l1dcachesize; | |
67 | extern struct sysctl_oid sysctl__hw_l2settings; | |
68 | extern struct sysctl_oid sysctl__hw_l2cachesize; | |
69 | extern struct sysctl_oid sysctl__hw_l3settings; | |
70 | extern struct sysctl_oid sysctl__hw_l3cachesize; | |
71 | extern struct sysctl_oid sysctl__hw_tbfrequency; | |
72 | extern struct sysctl_oid sysctl__hw_memsize; | |
73 | ||
74 | extern struct sysctl_oid sysctl__hw_optional; | |
75 | extern struct sysctl_oid sysctl__hw_optional_floatingpoint; | |
76 | ||
77 | extern struct sysctl_oid sysctl__hw_pagesize_compat; | |
78 | extern struct sysctl_oid sysctl__hw_busfrequency_compat; | |
79 | extern struct sysctl_oid sysctl__hw_cpufrequency_compat; | |
80 | extern struct sysctl_oid sysctl__hw_cachelinesize_compat; | |
81 | extern struct sysctl_oid sysctl__hw_l1icachesize_compat; | |
82 | extern struct sysctl_oid sysctl__hw_l1dcachesize_compat; | |
83 | extern struct sysctl_oid sysctl__hw_l2cachesize_compat; | |
84 | extern struct sysctl_oid sysctl__hw_l3cachesize_compat; | |
85 | extern struct sysctl_oid sysctl__hw_tbfrequency_compat; | |
86 | ||
9bccf70c A |
87 | extern struct sysctl_oid sysctl__kern_sysv_shmmax; |
88 | extern struct sysctl_oid sysctl__kern_sysv_shmmin; | |
89 | extern struct sysctl_oid sysctl__kern_sysv_shmmni; | |
90 | extern struct sysctl_oid sysctl__kern_sysv_shmseg; | |
91 | extern struct sysctl_oid sysctl__kern_sysv_shmall; | |
91447636 A |
92 | extern struct sysctl_oid sysctl__kern_sysv_ipcs; |
93 | extern struct sysctl_oid sysctl__kern_sysv_ipcs_shm; | |
94 | extern struct sysctl_oid sysctl__kern_sysv_ipcs_sem; | |
95 | extern struct sysctl_oid sysctl__kern_sysv_ipcs_msg; | |
9bccf70c | 96 | |
55e303ae A |
97 | extern struct sysctl_oid sysctl__kern_sysv_semmni; |
98 | extern struct sysctl_oid sysctl__kern_sysv_semmns; | |
99 | extern struct sysctl_oid sysctl__kern_sysv_semmnu; | |
100 | extern struct sysctl_oid sysctl__kern_sysv_semmsl; | |
101 | extern struct sysctl_oid sysctl__kern_sysv_semume; | |
102 | ||
1c79356b A |
103 | extern struct sysctl_oid sysctl__kern_dummy; |
104 | extern struct sysctl_oid sysctl__kern_ipc_maxsockbuf; | |
91447636 | 105 | extern struct sysctl_oid sysctl__kern_ipc_mbstat; |
1c79356b A |
106 | extern struct sysctl_oid sysctl__kern_ipc_nmbclusters; |
107 | extern struct sysctl_oid sysctl__kern_ipc_sockbuf_waste_factor; | |
108 | extern struct sysctl_oid sysctl__kern_ipc_somaxconn; | |
109 | extern struct sysctl_oid sysctl__kern_ipc_sosendminchain; | |
55e303ae | 110 | extern struct sysctl_oid sysctl__kern_ipc_sorecvmincopy; |
1c79356b | 111 | extern struct sysctl_oid sysctl__kern_ipc_maxsockets; |
91447636 A |
112 | extern struct sysctl_oid sysctl__kern_posix; |
113 | extern struct sysctl_oid sysctl__kern_posix_sem; | |
114 | extern struct sysctl_oid sysctl__kern_posix_sem_max; | |
a3d08fcd | 115 | extern struct sysctl_oid sysctl__kern_sugid_scripts; |
3a60a9f5 | 116 | extern struct sysctl_oid sysctl__kern_always_do_fullfsync; |
1c79356b A |
117 | extern struct sysctl_oid sysctl__net_inet_icmp_icmplim; |
118 | extern struct sysctl_oid sysctl__net_inet_icmp_maskrepl; | |
55e303ae | 119 | extern struct sysctl_oid sysctl__net_inet_icmp_timestamp; |
1c79356b | 120 | extern struct sysctl_oid sysctl__net_inet_icmp_bmcastecho; |
9bccf70c A |
121 | extern struct sysctl_oid sysctl__net_inet_icmp_log_redirect; |
122 | extern struct sysctl_oid sysctl__net_inet_icmp_drop_redirect; | |
1c79356b A |
123 | extern struct sysctl_oid sysctl__net_inet_ip_accept_sourceroute; |
124 | ||
125 | #if IPCTL_DEFMTU | |
126 | extern struct sysctl_oid sysctl__net_inet_ip_mtu; | |
127 | #endif | |
128 | ||
129 | extern struct sysctl_oid sysctl__net_inet_ip_ttl; | |
130 | extern struct sysctl_oid sysctl__net_inet_ip_fastforwarding; | |
131 | extern struct sysctl_oid sysctl__net_inet_ip_forwarding; | |
132 | extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_drops; | |
133 | extern struct sysctl_oid sysctl__net_inet_ip_intr_queue_maxlen; | |
134 | extern struct sysctl_oid sysctl__net_inet_ip_rtexpire; | |
135 | extern struct sysctl_oid sysctl__net_inet_ip_rtmaxcache; | |
136 | extern struct sysctl_oid sysctl__net_inet_ip_rtminexpire; | |
137 | extern struct sysctl_oid sysctl__net_inet_ip_redirect; | |
138 | extern struct sysctl_oid sysctl__net_inet_ip_sourceroute; | |
139 | extern struct sysctl_oid sysctl__net_inet_ip_subnets_are_local; | |
140 | extern struct sysctl_oid sysctl__net_inet_ip_keepfaith; | |
9bccf70c | 141 | extern struct sysctl_oid sysctl__net_inet_ip_maxfragpackets; |
483a1d10 | 142 | extern struct sysctl_oid sysctl__net_inet_ip_maxfragsperpacket; |
91447636 | 143 | extern struct sysctl_oid sysctl__net_inet_ip_maxfrags; |
9bccf70c A |
144 | extern struct sysctl_oid sysctl__net_inet_ip_check_interface; |
145 | extern struct sysctl_oid sysctl__net_inet_ip_check_route_selfref; | |
55e303ae | 146 | extern struct sysctl_oid sysctl__net_inet_ip_use_route_genid; |
1c79356b A |
147 | #if NGIF > 0 |
148 | extern struct sysctl_oid sysctl__net_inet_ip_gifttl; | |
149 | #endif | |
150 | ||
151 | #if DUMMYNET | |
91447636 A |
152 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_hash_size; |
153 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_curr_time; | |
154 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_ready_heap; | |
155 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_extract_heap; | |
156 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_searches; | |
157 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_search_steps; | |
158 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_expire; | |
159 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_max_chain_len; | |
160 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_red_lookup_depth; | |
161 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_red_avg_pkt_size; | |
162 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet_red_max_pkt_size; | |
1c79356b A |
163 | extern struct sysctl_oid sysctl__net_inet_ip_dummynet; |
164 | #endif | |
165 | ||
166 | #if IPFIREWALL && !IPFIREWALL_KEXT | |
91447636 | 167 | extern struct sysctl_oid sysctl__net_inet_ip_fw_enable; |
1c79356b A |
168 | extern struct sysctl_oid sysctl__net_inet_ip_fw_debug; |
169 | extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose; | |
170 | extern struct sysctl_oid sysctl__net_inet_ip_fw_verbose_limit; | |
171 | extern struct sysctl_oid sysctl__net_inet_ip_fw_one_pass; | |
91447636 A |
172 | extern struct sysctl_oid sysctl__net_inet_ip_fw_autoinc_step; |
173 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_buckets; | |
174 | extern struct sysctl_oid sysctl__net_inet_ip_fw_curr_dyn_buckets; | |
175 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_count; | |
176 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_max; | |
177 | extern struct sysctl_oid sysctl__net_inet_ip_fw_static_count; | |
178 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_ack_lifetime; | |
179 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_syn_lifetime; | |
180 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_fin_lifetime; | |
181 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_rst_lifetime; | |
182 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_udp_lifetime; | |
183 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_short_lifetime; | |
184 | extern struct sysctl_oid sysctl__net_inet_ip_fw_dyn_keepalive; | |
1c79356b A |
185 | extern struct sysctl_oid sysctl__net_inet_ip_fw; |
186 | #endif | |
187 | ||
9bccf70c A |
188 | extern struct sysctl_oid sysctl__net_inet_ip_linklocal; |
189 | extern struct sysctl_oid sysctl__net_inet_ip_linklocal_stat; | |
190 | extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in; | |
191 | extern struct sysctl_oid sysctl__net_inet_ip_linklocal_in_allowbadttl; | |
91447636 | 192 | extern struct sysctl_oid sysctl__net_inet_ip_maxchainsent; |
9bccf70c | 193 | |
1c79356b A |
194 | extern struct sysctl_oid sysctl__net_inet_raw_maxdgram; |
195 | extern struct sysctl_oid sysctl__net_inet_raw_recvspace; | |
196 | extern struct sysctl_oid sysctl__net_inet_tcp_always_keepalive; | |
197 | extern struct sysctl_oid sysctl__net_inet_tcp_delayed_ack; | |
198 | extern struct sysctl_oid sysctl__net_inet_tcp_log_in_vain; | |
199 | extern struct sysctl_oid sysctl__net_inet_tcp_pcbcount; | |
200 | extern struct sysctl_oid sysctl__net_inet_tcp_rfc1323; | |
201 | extern struct sysctl_oid sysctl__net_inet_tcp_rfc1644; | |
202 | extern struct sysctl_oid sysctl__net_inet_tcp_keepidle; | |
203 | extern struct sysctl_oid sysctl__net_inet_tcp_keepinit; | |
204 | extern struct sysctl_oid sysctl__net_inet_tcp_keepintvl; | |
205 | extern struct sysctl_oid sysctl__net_inet_tcp_mssdflt; | |
e5568f75 | 206 | extern struct sysctl_oid sysctl__net_inet_tcp_minmss; |
91447636 | 207 | extern struct sysctl_oid sysctl__net_inet_tcp_minmssoverload; |
1c79356b | 208 | extern struct sysctl_oid sysctl__net_inet_tcp_recvspace; |
1c79356b | 209 | extern struct sysctl_oid sysctl__net_inet_tcp_sendspace; |
d12e1678 | 210 | extern struct sysctl_oid sysctl__net_inet_tcp_slowlink_wsize; |
9bccf70c A |
211 | extern struct sysctl_oid sysctl__net_inet_tcp_blackhole; |
212 | extern struct sysctl_oid sysctl__net_inet_tcp_tcp_lq_overflow; | |
213 | extern struct sysctl_oid sysctl__net_inet_tcp_path_mtu_discovery; | |
214 | extern struct sysctl_oid sysctl__net_inet_tcp_slowstart_flightsize; | |
215 | extern struct sysctl_oid sysctl__net_inet_tcp_local_slowstart_flightsize; | |
216 | extern struct sysctl_oid sysctl__net_inet_tcp_newreno; | |
91447636 | 217 | extern struct sysctl_oid sysctl__net_inet_tcp_packetchain; |
9bccf70c A |
218 | extern struct sysctl_oid sysctl__net_inet_tcp_tcbhashsize; |
219 | extern struct sysctl_oid sysctl__net_inet_tcp_do_tcpdrain; | |
220 | extern struct sysctl_oid sysctl__net_inet_tcp_icmp_may_rst; | |
221 | extern struct sysctl_oid sysctl__net_inet_tcp_strict_rfc1948; | |
222 | extern struct sysctl_oid sysctl__net_inet_tcp_delacktime; | |
223 | extern struct sysctl_oid sysctl__net_inet_tcp_isn_reseed_interval; | |
224 | extern struct sysctl_oid sysctl__net_inet_tcp_msl; | |
225 | #if TCP_DROP_SYNFIN | |
226 | extern struct sysctl_oid sysctl__net_inet_tcp_drop_synfin; | |
227 | #endif | |
228 | #if TCPDEBUG | |
229 | extern struct sysctl_oid sysctl__net_inet_tcp_tcpconsdebug; | |
230 | #endif | |
55e303ae | 231 | extern struct sysctl_oid sysctl__net_inet_tcp_sockthreshold; |
e5568f75 A |
232 | extern struct sysctl_oid sysctl__net_inet_tcp_reass_maxsegments; |
233 | extern struct sysctl_oid sysctl__net_inet_tcp_reass_cursegments; | |
234 | extern struct sysctl_oid sysctl__net_inet_tcp_reass_overflows; | |
235 | extern struct sysctl_oid sysctl__net_inet_tcp_reass; | |
236 | ||
1c79356b A |
237 | extern struct sysctl_oid sysctl__net_inet_udp_log_in_vain; |
238 | extern struct sysctl_oid sysctl__net_inet_udp_checksum; | |
239 | extern struct sysctl_oid sysctl__net_inet_udp_maxdgram; | |
240 | extern struct sysctl_oid sysctl__net_inet_udp_recvspace; | |
9bccf70c | 241 | extern struct sysctl_oid sysctl__net_inet_udp_blackhole; |
91447636 | 242 | extern struct sysctl_oid sysctl__net_inet_udp_pcbcount; |
1c79356b A |
243 | |
244 | #if NETAT | |
245 | extern struct sysctl_oid sysctl__net_appletalk_debug; | |
246 | extern struct sysctl_oid sysctl__net_appletalk_routermix; | |
247 | extern struct sysctl_oid sysctl__net_appletalk_ddpstats; | |
248 | #endif /* NETAT */ | |
249 | ||
250 | #if BRIDGE | |
251 | extern struct sysctl_oid sysctl__net_link_ether_bdgfwc; | |
252 | extern struct sysctl_oid sysctl__net_link_ether_bdgfwt; | |
253 | extern struct sysctl_oid sysctl__net_link_ether_bdginc; | |
254 | extern struct sysctl_oid sysctl__net_link_ether_bdgint; | |
255 | extern struct sysctl_oid sysctl__net_link_ether_bridge_ipfw; | |
256 | extern struct sysctl_oid sysctl__net_link_ethe_bdgstats; | |
257 | #endif | |
258 | ||
259 | extern struct sysctl_oid sysctl__net_link_ether_inet_host_down_time; | |
260 | extern struct sysctl_oid sysctl__net_link_ether_inet_max_age; | |
261 | extern struct sysctl_oid sysctl__net_link_ether_inet_maxtries; | |
262 | extern struct sysctl_oid sysctl__net_link_ether_inet_proxyall; | |
263 | extern struct sysctl_oid sysctl__net_link_ether_inet_prune_intvl; | |
264 | extern struct sysctl_oid sysctl__net_link_ether_inet_useloopback; | |
91447636 | 265 | extern struct sysctl_oid sysctl__net_link_ether_inet_log_arp_warnings; |
0b4e3aa0 A |
266 | extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_tx; |
267 | extern struct sysctl_oid sysctl__net_link_ether_inet_apple_hwcksum_rx; | |
1c79356b A |
268 | |
269 | #if NETMIBS | |
270 | extern struct sysctl_oid sysctl__net_link_generic_system_ifcount; | |
271 | extern struct sysctl_oid sysctl__net_link_generic; | |
272 | extern struct sysctl_oid sysctl__net_link_generic_ifdata; | |
91447636 | 273 | extern struct sysctl_oid sysctl__net_link_generic_ifalldata; |
1c79356b A |
274 | extern struct sysctl_oid sysctl__net_link_generic_system; |
275 | #endif | |
276 | ||
277 | #if VLAN | |
278 | extern struct sysctl_oid sysctl__net_link_vlan_link_proto; | |
279 | extern struct sysctl_oid sysctl__net_link_vlan; | |
280 | extern struct sysctl_oid sysctl__net_link_vlan_link; | |
281 | #endif | |
282 | ||
283 | extern struct sysctl_oid sysctl__net_local_inflight; | |
284 | extern struct sysctl_oid sysctl__net_local_dgram_maxdgram; | |
285 | extern struct sysctl_oid sysctl__net_local_dgram_recvspace; | |
286 | extern struct sysctl_oid sysctl__net_local_stream_recvspace; | |
287 | extern struct sysctl_oid sysctl__net_local_stream_sendspace; | |
288 | ||
289 | #if 0 | |
290 | extern struct sysctl_oid sysctl__vfs_nfs_nfs_privport; | |
291 | extern struct sysctl_oid sysctl__vfs_nfs_async; | |
292 | extern struct sysctl_oid sysctl__vfs_nfs_debug; | |
293 | extern struct sysctl_oid sysctl__vfs_nfs_defect; | |
294 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_valid; | |
295 | extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay; | |
296 | extern struct sysctl_oid sysctl__vfs_nfs_gatherdelay_v3; | |
297 | extern struct sysctl_oid sysctl__vfs_nfs; | |
298 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootaddr; | |
299 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_swapaddr; | |
300 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_rootpath; | |
301 | extern struct sysctl_oid sysctl__vfs_nfs_diskless_swappath; | |
302 | extern struct sysctl_oid sysctl__vfs_nfs_nfsstats; | |
303 | #endif | |
91447636 | 304 | #if NFSCLIENT |
55e303ae A |
305 | extern struct sysctl_oid sysctl__vfs_generic_nfs_client_initialdowndelay; |
306 | extern struct sysctl_oid sysctl__vfs_generic_nfs_client_nextdowndelay; | |
307 | extern struct sysctl_oid sysctl__vfs_generic_nfs_client; | |
308 | extern struct sysctl_oid sysctl__vfs_generic_nfs; | |
91447636 | 309 | #endif |
55e303ae A |
310 | |
311 | extern struct sysctl_oid sysctl__vfs_generic; | |
312 | extern struct sysctl_oid sysctl__vfs_generic_vfsidlist; | |
313 | extern struct sysctl_oid sysctl__vfs_generic_ctlbyfsid; | |
314 | extern struct sysctl_oid sysctl__vfs_generic_noremotehang; | |
1c79356b A |
315 | |
316 | extern struct sysctl_oid sysctl__kern_ipc; | |
9bccf70c A |
317 | extern struct sysctl_oid sysctl__kern_sysv; |
318 | ||
1c79356b A |
319 | extern struct sysctl_oid sysctl__net_inet; |
320 | ||
321 | #if NETAT | |
322 | extern struct sysctl_oid sysctl__net_appletalk; | |
323 | #endif /* NETAT */ | |
324 | ||
325 | extern struct sysctl_oid sysctl__net_link; | |
326 | extern struct sysctl_oid sysctl__net_local; | |
327 | extern struct sysctl_oid sysctl__net_routetable; | |
328 | ||
329 | #if IPDIVERT | |
330 | extern struct sysctl_oid sysctl__net_inet_div; | |
331 | #endif | |
332 | ||
333 | extern struct sysctl_oid sysctl__net_inet_icmp; | |
334 | extern struct sysctl_oid sysctl__net_inet_igmp; | |
335 | extern struct sysctl_oid sysctl__net_inet_ip; | |
336 | extern struct sysctl_oid sysctl__net_inet_raw; | |
337 | extern struct sysctl_oid sysctl__net_inet_tcp; | |
338 | extern struct sysctl_oid sysctl__net_inet_udp; | |
339 | extern struct sysctl_oid sysctl__net_inet_ip_portrange; | |
340 | ||
341 | extern struct sysctl_oid sysctl__net_link_ether; | |
342 | extern struct sysctl_oid sysctl__net_link_ether_inet; | |
343 | ||
344 | extern struct sysctl_oid sysctl__net_local_dgram; | |
345 | extern struct sysctl_oid sysctl__net_local_stream; | |
346 | extern struct sysctl_oid sysctl__sysctl_name; | |
347 | extern struct sysctl_oid sysctl__sysctl_next; | |
348 | extern struct sysctl_oid sysctl__sysctl_oidfmt; | |
349 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_first; | |
350 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_hifirst; | |
351 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_hilast; | |
352 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_last; | |
353 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowfirst; | |
354 | extern struct sysctl_oid sysctl__net_inet_ip_portrange_lowlast; | |
355 | extern struct sysctl_oid sysctl__net_inet_raw_pcblist; | |
356 | extern struct sysctl_oid sysctl__net_inet_tcp_pcblist; | |
357 | extern struct sysctl_oid sysctl__net_inet_udp_pcblist; | |
358 | extern struct sysctl_oid sysctl__net_link_ether_bridge; | |
359 | extern struct sysctl_oid sysctl__net_local_dgram_pcblist; | |
360 | extern struct sysctl_oid sysctl__net_local_stream_pcblist; | |
361 | extern struct sysctl_oid sysctl__sysctl_debug; | |
362 | extern struct sysctl_oid sysctl__sysctl_name2oid; | |
363 | extern struct sysctl_oid sysctl__net_inet_icmp_stats; | |
364 | extern struct sysctl_oid sysctl__net_inet_igmp_stats; | |
365 | extern struct sysctl_oid sysctl__net_inet_ip_stats; | |
366 | extern struct sysctl_oid sysctl__net_inet_tcp_stats; | |
367 | extern struct sysctl_oid sysctl__net_inet_udp_stats; | |
368 | extern struct sysctl_oid sysctl__kern; | |
369 | extern struct sysctl_oid sysctl__hw; | |
55e303ae | 370 | extern struct sysctl_oid sysctl__machdep; |
1c79356b A |
371 | extern struct sysctl_oid sysctl__net; |
372 | extern struct sysctl_oid sysctl__debug; | |
373 | extern struct sysctl_oid sysctl__vfs; | |
374 | extern struct sysctl_oid sysctl__sysctl; | |
375 | ||
376 | #if INET6 | |
9bccf70c | 377 | extern struct sysctl_oid sysctl__net_inet_tcp_v6mssdflt; |
1c79356b A |
378 | extern struct sysctl_oid sysctl__net_inet6; |
379 | extern struct sysctl_oid sysctl__net_inet6_ip6; | |
9bccf70c | 380 | extern struct sysctl_oid sysctl__net_inet6_ip6_stats; |
1c79356b A |
381 | extern struct sysctl_oid sysctl__net_inet6_icmp6; |
382 | extern struct sysctl_oid sysctl__net_inet6_ip6_forwarding; | |
383 | extern struct sysctl_oid sysctl__net_inet6_ip6_redirect; | |
384 | extern struct sysctl_oid sysctl__net_inet6_ip6_hlim; | |
385 | extern struct sysctl_oid sysctl__net_inet6_ip6_maxfragpackets; | |
91447636 | 386 | extern struct sysctl_oid sysctl__net_inet6_ip6_maxfrags; |
1c79356b A |
387 | extern struct sysctl_oid sysctl__net_inet6_ip6_accept_rtadv; |
388 | extern struct sysctl_oid sysctl__net_inet6_ip6_keepfaith; | |
389 | extern struct sysctl_oid sysctl__net_inet6_ip6_log_interval; | |
390 | extern struct sysctl_oid sysctl__net_inet6_ip6_hdrnestlimit; | |
391 | extern struct sysctl_oid sysctl__net_inet6_ip6_dad_count; | |
392 | extern struct sysctl_oid sysctl__net_inet6_ip6_auto_flowlabel; | |
393 | extern struct sysctl_oid sysctl__net_inet6_ip6_defmcasthlim; | |
394 | extern struct sysctl_oid sysctl__net_inet6_ip6_gifhlim; | |
395 | extern struct sysctl_oid sysctl__net_inet6_ip6_kame_version; | |
396 | extern struct sysctl_oid sysctl__net_inet6_ip6_use_deprecated; | |
397 | extern struct sysctl_oid sysctl__net_inet6_ip6_rr_prune; | |
9bccf70c A |
398 | extern struct sysctl_oid sysctl__net_inet6_ip6_use_tempaddr; |
399 | extern struct sysctl_oid sysctl__net_inet6_ip6_v6only; | |
400 | extern struct sysctl_oid sysctl__net_inet6_ip6_auto_linklocal; | |
401 | extern struct sysctl_oid sysctl__net_inet6_ip6_rip6stats; | |
91447636 | 402 | extern struct sysctl_oid sysctl__net_inet6_ip6_mrt6stat; |
9bccf70c A |
403 | extern struct sysctl_oid sysctl__net_inet6_ip6_rtexpire; |
404 | extern struct sysctl_oid sysctl__net_inet6_ip6_rtminexpire; | |
405 | extern struct sysctl_oid sysctl__net_inet6_ip6_rtmaxcache; | |
406 | extern struct sysctl_oid sysctl__net_inet6_ip6_temppltime; | |
407 | extern struct sysctl_oid sysctl__net_inet6_ip6_tempvltime; | |
1c79356b A |
408 | #if IPV6FIREWALL |
409 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw; | |
410 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw_debug; | |
411 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose; | |
412 | extern struct sysctl_oid sysctl__net_inet6_ip6_fw_verbose_limit; | |
413 | #endif | |
414 | extern struct sysctl_oid sysctl__net_inet6_icmp6_rediraccept; | |
415 | extern struct sysctl_oid sysctl__net_inet6_icmp6_redirtimeout; | |
9bccf70c A |
416 | extern struct sysctl_oid sysctl__net_inet6_icmp6_stats; |
417 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo; | |
418 | extern struct sysctl_oid sysctl__net_inet6_icmp6_errppslimit; | |
419 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_maxnudhint; | |
420 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_debug; | |
1c79356b A |
421 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_prune; |
422 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_delay; | |
423 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_umaxtries; | |
424 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_mmaxtries; | |
425 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nd6_useloopback; | |
426 | extern struct sysctl_oid sysctl__net_inet6_icmp6_nodeinfo; | |
427 | #if IPSEC | |
428 | extern struct sysctl_oid sysctl__net_inet6_ipsec6; | |
9bccf70c | 429 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_stats; |
1c79356b A |
430 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_def_policy; |
431 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_trans_deflev; | |
432 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_net_deflev; | |
433 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_trans_deflev; | |
434 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_ah_net_deflev; | |
1c79356b A |
435 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_ecn; |
436 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_debug; | |
9bccf70c | 437 | extern struct sysctl_oid sysctl__net_inet6_ipsec6_esp_randpad; |
1c79356b A |
438 | #endif |
439 | #endif | |
440 | #if IPSEC | |
441 | extern struct sysctl_oid sysctl__net_inet_ipsec; | |
55e303ae | 442 | extern struct sysctl_oid sysctl__net_inet_ipsec_esp_port; |
9bccf70c | 443 | extern struct sysctl_oid sysctl__net_inet_ipsec_bypass; |
1c79356b | 444 | extern struct sysctl_oid sysctl__net_inet_ipsec_def_policy; |
9bccf70c | 445 | extern struct sysctl_oid sysctl__net_inet_ipsec_esp_randpad; |
1c79356b A |
446 | extern struct sysctl_oid sysctl__net_inet_ipsec_esp_trans_deflev; |
447 | extern struct sysctl_oid sysctl__net_inet_ipsec_esp_net_deflev; | |
448 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_trans_deflev; | |
449 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_net_deflev; | |
1c79356b A |
450 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_cleartos; |
451 | extern struct sysctl_oid sysctl__net_inet_ipsec_ah_offsetmask; | |
452 | extern struct sysctl_oid sysctl__net_inet_ipsec_dfbit; | |
453 | extern struct sysctl_oid sysctl__net_inet_ipsec_ecn; | |
454 | extern struct sysctl_oid sysctl__net_inet_ipsec_debug; | |
9bccf70c | 455 | extern struct sysctl_oid sysctl__net_inet_ipsec_stats; |
1c79356b A |
456 | extern struct sysctl_oid sysctl__net_key; |
457 | extern struct sysctl_oid sysctl__net_key_debug; | |
55e303ae | 458 | extern struct sysctl_oid sysctl__net_key_prefered_oldsa; |
1c79356b A |
459 | extern struct sysctl_oid sysctl__net_key_spi_trycnt; |
460 | extern struct sysctl_oid sysctl__net_key_spi_minval; | |
461 | extern struct sysctl_oid sysctl__net_key_spi_maxval; | |
462 | extern struct sysctl_oid sysctl__net_key_int_random; | |
463 | extern struct sysctl_oid sysctl__net_key_larval_lifetime; | |
464 | extern struct sysctl_oid sysctl__net_key_blockacq_count; | |
465 | extern struct sysctl_oid sysctl__net_key_blockacq_lifetime; | |
9bccf70c | 466 | extern struct sysctl_oid sysctl__net_key_esp_keymin; |
55e303ae | 467 | extern struct sysctl_oid sysctl__net_key_esp_auth; |
9bccf70c | 468 | extern struct sysctl_oid sysctl__net_key_ah_keymin; |
55e303ae | 469 | extern struct sysctl_oid sysctl__net_key_natt_keepalive_interval; |
91447636 | 470 | extern struct sysctl_oid sysctl__net_key_pfkeystat; |
1c79356b A |
471 | #endif |
472 | ||
473 | ||
474 | struct sysctl_oid *newsysctl_list[] = | |
475 | { | |
476 | &sysctl__kern, | |
477 | &sysctl__hw, | |
55e303ae | 478 | &sysctl__machdep, |
1c79356b A |
479 | &sysctl__net, |
480 | &sysctl__debug, | |
481 | &sysctl__vfs, | |
482 | &sysctl__sysctl, | |
9bccf70c | 483 | &sysctl__debug_bpf_bufsize, |
91447636 A |
484 | &sysctl__debug_bpf_maxbufsize, |
485 | &sysctl__debug_bpf_maxdevices, | |
486 | &sysctl__debug_iokit | |
1c79356b A |
487 | #if TUN |
488 | ,&sysctl__debug_if_tun_debug | |
489 | #endif | |
490 | ||
91447636 | 491 | #if COMPAT_43_TTY |
1c79356b A |
492 | #ifndef NeXT |
493 | ,&sysctl__debug_ttydebug | |
494 | #endif | |
495 | #endif | |
496 | ||
91447636 A |
497 | ,&sysctl__kern_posix |
498 | ,&sysctl__kern_posix_sem | |
499 | ,&sysctl__kern_posix_sem_max | |
500 | ||
9bccf70c A |
501 | ,&sysctl__kern_sysv_shmmax |
502 | ,&sysctl__kern_sysv_shmmin | |
503 | ,&sysctl__kern_sysv_shmmni | |
504 | ,&sysctl__kern_sysv_shmseg | |
505 | ,&sysctl__kern_sysv_shmall | |
91447636 A |
506 | ,&sysctl__kern_sysv_ipcs |
507 | ,&sysctl__kern_sysv_ipcs_shm | |
508 | ,&sysctl__kern_sysv_ipcs_sem | |
509 | ,&sysctl__kern_sysv_ipcs_msg | |
55e303ae A |
510 | ,&sysctl__kern_sysv_semmni |
511 | ,&sysctl__kern_sysv_semmns | |
512 | ,&sysctl__kern_sysv_semmnu | |
513 | ,&sysctl__kern_sysv_semmsl | |
514 | ,&sysctl__kern_sysv_semume | |
1c79356b | 515 | ,&sysctl__kern_dummy |
91447636 | 516 | |
1c79356b | 517 | ,&sysctl__kern_ipc_maxsockbuf |
91447636 | 518 | ,&sysctl__kern_ipc_mbstat |
1c79356b A |
519 | ,&sysctl__kern_ipc_nmbclusters |
520 | ,&sysctl__kern_ipc_sockbuf_waste_factor | |
521 | ,&sysctl__kern_ipc_somaxconn | |
522 | ,&sysctl__kern_ipc_sosendminchain | |
55e303ae | 523 | ,&sysctl__kern_ipc_sorecvmincopy |
1c79356b | 524 | ,&sysctl__kern_ipc_maxsockets |
91447636 | 525 | |
a3d08fcd | 526 | ,&sysctl__kern_sugid_scripts |
3a60a9f5 | 527 | ,&sysctl__kern_always_do_fullfsync |
43866e37 A |
528 | |
529 | ,&sysctl__hw_machine | |
530 | ,&sysctl__hw_model | |
531 | ,&sysctl__hw_ncpu | |
532 | ,&sysctl__hw_activecpu | |
91447636 A |
533 | ,&sysctl__hw_physicalcpu |
534 | ,&sysctl__hw_physicalcpu_max | |
535 | ,&sysctl__hw_logicalcpu | |
536 | ,&sysctl__hw_logicalcpu_max | |
43866e37 A |
537 | ,&sysctl__hw_byteorder |
538 | ,&sysctl__hw_cputype | |
539 | ,&sysctl__hw_cpusubtype | |
540 | ,&sysctl__hw_physmem | |
541 | ,&sysctl__hw_usermem | |
542 | ,&sysctl__hw_pagesize | |
543 | ,&sysctl__hw_epoch | |
544 | ,&sysctl__hw_vectorunit | |
545 | ,&sysctl__hw_busfrequency | |
546 | ,&sysctl__hw_busfrequency_min | |
547 | ,&sysctl__hw_busfrequency_max | |
548 | ,&sysctl__hw_cpufrequency | |
549 | ,&sysctl__hw_cpufrequency_min | |
550 | ,&sysctl__hw_cpufrequency_max | |
551 | ,&sysctl__hw_cachelinesize | |
552 | ,&sysctl__hw_l1icachesize | |
553 | ,&sysctl__hw_l1dcachesize | |
554 | ,&sysctl__hw_l2settings | |
555 | ,&sysctl__hw_l2cachesize | |
556 | ,&sysctl__hw_l3settings | |
557 | ,&sysctl__hw_l3cachesize | |
558 | ,&sysctl__hw_tbfrequency | |
559 | ,&sysctl__hw_memsize | |
560 | ,&sysctl__hw_optional | |
561 | ,&sysctl__hw_optional_floatingpoint | |
562 | ||
563 | ,&sysctl__hw_pagesize_compat | |
564 | ,&sysctl__hw_busfrequency_compat | |
565 | ,&sysctl__hw_cpufrequency_compat | |
566 | ,&sysctl__hw_cachelinesize_compat | |
567 | ,&sysctl__hw_l1icachesize_compat | |
568 | ,&sysctl__hw_l1dcachesize_compat | |
569 | ,&sysctl__hw_l2cachesize_compat | |
570 | ,&sysctl__hw_l3cachesize_compat | |
571 | ,&sysctl__hw_tbfrequency_compat | |
572 | ||
1c79356b A |
573 | ,&sysctl__net_inet_icmp_icmplim |
574 | ,&sysctl__net_inet_icmp_maskrepl | |
55e303ae | 575 | ,&sysctl__net_inet_icmp_timestamp |
1c79356b | 576 | ,&sysctl__net_inet_icmp_bmcastecho |
9bccf70c A |
577 | ,&sysctl__net_inet_icmp_drop_redirect |
578 | ,&sysctl__net_inet_icmp_log_redirect | |
1c79356b A |
579 | ,&sysctl__net_inet_ip_accept_sourceroute |
580 | #if IPCTL_DEFMTU | |
581 | ,&sysctl__net_inet_ip_mtu | |
582 | #endif | |
583 | ,&sysctl__net_inet_ip_ttl | |
584 | ,&sysctl__net_inet_ip_fastforwarding | |
585 | ,&sysctl__net_inet_ip_forwarding | |
586 | ,&sysctl__net_inet_ip_intr_queue_drops | |
587 | ,&sysctl__net_inet_ip_intr_queue_maxlen | |
588 | ,&sysctl__net_inet_ip_rtexpire | |
589 | ,&sysctl__net_inet_ip_rtmaxcache | |
590 | ,&sysctl__net_inet_ip_rtminexpire | |
591 | ,&sysctl__net_inet_ip_redirect | |
592 | ,&sysctl__net_inet_ip_sourceroute | |
593 | ,&sysctl__net_inet_ip_subnets_are_local | |
594 | ,&sysctl__net_inet_ip_keepfaith | |
9bccf70c | 595 | ,&sysctl__net_inet_ip_maxfragpackets |
483a1d10 | 596 | ,&sysctl__net_inet_ip_maxfragsperpacket |
91447636 | 597 | ,&sysctl__net_inet_ip_maxfrags |
9bccf70c A |
598 | ,&sysctl__net_inet_ip_check_interface |
599 | ,&sysctl__net_inet_ip_check_route_selfref | |
55e303ae | 600 | ,&sysctl__net_inet_ip_use_route_genid |
1c79356b A |
601 | #if NGIF > 0 |
602 | ,&sysctl__net_inet_ip_gifttl | |
603 | #endif | |
604 | #if DUMMYNET | |
91447636 A |
605 | ,&sysctl__net_inet_ip_dummynet_hash_size |
606 | ,&sysctl__net_inet_ip_dummynet_curr_time | |
607 | ,&sysctl__net_inet_ip_dummynet_ready_heap | |
608 | ,&sysctl__net_inet_ip_dummynet_extract_heap | |
609 | ,&sysctl__net_inet_ip_dummynet_searches | |
610 | ,&sysctl__net_inet_ip_dummynet_search_steps | |
611 | ,&sysctl__net_inet_ip_dummynet_expire | |
612 | ,&sysctl__net_inet_ip_dummynet_max_chain_len | |
613 | ,&sysctl__net_inet_ip_dummynet_red_lookup_depth | |
614 | ,&sysctl__net_inet_ip_dummynet_red_avg_pkt_size | |
615 | ,&sysctl__net_inet_ip_dummynet_red_max_pkt_size | |
1c79356b A |
616 | ,&sysctl__net_inet_ip_dummynet |
617 | #endif | |
618 | ||
619 | #if IPFIREWALL && !IPFIREWALL_KEXT | |
91447636 | 620 | ,&sysctl__net_inet_ip_fw_enable |
1c79356b A |
621 | ,&sysctl__net_inet_ip_fw_debug |
622 | ,&sysctl__net_inet_ip_fw_verbose | |
623 | ,&sysctl__net_inet_ip_fw_verbose_limit | |
624 | ,&sysctl__net_inet_ip_fw_one_pass | |
91447636 A |
625 | ,&sysctl__net_inet_ip_fw_autoinc_step |
626 | ,&sysctl__net_inet_ip_fw_dyn_buckets | |
627 | ,&sysctl__net_inet_ip_fw_curr_dyn_buckets | |
628 | ,&sysctl__net_inet_ip_fw_dyn_count | |
629 | ,&sysctl__net_inet_ip_fw_dyn_max | |
630 | ,&sysctl__net_inet_ip_fw_static_count | |
631 | ,&sysctl__net_inet_ip_fw_dyn_ack_lifetime | |
632 | ,&sysctl__net_inet_ip_fw_dyn_syn_lifetime | |
633 | ,&sysctl__net_inet_ip_fw_dyn_fin_lifetime | |
634 | ,&sysctl__net_inet_ip_fw_dyn_rst_lifetime | |
635 | ,&sysctl__net_inet_ip_fw_dyn_udp_lifetime | |
636 | ,&sysctl__net_inet_ip_fw_dyn_short_lifetime | |
637 | ,&sysctl__net_inet_ip_fw_dyn_keepalive | |
1c79356b A |
638 | ,&sysctl__net_inet_ip_fw |
639 | #endif | |
9bccf70c A |
640 | ,&sysctl__net_inet_ip_linklocal |
641 | ,&sysctl__net_inet_ip_linklocal_stat | |
642 | ,&sysctl__net_inet_ip_linklocal_in | |
643 | ,&sysctl__net_inet_ip_linklocal_in_allowbadttl | |
91447636 | 644 | ,&sysctl__net_inet_ip_maxchainsent |
1c79356b A |
645 | ,&sysctl__net_inet_raw_maxdgram |
646 | ,&sysctl__net_inet_raw_recvspace | |
647 | ,&sysctl__net_inet_tcp_always_keepalive | |
648 | ,&sysctl__net_inet_tcp_delayed_ack | |
649 | ,&sysctl__net_inet_tcp_log_in_vain | |
650 | ,&sysctl__net_inet_tcp_pcbcount | |
651 | ,&sysctl__net_inet_tcp_rfc1323 | |
652 | ,&sysctl__net_inet_tcp_rfc1644 | |
653 | ,&sysctl__net_inet_tcp_keepidle | |
654 | ,&sysctl__net_inet_tcp_keepinit | |
655 | ,&sysctl__net_inet_tcp_keepintvl | |
656 | ,&sysctl__net_inet_tcp_mssdflt | |
e5568f75 | 657 | ,&sysctl__net_inet_tcp_minmss |
91447636 | 658 | ,&sysctl__net_inet_tcp_minmssoverload |
1c79356b | 659 | ,&sysctl__net_inet_tcp_recvspace |
1c79356b | 660 | ,&sysctl__net_inet_tcp_sendspace |
d12e1678 | 661 | ,&sysctl__net_inet_tcp_slowlink_wsize |
9bccf70c A |
662 | ,&sysctl__net_inet_tcp_blackhole |
663 | ,&sysctl__net_inet_tcp_tcp_lq_overflow | |
664 | ,&sysctl__net_inet_tcp_path_mtu_discovery | |
665 | ,&sysctl__net_inet_tcp_slowstart_flightsize | |
666 | ,&sysctl__net_inet_tcp_local_slowstart_flightsize | |
667 | ,&sysctl__net_inet_tcp_newreno | |
91447636 | 668 | ,&sysctl__net_inet_tcp_packetchain |
9bccf70c A |
669 | ,&sysctl__net_inet_tcp_tcbhashsize |
670 | ,&sysctl__net_inet_tcp_do_tcpdrain | |
671 | ,&sysctl__net_inet_tcp_icmp_may_rst | |
672 | ,&sysctl__net_inet_tcp_strict_rfc1948 | |
673 | ,&sysctl__net_inet_tcp_delacktime | |
674 | ,&sysctl__net_inet_tcp_isn_reseed_interval | |
675 | ,&sysctl__net_inet_tcp_msl | |
676 | #if TCP_DROP_SYNFIN | |
677 | ,&sysctl__net_inet_tcp_drop_synfin | |
678 | #endif | |
679 | #if TCPDEBUG | |
680 | ,&sysctl__net_inet_tcp_tcpconsdebug | |
681 | #endif | |
55e303ae | 682 | ,&sysctl__net_inet_tcp_sockthreshold |
e5568f75 A |
683 | ,&sysctl__net_inet_tcp_reass_maxsegments |
684 | ,&sysctl__net_inet_tcp_reass_cursegments | |
685 | ,&sysctl__net_inet_tcp_reass_overflows | |
686 | ,&sysctl__net_inet_tcp_reass | |
687 | ||
1c79356b A |
688 | ,&sysctl__net_inet_udp_log_in_vain |
689 | ,&sysctl__net_inet_udp_checksum | |
690 | ,&sysctl__net_inet_udp_maxdgram | |
691 | ,&sysctl__net_inet_udp_recvspace | |
9bccf70c | 692 | ,&sysctl__net_inet_udp_blackhole |
91447636 | 693 | ,&sysctl__net_inet_udp_pcbcount |
1c79356b A |
694 | |
695 | #if NETAT | |
696 | ,&sysctl__net_appletalk_debug | |
697 | ,&sysctl__net_appletalk_routermix | |
698 | ,&sysctl__net_appletalk_ddpstats | |
699 | #endif /* NETAT */ | |
700 | ||
701 | #if BRIDGE | |
702 | ,&sysctl__net_link_ether_bdgfwc | |
703 | ,&sysctl__net_link_ether_bdgfwt | |
704 | ,&sysctl__net_link_ether_bdginc | |
705 | ,&sysctl__net_link_ether_bdgint | |
706 | ,&sysctl__net_link_ether_bridge_ipfw | |
707 | ,&sysctl__net_link_ethe_bdgstats | |
708 | ,&sysctl__net_link_ether_bridge | |
709 | #endif | |
710 | ||
711 | ,&sysctl__net_link_ether_inet_host_down_time | |
712 | ,&sysctl__net_link_ether_inet_max_age | |
713 | ,&sysctl__net_link_ether_inet_maxtries | |
714 | ,&sysctl__net_link_ether_inet_proxyall | |
715 | ,&sysctl__net_link_ether_inet_prune_intvl | |
716 | ,&sysctl__net_link_ether_inet_useloopback | |
91447636 | 717 | ,&sysctl__net_link_ether_inet_log_arp_warnings |
0b4e3aa0 A |
718 | ,&sysctl__net_link_ether_inet_apple_hwcksum_tx |
719 | ,&sysctl__net_link_ether_inet_apple_hwcksum_rx | |
1c79356b A |
720 | #if NETMIBS |
721 | ,&sysctl__net_link_generic_system_ifcount | |
722 | ,&sysctl__net_link_generic | |
723 | ,&sysctl__net_link_generic_ifdata | |
91447636 | 724 | ,&sysctl__net_link_generic_ifalldata |
1c79356b A |
725 | ,&sysctl__net_link_generic_system |
726 | #endif | |
727 | ||
4a249263 | 728 | #if 0 |
1c79356b A |
729 | #if VLAN |
730 | ,&sysctl__net_link_vlan_link_proto | |
731 | ,&sysctl__net_link_vlan | |
732 | ,&sysctl__net_link_vlan_link | |
733 | #endif | |
4a249263 | 734 | #endif 0 |
1c79356b A |
735 | |
736 | ,&sysctl__net_local_inflight | |
737 | ,&sysctl__net_local_dgram_maxdgram | |
738 | ,&sysctl__net_local_dgram_recvspace | |
739 | ,&sysctl__net_local_stream_recvspace | |
740 | ,&sysctl__net_local_stream_sendspace | |
741 | #if 0 | |
742 | ,&sysctl__vfs_nfs_nfs_privport | |
743 | ,&sysctl__vfs_nfs_async | |
744 | ,&sysctl__vfs_nfs_debug | |
745 | ,&sysctl__vfs_nfs_defect | |
746 | ,&sysctl__vfs_nfs_diskless_valid | |
747 | ,&sysctl__vfs_nfs_gatherdelay | |
748 | ,&sysctl__vfs_nfs_gatherdelay_v3 | |
749 | ,&sysctl__vfs_nfs | |
750 | ,&sysctl__vfs_nfs_diskless_rootaddr | |
751 | ,&sysctl__vfs_nfs_diskless_swapaddr | |
752 | ,&sysctl__vfs_nfs_diskless_rootpath | |
753 | ,&sysctl__vfs_nfs_diskless_swappath | |
754 | ,&sysctl__vfs_nfs_nfsstats | |
755 | #endif | |
55e303ae A |
756 | ,&sysctl__vfs_generic |
757 | ,&sysctl__vfs_generic_vfsidlist | |
758 | ,&sysctl__vfs_generic_ctlbyfsid | |
759 | ,&sysctl__vfs_generic_noremotehang | |
91447636 | 760 | #if NFSCLIENT |
55e303ae A |
761 | ,&sysctl__vfs_generic_nfs |
762 | ,&sysctl__vfs_generic_nfs_client | |
763 | ,&sysctl__vfs_generic_nfs_client_initialdowndelay | |
764 | ,&sysctl__vfs_generic_nfs_client_nextdowndelay | |
91447636 | 765 | #endif |
1c79356b | 766 | ,&sysctl__kern_ipc |
9bccf70c | 767 | ,&sysctl__kern_sysv |
1c79356b A |
768 | ,&sysctl__net_inet |
769 | #if NETAT | |
770 | ,&sysctl__net_appletalk | |
771 | #endif /* NETAT */ | |
772 | ,&sysctl__net_link | |
773 | ,&sysctl__net_local | |
774 | ,&sysctl__net_routetable | |
775 | #if IPDIVERT | |
776 | ,&sysctl__net_inet_div | |
777 | #endif | |
778 | ,&sysctl__net_inet_icmp | |
779 | ,&sysctl__net_inet_igmp | |
780 | ,&sysctl__net_inet_ip | |
781 | ,&sysctl__net_inet_raw | |
782 | ,&sysctl__net_inet_tcp | |
783 | ,&sysctl__net_inet_udp | |
784 | ,&sysctl__net_inet_ip_portrange | |
785 | ,&sysctl__net_link_ether | |
786 | ,&sysctl__net_link_ether_inet | |
787 | ,&sysctl__net_local_dgram | |
788 | ,&sysctl__net_local_stream | |
789 | ,&sysctl__sysctl_name | |
790 | ,&sysctl__sysctl_next | |
791 | ,&sysctl__sysctl_oidfmt | |
792 | ,&sysctl__net_inet_ip_portrange_first | |
793 | ,&sysctl__net_inet_ip_portrange_hifirst | |
794 | ,&sysctl__net_inet_ip_portrange_hilast | |
795 | ,&sysctl__net_inet_ip_portrange_last | |
796 | ,&sysctl__net_inet_ip_portrange_lowfirst | |
797 | ,&sysctl__net_inet_ip_portrange_lowlast | |
798 | ,&sysctl__net_inet_raw_pcblist | |
799 | ,&sysctl__net_inet_tcp_pcblist | |
800 | ,&sysctl__net_inet_udp_pcblist | |
801 | ,&sysctl__net_local_dgram_pcblist | |
802 | ,&sysctl__net_local_stream_pcblist | |
803 | ,&sysctl__sysctl_debug | |
804 | ,&sysctl__sysctl_name2oid | |
805 | ,&sysctl__net_inet_icmp_stats | |
806 | ,&sysctl__net_inet_igmp_stats | |
807 | ,&sysctl__net_inet_ip_stats | |
808 | ,&sysctl__net_inet_tcp_stats | |
809 | ,&sysctl__net_inet_udp_stats | |
810 | #if INET6 | |
811 | ,&sysctl__net_inet6 | |
812 | ,&sysctl__net_inet6_ip6 | |
813 | ,&sysctl__net_inet6_icmp6 | |
9bccf70c | 814 | ,&sysctl__net_inet6_ip6_stats |
1c79356b A |
815 | ,&sysctl__net_inet6_ip6_forwarding |
816 | ,&sysctl__net_inet6_ip6_redirect | |
817 | ,&sysctl__net_inet6_ip6_hlim | |
818 | ,&sysctl__net_inet6_ip6_maxfragpackets | |
91447636 | 819 | ,&sysctl__net_inet6_ip6_maxfrags |
1c79356b A |
820 | ,&sysctl__net_inet6_ip6_accept_rtadv |
821 | ,&sysctl__net_inet6_ip6_keepfaith | |
822 | ,&sysctl__net_inet6_ip6_log_interval | |
823 | ,&sysctl__net_inet6_ip6_hdrnestlimit | |
824 | ,&sysctl__net_inet6_ip6_dad_count | |
825 | ,&sysctl__net_inet6_ip6_auto_flowlabel | |
826 | ,&sysctl__net_inet6_ip6_defmcasthlim | |
827 | ,&sysctl__net_inet6_ip6_gifhlim | |
828 | ,&sysctl__net_inet6_ip6_kame_version | |
829 | ,&sysctl__net_inet6_ip6_use_deprecated | |
830 | ,&sysctl__net_inet6_ip6_rr_prune | |
9bccf70c A |
831 | ,&sysctl__net_inet6_ip6_use_tempaddr |
832 | ,&sysctl__net_inet6_ip6_v6only | |
833 | ,&sysctl__net_inet6_ip6_auto_linklocal | |
834 | ,&sysctl__net_inet6_ip6_rip6stats | |
91447636 | 835 | ,&sysctl__net_inet6_ip6_mrt6stat |
9bccf70c A |
836 | ,&sysctl__net_inet6_ip6_rtexpire |
837 | ,&sysctl__net_inet6_ip6_rtminexpire | |
838 | ,&sysctl__net_inet6_ip6_rtmaxcache | |
839 | ,&sysctl__net_inet6_ip6_temppltime | |
840 | ,&sysctl__net_inet6_ip6_tempvltime | |
1c79356b A |
841 | ,&sysctl__net_inet6_icmp6_rediraccept |
842 | ,&sysctl__net_inet6_icmp6_redirtimeout | |
1c79356b A |
843 | ,&sysctl__net_inet6_icmp6_nd6_prune |
844 | ,&sysctl__net_inet6_icmp6_nd6_delay | |
845 | ,&sysctl__net_inet6_icmp6_nd6_umaxtries | |
846 | ,&sysctl__net_inet6_icmp6_nd6_mmaxtries | |
847 | ,&sysctl__net_inet6_icmp6_nd6_useloopback | |
848 | ,&sysctl__net_inet6_icmp6_nodeinfo | |
9bccf70c A |
849 | ,&sysctl__net_inet6_icmp6_stats |
850 | ,&sysctl__net_inet6_icmp6_errppslimit | |
851 | ,&sysctl__net_inet6_icmp6_nd6_maxnudhint | |
852 | ,&sysctl__net_inet6_icmp6_nd6_debug | |
853 | ,&sysctl__net_inet_tcp_v6mssdflt | |
1c79356b A |
854 | #if IPV6FIREWALL |
855 | ,&sysctl__net_inet6_ip6_fw | |
856 | ,&sysctl__net_inet6_ip6_fw_debug | |
857 | ,&sysctl__net_inet6_ip6_fw_verbose | |
858 | ,&sysctl__net_inet6_ip6_fw_verbose_limit | |
859 | #endif | |
860 | #if IPSEC | |
9bccf70c A |
861 | ,&sysctl__net_inet6_ipsec6 |
862 | ,&sysctl__net_inet6_ipsec6_stats | |
1c79356b A |
863 | ,&sysctl__net_inet6_ipsec6_def_policy |
864 | ,&sysctl__net_inet6_ipsec6_esp_trans_deflev | |
865 | ,&sysctl__net_inet6_ipsec6_esp_net_deflev | |
866 | ,&sysctl__net_inet6_ipsec6_ah_trans_deflev | |
867 | ,&sysctl__net_inet6_ipsec6_ah_net_deflev | |
1c79356b A |
868 | ,&sysctl__net_inet6_ipsec6_ecn |
869 | ,&sysctl__net_inet6_ipsec6_debug | |
9bccf70c | 870 | ,&sysctl__net_inet6_ipsec6_esp_randpad |
1c79356b A |
871 | #endif |
872 | #endif | |
873 | #if IPSEC | |
874 | ,&sysctl__net_key | |
875 | ,&sysctl__net_key_debug | |
55e303ae | 876 | ,&sysctl__net_key_prefered_oldsa |
1c79356b A |
877 | ,&sysctl__net_key_spi_trycnt |
878 | ,&sysctl__net_key_spi_minval | |
879 | ,&sysctl__net_key_spi_maxval | |
880 | ,&sysctl__net_key_int_random | |
881 | ,&sysctl__net_key_larval_lifetime | |
882 | ,&sysctl__net_key_blockacq_count | |
883 | ,&sysctl__net_key_blockacq_lifetime | |
9bccf70c | 884 | ,&sysctl__net_key_esp_keymin |
55e303ae | 885 | ,&sysctl__net_key_esp_auth |
9bccf70c | 886 | ,&sysctl__net_key_ah_keymin |
55e303ae | 887 | ,&sysctl__net_key_natt_keepalive_interval |
91447636 | 888 | ,&sysctl__net_key_pfkeystat |
1c79356b | 889 | ,&sysctl__net_inet_ipsec |
9bccf70c | 890 | ,&sysctl__net_inet_ipsec_stats |
1c79356b A |
891 | ,&sysctl__net_inet_ipsec_def_policy |
892 | ,&sysctl__net_inet_ipsec_esp_trans_deflev | |
893 | ,&sysctl__net_inet_ipsec_esp_net_deflev | |
894 | ,&sysctl__net_inet_ipsec_ah_trans_deflev | |
895 | ,&sysctl__net_inet_ipsec_ah_net_deflev | |
1c79356b A |
896 | ,&sysctl__net_inet_ipsec_ah_cleartos |
897 | ,&sysctl__net_inet_ipsec_ah_offsetmask | |
898 | ,&sysctl__net_inet_ipsec_dfbit | |
899 | ,&sysctl__net_inet_ipsec_ecn | |
900 | ,&sysctl__net_inet_ipsec_debug | |
9bccf70c A |
901 | ,&sysctl__net_inet_ipsec_esp_randpad |
902 | ,&sysctl__net_inet_ipsec_bypass | |
55e303ae | 903 | ,&sysctl__net_inet_ipsec_esp_port |
1c79356b A |
904 | #endif |
905 | ,(struct sysctl_oid *) 0 | |
906 | }; | |
907 |