1 #ifndef STRACE_LINUX_INET_DIAG_H
2 #define STRACE_LINUX_INET_DIAG_H
4 #define TCPDIAG_GETSOCK 18
5 #define DCCPDIAG_GETSOCK 19
8 struct inet_diag_sockid {
11 uint32_t idiag_src[4];
12 uint32_t idiag_dst[4];
14 uint32_t idiag_cookie[2];
17 /* Request structure */
18 struct inet_diag_req_v2 {
20 uint8_t sdiag_protocol;
23 uint32_t idiag_states;
24 struct inet_diag_sockid id;
28 struct inet_diag_msg {
32 uint8_t idiag_retrans;
34 struct inet_diag_sockid id;
36 uint32_t idiag_expires;
37 uint32_t idiag_rqueue;
38 uint32_t idiag_wqueue;
43 #endif /* !STRACE_LINUX_INET_DIAG_H */