diag: warn about missing first netlink attribute
[deliverable/linux.git] / include / uapi / linux / packet_diag.h
index afafd703ad92b1595a5c7c326883fe89816f920f..d08c63f3dd6ff47c7cf090927e91f27cfc0d767f 100644 (file)
@@ -16,6 +16,8 @@ struct packet_diag_req {
 #define PACKET_SHOW_MCLIST     0x00000002 /* A set of packet_diag_mclist-s */
 #define PACKET_SHOW_RING_CFG   0x00000004 /* Rings configuration parameters */
 #define PACKET_SHOW_FANOUT     0x00000008
+#define PACKET_SHOW_MEMINFO    0x00000010
+#define PACKET_SHOW_FILTER     0x00000020
 
 struct packet_diag_msg {
        __u8    pdiag_family;
@@ -27,11 +29,15 @@ struct packet_diag_msg {
 };
 
 enum {
+       /* PACKET_DIAG_NONE, standard nl API requires this attribute!  */
        PACKET_DIAG_INFO,
        PACKET_DIAG_MCLIST,
        PACKET_DIAG_RX_RING,
        PACKET_DIAG_TX_RING,
        PACKET_DIAG_FANOUT,
+       PACKET_DIAG_UID,
+       PACKET_DIAG_MEMINFO,
+       PACKET_DIAG_FILTER,
 
        __PACKET_DIAG_MAX,
 };
This page took 0.024325 seconds and 5 git commands to generate.