summaryrefslogtreecommitdiffstats
path: root/include/linux/sock_diag.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@parallels.com>2011-12-15 02:42:42 +0000
committerDavid S. Miller <davem@davemloft.net>2011-12-16 13:48:27 -0500
commite7c466e58eb1ff9bf49c2f3902622dc11a8c7022 (patch)
tree3b946527f5d7f9a014245c3d421c87c3b3a966ff /include/linux/sock_diag.h
parentb26e478f8fd5b575684f021b05a5c6236ebb911a (diff)
downloadlinux-e7c466e58eb1ff9bf49c2f3902622dc11a8c7022.tar.gz
linux-e7c466e58eb1ff9bf49c2f3902622dc11a8c7022.tar.bz2
linux-e7c466e58eb1ff9bf49c2f3902622dc11a8c7022.zip
sock_diag: Move the SOCK_DIAG_BY_FAMILY cmd declaration
It should belong to sock_diag, not inet_diag. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sock_diag.h')
-rw-r--r--include/linux/sock_diag.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sock_diag.h b/include/linux/sock_diag.h
index ba4933b1213b..7999778ad08d 100644
--- a/include/linux/sock_diag.h
+++ b/include/linux/sock_diag.h
@@ -1,5 +1,8 @@
#ifndef __SOCK_DIAG_H__
#define __SOCK_DIAG_H__
+
+#define SOCK_DIAG_BY_FAMILY 20
+
struct sk_buff;
struct nlmsghdr;