aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r--include/linux/sysctl.h70
1 files changed, 68 insertions, 2 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 3a29a9f9b451..6bc03c911a83 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -20,10 +20,10 @@
20 20
21#include <linux/kernel.h> 21#include <linux/kernel.h>
22#include <linux/types.h> 22#include <linux/types.h>
23#include <linux/list.h>
24#include <linux/compiler.h> 23#include <linux/compiler.h>
25 24
26struct file; 25struct file;
26struct completion;
27 27
28#define CTL_MAXNAME 10 /* how many path components do we allow in a 28#define CTL_MAXNAME 10 /* how many path components do we allow in a
29 call to sysctl? In other words, what is 29 call to sysctl? In other words, what is
@@ -202,7 +202,9 @@ enum
202 NET_TR=14, 202 NET_TR=14,
203 NET_DECNET=15, 203 NET_DECNET=15,
204 NET_ECONET=16, 204 NET_ECONET=16,
205 NET_SCTP=17, 205 NET_SCTP=17,
206 NET_LLC=18,
207 NET_NETFILTER=19,
206}; 208};
207 209
208/* /proc/sys/kernel/random */ 210/* /proc/sys/kernel/random */
@@ -268,6 +270,42 @@ enum
268 NET_UNIX_MAX_DGRAM_QLEN=3, 270 NET_UNIX_MAX_DGRAM_QLEN=3,
269}; 271};
270 272
273/* /proc/sys/net/netfilter */
274enum
275{
276 NET_NF_CONNTRACK_MAX=1,
277 NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT=2,
278 NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV=3,
279 NET_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED=4,
280 NET_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT=5,
281 NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT=6,
282 NET_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK=7,
283 NET_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT=8,
284 NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE=9,
285 NET_NF_CONNTRACK_UDP_TIMEOUT=10,
286 NET_NF_CONNTRACK_UDP_TIMEOUT_STREAM=11,
287 NET_NF_CONNTRACK_ICMP_TIMEOUT=12,
288 NET_NF_CONNTRACK_GENERIC_TIMEOUT=13,
289 NET_NF_CONNTRACK_BUCKETS=14,
290 NET_NF_CONNTRACK_LOG_INVALID=15,
291 NET_NF_CONNTRACK_TCP_TIMEOUT_MAX_RETRANS=16,
292 NET_NF_CONNTRACK_TCP_LOOSE=17,
293 NET_NF_CONNTRACK_TCP_BE_LIBERAL=18,
294 NET_NF_CONNTRACK_TCP_MAX_RETRANS=19,
295 NET_NF_CONNTRACK_SCTP_TIMEOUT_CLOSED=20,
296 NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_WAIT=21,
297 NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_ECHOED=22,
298 NET_NF_CONNTRACK_SCTP_TIMEOUT_ESTABLISHED=23,
299 NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_SENT=24,
300 NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_RECD=25,
301 NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_ACK_SENT=26,
302 NET_NF_CONNTRACK_COUNT=27,
303 NET_NF_CONNTRACK_ICMPV6_TIMEOUT=28,
304 NET_NF_CONNTRACK_FRAG6_TIMEOUT=29,
305 NET_NF_CONNTRACK_FRAG6_LOW_THRESH=30,
306 NET_NF_CONNTRACK_FRAG6_HIGH_THRESH=31,
307};
308
271/* /proc/sys/net/ipv4 */ 309/* /proc/sys/net/ipv4 */
272enum 310enum
273{ 311{
@@ -351,6 +389,7 @@ enum
351 NET_TCP_BIC_BETA=108, 389 NET_TCP_BIC_BETA=108,
352 NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR=109, 390 NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR=109,
353 NET_TCP_CONG_CONTROL=110, 391 NET_TCP_CONG_CONTROL=110,
392 NET_TCP_ABC=111,
354}; 393};
355 394
356enum { 395enum {
@@ -522,6 +561,29 @@ enum {
522 NET_IPX_FORWARDING=2 561 NET_IPX_FORWARDING=2
523}; 562};
524 563
564/* /proc/sys/net/llc */
565enum {
566 NET_LLC2=1,
567 NET_LLC_STATION=2,
568};
569
570/* /proc/sys/net/llc/llc2 */
571enum {
572 NET_LLC2_TIMEOUT=1,
573};
574
575/* /proc/sys/net/llc/station */
576enum {
577 NET_LLC_STATION_ACK_TIMEOUT=1,
578};
579
580/* /proc/sys/net/llc/llc2/timeout */
581enum {
582 NET_LLC2_ACK_TIMEOUT=1,
583 NET_LLC2_P_TIMEOUT=2,
584 NET_LLC2_REJ_TIMEOUT=3,
585 NET_LLC2_BUSY_TIMEOUT=4,
586};
525 587
526/* /proc/sys/net/appletalk */ 588/* /proc/sys/net/appletalk */
527enum { 589enum {
@@ -652,6 +714,7 @@ enum {
652 NET_SCTP_PRSCTP_ENABLE = 14, 714 NET_SCTP_PRSCTP_ENABLE = 14,
653 NET_SCTP_SNDBUF_POLICY = 15, 715 NET_SCTP_SNDBUF_POLICY = 15,
654 NET_SCTP_SACK_TIMEOUT = 16, 716 NET_SCTP_SACK_TIMEOUT = 16,
717 NET_SCTP_RCVBUF_POLICY = 17,
655}; 718};
656 719
657/* /proc/sys/net/bridge */ 720/* /proc/sys/net/bridge */
@@ -795,6 +858,7 @@ enum
795}; 858};
796 859
797#ifdef __KERNEL__ 860#ifdef __KERNEL__
861#include <linux/list.h>
798 862
799extern void sysctl_init(void); 863extern void sysctl_init(void);
800 864
@@ -901,6 +965,8 @@ struct ctl_table_header
901{ 965{
902 ctl_table *ctl_table; 966 ctl_table *ctl_table;
903 struct list_head ctl_entry; 967 struct list_head ctl_entry;
968 int used;
969 struct completion *unregistering;
904}; 970};
905 971
906struct ctl_table_header * register_sysctl_table(ctl_table * table, 972struct ctl_table_header * register_sysctl_table(ctl_table * table,