summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/unix_diag.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@parallels.com>2012-10-23 22:29:56 +0400
committerDavid S. Miller <davem@davemloft.net>2012-10-23 14:57:52 -0400
commite4e541a84863b6a41f2427f59cc9156c644491a8 (patch)
tree304a67f5b5872ea57a3af5f3d8a87de0f6c10487 /include/uapi/linux/unix_diag.h
parent5a85d716ab69035138cc49b5a71686343abc950b (diff)
downloadlinux-e4e541a84863b6a41f2427f59cc9156c644491a8.tar.gz
linux-e4e541a84863b6a41f2427f59cc9156c644491a8.tar.bz2
linux-e4e541a84863b6a41f2427f59cc9156c644491a8.zip
sock-diag: Report shutdown for inet and unix sockets (v2)
Make it simple -- just put new nlattr with just sk->sk_shutdown bits. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/unix_diag.h')
-rw-r--r--include/uapi/linux/unix_diag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/unix_diag.h b/include/uapi/linux/unix_diag.h
index b1d2bf16b33c..b8a24941db21 100644
--- a/include/uapi/linux/unix_diag.h
+++ b/include/uapi/linux/unix_diag.h
@@ -37,6 +37,7 @@ enum {
UNIX_DIAG_ICONS,
UNIX_DIAG_RQLEN,
UNIX_DIAG_MEMINFO,
+ UNIX_DIAG_SHUTDOWN,
UNIX_DIAG_MAX,
};