1#ifndef STRACE_LINUX_NETLINK_DIAG_H 2#define STRACE_LINUX_NETLINK_DIAG_H 3 4struct netlink_diag_req { 5 uint8_t sdiag_family; 6 uint8_t sdiag_protocol; 7 uint16_t pad; 8 uint32_t ndiag_ino; 9 uint32_t ndiag_show; 10 uint32_t ndiag_cookie[2]; 11}; 12 13struct netlink_diag_msg { 14 uint8_t ndiag_family; 15 uint8_t ndiag_type; 16 uint8_t ndiag_protocol; 17 uint8_t ndiag_state; 18 19 uint32_t ndiag_portid; 20 uint32_t ndiag_dst_portid; 21 uint32_t ndiag_dst_group; 22 uint32_t ndiag_ino; 23 uint32_t ndiag_cookie[2]; 24}; 25 26#define NDIAG_SHOW_MEMINFO 0x00000001 27#define NDIAG_PROTO_ALL ((uint8_t) ~0) 28 29#endif /* !STRACE_LINUX_NETLINK_DIAG_H */ 30