diff options
Diffstat (limited to 'net/dccp/sysctl.c')
-rw-r--r-- | net/dccp/sysctl.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/dccp/sysctl.c b/net/dccp/sysctl.c index 38bc157876f3..7b09f2179985 100644 --- a/net/dccp/sysctl.c +++ b/net/dccp/sysctl.c | |||
@@ -11,6 +11,7 @@ | |||
11 | 11 | ||
12 | #include <linux/mm.h> | 12 | #include <linux/mm.h> |
13 | #include <linux/sysctl.h> | 13 | #include <linux/sysctl.h> |
14 | #include "dccp.h" | ||
14 | #include "feat.h" | 15 | #include "feat.h" |
15 | 16 | ||
16 | #ifndef CONFIG_SYSCTL | 17 | #ifndef CONFIG_SYSCTL |
@@ -66,6 +67,30 @@ static struct ctl_table dccp_default_table[] = { | |||
66 | .mode = 0644, | 67 | .mode = 0644, |
67 | .proc_handler = proc_dointvec, | 68 | .proc_handler = proc_dointvec, |
68 | }, | 69 | }, |
70 | { | ||
71 | .ctl_name = NET_DCCP_DEFAULT_REQ_RETRIES, | ||
72 | .procname = "request_retries", | ||
73 | .data = &sysctl_dccp_request_retries, | ||
74 | .maxlen = sizeof(sysctl_dccp_request_retries), | ||
75 | .mode = 0644, | ||
76 | .proc_handler = proc_dointvec, | ||
77 | }, | ||
78 | { | ||
79 | .ctl_name = NET_DCCP_DEFAULT_RETRIES1, | ||
80 | .procname = "retries1", | ||
81 | .data = &sysctl_dccp_retries1, | ||
82 | .maxlen = sizeof(sysctl_dccp_retries1), | ||
83 | .mode = 0644, | ||
84 | .proc_handler = proc_dointvec, | ||
85 | }, | ||
86 | { | ||
87 | .ctl_name = NET_DCCP_DEFAULT_RETRIES2, | ||
88 | .procname = "retries2", | ||
89 | .data = &sysctl_dccp_retries2, | ||
90 | .maxlen = sizeof(sysctl_dccp_retries2), | ||
91 | .mode = 0644, | ||
92 | .proc_handler = proc_dointvec, | ||
93 | }, | ||
69 | { .ctl_name = 0, } | 94 | { .ctl_name = 0, } |
70 | }; | 95 | }; |
71 | 96 | ||