• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef _UAPI__SOCK_DIAG_H__
2 #define _UAPI__SOCK_DIAG_H__
3 
4 #include <linux/types.h>
5 
6 #define SOCK_DIAG_BY_FAMILY 20
7 #define SOCK_DESTROY_BACKPORT 21
8 
9 struct sock_diag_req {
10 	__u8	sdiag_family;
11 	__u8	sdiag_protocol;
12 };
13 
14 enum {
15 	SK_MEMINFO_RMEM_ALLOC,
16 	SK_MEMINFO_RCVBUF,
17 	SK_MEMINFO_WMEM_ALLOC,
18 	SK_MEMINFO_SNDBUF,
19 	SK_MEMINFO_FWD_ALLOC,
20 	SK_MEMINFO_WMEM_QUEUED,
21 	SK_MEMINFO_OPTMEM,
22 	SK_MEMINFO_BACKLOG,
23 
24 	SK_MEMINFO_VARS,
25 };
26 
27 #endif /* _UAPI__SOCK_DIAG_H__ */
28