sock_diag.h revision f6062360100ada8cbaac5b837c85c8f2f3e0765d
18a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#ifndef __SOCK_DIAG_H__
28a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#define __SOCK_DIAG_H__
38a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
48a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#include <linux/types.h>
58a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
68a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#define SOCK_DIAG_BY_FAMILY 20
78a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
88a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.comstruct sock_diag_req {
98a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com	__u8	sdiag_family;
108a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com	__u8	sdiag_protocol;
118a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com};
128a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
138a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.comenum {
148a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com	SK_MEMINFO_RMEM_ALLOC,
158a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com	SK_MEMINFO_RCVBUF,
168a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com	SK_MEMINFO_WMEM_ALLOC,
178a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com	SK_MEMINFO_SNDBUF,
188a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com	SK_MEMINFO_FWD_ALLOC,
198a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com	SK_MEMINFO_WMEM_QUEUED,
208a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com	SK_MEMINFO_OPTMEM,
218a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
228a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com	SK_MEMINFO_VARS,
238a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com};
248a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
258a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#endif
268a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com