summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@parallels.com>2011-12-06 07:57:06 +0000
committerDavid S. Miller <davem@davemloft.net>2011-12-06 13:58:01 -0500
commit8d34172dfdb762a306cdf58b547aa10d798622ec (patch)
tree5ad5bbd9117ea444eb06b0519c61f77576818d79 /include
parent7f1fb60c4fc9fb29fbb406ac8c4cfb4e59e168d6 (diff)
downloadlinux-8d34172dfdb762a306cdf58b547aa10d798622ec.tar.gz
linux-8d34172dfdb762a306cdf58b547aa10d798622ec.tar.bz2
linux-8d34172dfdb762a306cdf58b547aa10d798622ec.zip
sock_diag: Introduce new message type
This type will run the family+protocol based socket dumping. Also prepare the stub function for it. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/inet_diag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/inet_diag.h b/include/linux/inet_diag.h
index abf5028db981..f7baaf637426 100644
--- a/include/linux/inet_diag.h
+++ b/include/linux/inet_diag.h
@@ -6,6 +6,7 @@
/* Just some random number */
#define TCPDIAG_GETSOCK 18
#define DCCPDIAG_GETSOCK 19
+#define SOCK_DIAG_BY_FAMILY 20
#define INET_DIAG_GETSOCK_MAX 24