diff options
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r-- | include/linux/sysctl.h | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index d98562f1df76..81480e613467 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h | |||
@@ -11,7 +11,7 @@ | |||
11 | ** the sysctl() binary interface. Do *NOT* change the | 11 | ** the sysctl() binary interface. Do *NOT* change the |
12 | ** numbering of any existing values here, and do not change | 12 | ** numbering of any existing values here, and do not change |
13 | ** any numbers within any one set of values. If you have to | 13 | ** any numbers within any one set of values. If you have to |
14 | ** have to redefine an existing interface, use a new number for it. | 14 | ** redefine an existing interface, use a new number for it. |
15 | ** The kernel will then return -ENOTDIR to any application using | 15 | ** The kernel will then return -ENOTDIR to any application using |
16 | ** the old binary interface. | 16 | ** the old binary interface. |
17 | ** | 17 | ** |
@@ -426,6 +426,8 @@ enum | |||
426 | NET_CIPSOV4_CACHE_BUCKET_SIZE=119, | 426 | NET_CIPSOV4_CACHE_BUCKET_SIZE=119, |
427 | NET_CIPSOV4_RBM_OPTFMT=120, | 427 | NET_CIPSOV4_RBM_OPTFMT=120, |
428 | NET_CIPSOV4_RBM_STRICTVALID=121, | 428 | NET_CIPSOV4_RBM_STRICTVALID=121, |
429 | NET_TCP_AVAIL_CONG_CONTROL=122, | ||
430 | NET_TCP_ALLOWED_CONG_CONTROL=123, | ||
429 | }; | 431 | }; |
430 | 432 | ||
431 | enum { | 433 | enum { |
@@ -604,16 +606,6 @@ enum { | |||
604 | NET_DCCP_DEFAULT=1, | 606 | NET_DCCP_DEFAULT=1, |
605 | }; | 607 | }; |
606 | 608 | ||
607 | /* /proc/sys/net/dccp/default */ | ||
608 | enum { | ||
609 | NET_DCCP_DEFAULT_SEQ_WINDOW = 1, | ||
610 | NET_DCCP_DEFAULT_RX_CCID = 2, | ||
611 | NET_DCCP_DEFAULT_TX_CCID = 3, | ||
612 | NET_DCCP_DEFAULT_ACK_RATIO = 4, | ||
613 | NET_DCCP_DEFAULT_SEND_ACKVEC = 5, | ||
614 | NET_DCCP_DEFAULT_SEND_NDP = 6, | ||
615 | }; | ||
616 | |||
617 | /* /proc/sys/net/ipx */ | 609 | /* /proc/sys/net/ipx */ |
618 | enum { | 610 | enum { |
619 | NET_IPX_PPROP_BROADCASTING=1, | 611 | NET_IPX_PPROP_BROADCASTING=1, |
@@ -926,8 +918,7 @@ typedef struct ctl_table ctl_table; | |||
926 | 918 | ||
927 | typedef int ctl_handler (ctl_table *table, int __user *name, int nlen, | 919 | typedef int ctl_handler (ctl_table *table, int __user *name, int nlen, |
928 | void __user *oldval, size_t __user *oldlenp, | 920 | void __user *oldval, size_t __user *oldlenp, |
929 | void __user *newval, size_t newlen, | 921 | void __user *newval, size_t newlen); |
930 | void **context); | ||
931 | 922 | ||
932 | typedef int proc_handler (ctl_table *ctl, int write, struct file * filp, | 923 | typedef int proc_handler (ctl_table *ctl, int write, struct file * filp, |
933 | void __user *buffer, size_t *lenp, loff_t *ppos); | 924 | void __user *buffer, size_t *lenp, loff_t *ppos); |
@@ -958,7 +949,7 @@ extern int do_sysctl (int __user *name, int nlen, | |||
958 | extern int do_sysctl_strategy (ctl_table *table, | 949 | extern int do_sysctl_strategy (ctl_table *table, |
959 | int __user *name, int nlen, | 950 | int __user *name, int nlen, |
960 | void __user *oldval, size_t __user *oldlenp, | 951 | void __user *oldval, size_t __user *oldlenp, |
961 | void __user *newval, size_t newlen, void ** context); | 952 | void __user *newval, size_t newlen); |
962 | 953 | ||
963 | extern ctl_handler sysctl_string; | 954 | extern ctl_handler sysctl_string; |
964 | extern ctl_handler sysctl_intvec; | 955 | extern ctl_handler sysctl_intvec; |