Warning: That file was not part of the compilation database. It may have many parsing errors.

1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef __SOCK_DIAG_H__
3#define __SOCK_DIAG_H__
4
5#include <linux/types.h>
6
7#define SOCK_DIAG_BY_FAMILY 20
8#define SOCK_DESTROY 21
9
10struct sock_diag_req {
11 __u8 sdiag_family;
12 __u8 sdiag_protocol;
13};
14
15enum {
16 SK_MEMINFO_RMEM_ALLOC,
17 SK_MEMINFO_RCVBUF,
18 SK_MEMINFO_WMEM_ALLOC,
19 SK_MEMINFO_SNDBUF,
20 SK_MEMINFO_FWD_ALLOC,
21 SK_MEMINFO_WMEM_QUEUED,
22 SK_MEMINFO_OPTMEM,
23 SK_MEMINFO_BACKLOG,
24 SK_MEMINFO_DROPS,
25
26 SK_MEMINFO_VARS,
27};
28
29enum sknetlink_groups {
30 SKNLGRP_NONE,
31 SKNLGRP_INET_TCP_DESTROY,
32 SKNLGRP_INET_UDP_DESTROY,
33 SKNLGRP_INET6_TCP_DESTROY,
34 SKNLGRP_INET6_UDP_DESTROY,
35 __SKNLGRP_MAX,
36};
37#define SKNLGRP_MAX (__SKNLGRP_MAX - 1)
38
39#endif /* __SOCK_DIAG_H__ */
40

Warning: That file was not part of the compilation database. It may have many parsing errors.