aboutsummaryrefslogtreecommitdiff
path: root/net/dccp
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-08-12 12:51:49 -0300
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 15:57:44 -0700
commit73c1f4a033675f168df7e98bbeeafca3c644b8a6 (patch)
tree041e0c203be710b39c8b3a1c18d23e7a50e321a6 /net/dccp
parent4f5736c4c7cf6f9bd8db82b712cfdd51c87e06b9 (diff)
downloadlinux-73c1f4a033675f168df7e98bbeeafca3c644b8a6.tar.gz
[TCPDIAG]: Just rename everything to inet_diag
Next changeset will rename tcp_diag.[ch] to inet_diag.[ch]. I'm taking this longer route so as to easy review, making clear the changes made all along the way. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/Kconfig4
-rw-r--r--net/dccp/diag.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/net/dccp/Kconfig b/net/dccp/Kconfig
index ff5b5459b97..efce4f346fd 100644
--- a/net/dccp/Kconfig
+++ b/net/dccp/Kconfig
@@ -20,8 +20,8 @@ config IP_DCCP
If in doubt, say N.
config IP_DCCP_DIAG
- depends on IP_DCCP && IP_TCPDIAG
- def_tristate y if (IP_DCCP = y && IP_TCPDIAG = y)
+ depends on IP_DCCP && IP_INET_DIAG
+ def_tristate y if (IP_DCCP = y && IP_INET_DIAG = y)
def_tristate m
source "net/dccp/ccids/Kconfig"
diff --git a/net/dccp/diag.c b/net/dccp/diag.c
index 4d9037c56dd..9f07eff2e3b 100644
--- a/net/dccp/diag.c
+++ b/net/dccp/diag.c
@@ -16,10 +16,10 @@
#include "dccp.h"
-static void dccp_diag_get_info(struct sock *sk, struct tcpdiagmsg *r,
+static void dccp_diag_get_info(struct sock *sk, struct inet_diag_msg *r,
void *_info)
{
- r->tcpdiag_rqueue = r->tcpdiag_wqueue = 0;
+ r->idiag_rqueue = r->idiag_wqueue = 0;
}
static struct inet_diag_handler dccp_diag_handler = {