aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/networking/dccp.txt4
-rw-r--r--include/linux/sysctl.h1
-rw-r--r--net/dccp/sysctl.c9
3 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/networking/dccp.txt b/Documentation/networking/dccp.txt
index 1910d097a0ad..dda15886bcb5 100644
--- a/Documentation/networking/dccp.txt
+++ b/Documentation/networking/dccp.txt
@@ -100,6 +100,10 @@ rx_ccid = 2
100seq_window = 100 100seq_window = 100
101 The initial sequence window (sec. 7.5.2). 101 The initial sequence window (sec. 7.5.2).
102 102
103tx_qlen = 5
104 The size of the transmit buffer in packets. A value of 0 corresponds
105 to an unbounded transmit buffer.
106
103Notes 107Notes
104===== 108=====
105 109
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 2e8c5ad82793..61dd99c6c2a5 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -617,6 +617,7 @@ enum {
617 NET_DCCP_DEFAULT_REQ_RETRIES = 7, 617 NET_DCCP_DEFAULT_REQ_RETRIES = 7,
618 NET_DCCP_DEFAULT_RETRIES1 = 8, 618 NET_DCCP_DEFAULT_RETRIES1 = 8,
619 NET_DCCP_DEFAULT_RETRIES2 = 9, 619 NET_DCCP_DEFAULT_RETRIES2 = 9,
620 NET_DCCP_DEFAULT_TX_QLEN = 10,
620}; 621};
621 622
622/* /proc/sys/net/ipx */ 623/* /proc/sys/net/ipx */
diff --git a/net/dccp/sysctl.c b/net/dccp/sysctl.c
index 8b62061e5701..4775ba3faa04 100644
--- a/net/dccp/sysctl.c
+++ b/net/dccp/sysctl.c
@@ -91,6 +91,15 @@ static struct ctl_table dccp_default_table[] = {
91 .mode = 0644, 91 .mode = 0644,
92 .proc_handler = proc_dointvec, 92 .proc_handler = proc_dointvec,
93 }, 93 },
94 {
95 .ctl_name = NET_DCCP_DEFAULT_TX_QLEN,
96 .procname = "tx_qlen",
97 .data = &sysctl_dccp_tx_qlen,
98 .maxlen = sizeof(sysctl_dccp_tx_qlen),
99 .mode = 0644,
100 .proc_handler = proc_dointvec,
101 },
102
94 { .ctl_name = 0, } 103 { .ctl_name = 0, }
95}; 104};
96 105