summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/netlink_diag.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/netlink_diag.h')
-rw-r--r--include/uapi/linux/netlink_diag.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/netlink_diag.h b/include/uapi/linux/netlink_diag.h
index f2159d30d1f5..d79399394b46 100644
--- a/include/uapi/linux/netlink_diag.h
+++ b/include/uapi/linux/netlink_diag.h
@@ -48,6 +48,8 @@ enum {
#define NDIAG_SHOW_MEMINFO 0x00000001 /* show memory info of a socket */
#define NDIAG_SHOW_GROUPS 0x00000002 /* show groups of a netlink socket */
+#ifndef __KERNEL__
#define NDIAG_SHOW_RING_CFG 0x00000004 /* show ring configuration */
+#endif
#endif