aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/inet_diag.h
diff options
context:
space:
mode:
authorLevin, Alexander (Sasha Levin) <alexander.levin@one.verizon.com>2017-08-17 00:35:11 +0000
committerDavid S. Miller <davem@davemloft.net>2017-08-18 16:10:50 -0700
commit0888e372c37fa31882c8ed89fb2f8188b08b6718 (patch)
treeefc001ab308929078bc49a5c673ccf8ae8f334f4 /include/uapi/linux/inet_diag.h
parentmacvlan: add offload features for encapsulation (diff)
downloadlinux-dev-0888e372c37fa31882c8ed89fb2f8188b08b6718.tar.xz
linux-dev-0888e372c37fa31882c8ed89fb2f8188b08b6718.zip
net: inet: diag: expose sockets cgroup classid
This is useful for directly looking up a task based on class id rather than having to scan through all open file descriptors. Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/inet_diag.h')
-rw-r--r--include/uapi/linux/inet_diag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/inet_diag.h b/include/uapi/linux/inet_diag.h
index bbe201047df6..678496897a68 100644
--- a/include/uapi/linux/inet_diag.h
+++ b/include/uapi/linux/inet_diag.h
@@ -142,6 +142,7 @@ enum {
INET_DIAG_PAD,
INET_DIAG_MARK,
INET_DIAG_BBRINFO,
+ INET_DIAG_CLASS_ID,
__INET_DIAG_MAX,
};