• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef _UAPI__SOCK_DIAG_H__
20 #define _UAPI__SOCK_DIAG_H__
21 #include <linux/types.h>
22 #define SOCK_DIAG_BY_FAMILY 20
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define SOCK_DESTROY 21
25 struct sock_diag_req {
26   __u8 sdiag_family;
27   __u8 sdiag_protocol;
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 };
30 enum {
31   SK_MEMINFO_RMEM_ALLOC,
32   SK_MEMINFO_RCVBUF,
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34   SK_MEMINFO_WMEM_ALLOC,
35   SK_MEMINFO_SNDBUF,
36   SK_MEMINFO_FWD_ALLOC,
37   SK_MEMINFO_WMEM_QUEUED,
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39   SK_MEMINFO_OPTMEM,
40   SK_MEMINFO_BACKLOG,
41   SK_MEMINFO_DROPS,
42   SK_MEMINFO_VARS,
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 };
45 enum sknetlink_groups {
46   SKNLGRP_NONE,
47   SKNLGRP_INET_TCP_DESTROY,
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49   SKNLGRP_INET_UDP_DESTROY,
50   SKNLGRP_INET6_TCP_DESTROY,
51   SKNLGRP_INET6_UDP_DESTROY,
52   __SKNLGRP_MAX,
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 };
55 #define SKNLGRP_MAX (__SKNLGRP_MAX - 1)
56 #endif
57