Commit e7c466e5 authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by David S. Miller

sock_diag: Move the SOCK_DIAG_BY_FAMILY cmd declaration

It should belong to sock_diag, not inet_diag.
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b26e478f
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
/* Just some random number */ /* Just some random number */
#define TCPDIAG_GETSOCK 18 #define TCPDIAG_GETSOCK 18
#define DCCPDIAG_GETSOCK 19 #define DCCPDIAG_GETSOCK 19
#define SOCK_DIAG_BY_FAMILY 20
#define INET_DIAG_GETSOCK_MAX 24 #define INET_DIAG_GETSOCK_MAX 24
......
#ifndef __SOCK_DIAG_H__ #ifndef __SOCK_DIAG_H__
#define __SOCK_DIAG_H__ #define __SOCK_DIAG_H__
#define SOCK_DIAG_BY_FAMILY 20
struct sk_buff; struct sk_buff;
struct nlmsghdr; struct nlmsghdr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment