sk_rmem_alloc is disclosed via /proc/net/packet but not via netlink messages. The goal is to have the same level of information.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -16,6 +16,7 @@ struct packet_diag_req { · 15 unmodified lines | |||
| 16 | #define PACKET_SHOW_MCLIST 0x00000002 /* A set of packet_diag_mclist-s */ | 16 | #define PACKET_SHOW_MCLIST 0x00000002 /* A set of packet_diag_mclist-s */ |
| 17 | #define PACKET_SHOW_RING_CFG 0x00000004 /* Rings configuration parameters */ | 17 | #define PACKET_SHOW_RING_CFG 0x00000004 /* Rings configuration parameters */ |
| 18 | #define PACKET_SHOW_FANOUT 0x00000008 | 18 | #define PACKET_SHOW_FANOUT 0x00000008 |
| 19 | #define PACKET_SHOW_MEMINFO 0x00000010 | ||
| 19 | 20 | ||
| 20 | struct packet_diag_msg { | 21 | struct packet_diag_msg { |
| 21 | __u8 pdiag_family; | 22 | __u8 pdiag_family; |
| @@ -33,6 +34,7 @@ enum { · 11 unmodified lines | |||
| 33 | PACKET_DIAG_TX_RING, | 34 | PACKET_DIAG_TX_RING, |
| 34 | PACKET_DIAG_FANOUT, | 35 | PACKET_DIAG_FANOUT, |
| 35 | PACKET_DIAG_UID, | 36 | PACKET_DIAG_UID, |
| 37 | PACKET_DIAG_MEMINFO, | ||
| 36 | 38 | ||
| 37 | __PACKET_DIAG_MAX, | 39 | __PACKET_DIAG_MAX, |
| 38 | }; | 40 | }; |