netlink: remove mmapped netlink support
[cascardo/linux.git] / include / uapi / linux / netlink_diag.h
index f2159d3..d793993 100644 (file)
@@ -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