summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2005-08-10 10:54:28 +0200
committerDavid S. Miller2005-08-30 00:56:23 +0200
commit540722ffc3a0d7e11d97a13e1ce6f3bc23b061c1 (patch)
tree0d750a23bc5e5e65ae4fd7baef237476398ca2ec /include
parent[ICSK]: Move TCP congestion avoidance members to icsk (diff)
downloadkernel-qcow2-linux-540722ffc3a0d7e11d97a13e1ce6f3bc23b061c1.tar.gz
kernel-qcow2-linux-540722ffc3a0d7e11d97a13e1ce6f3bc23b061c1.tar.xz
kernel-qcow2-linux-540722ffc3a0d7e11d97a13e1ce6f3bc23b061c1.zip
[TCPDIAG]: Implement cheapest way of supporting DCCPDIAG_GETSOCK
With ugly ifdefs, etc, but this actually: 1. keeps the existing ABI, i.e. no need to recompile the iproute2 utilities if not interested in DCCP. 2. Provides all the tcp_diag functionality in DCCP, with just a small patch that makes iproute2 support DCCP. Of course I'll get this cleaned-up in time, but for now I think its OK to be this way to quickly get this functionality. iproute2-ss050808 patch at: http://vger.kernel.org/~acme/iproute2-ss050808.dccp.patch Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tcp_diag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/tcp_diag.h b/include/linux/tcp_diag.h
index 7a5996743946..190494ebcfb8 100644
--- a/include/linux/tcp_diag.h
+++ b/include/linux/tcp_diag.h
@@ -3,6 +3,7 @@
/* Just some random number */
#define TCPDIAG_GETSOCK 18
+#define DCCPDIAG_GETSOCK 19
/* Socket identity */
struct tcpdiag_sockid