blob: 39fa6c131f7c13a7389331ce9e9ee073f2131dd9 [file] [log] [blame]
Nick Kralevicha67e4de2013-01-14 11:28:26 -08001/****************************************************************************
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 ****************************************************************************/
Ben Cheng655a7c02013-10-16 16:09:24 -070019#ifndef _UAPI__SOCK_DIAG_H__
20#define _UAPI__SOCK_DIAG_H__
21#include <linux/types.h>
22#define SOCK_DIAG_BY_FAMILY 20
Nick Kralevicha67e4de2013-01-14 11:28:26 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -070024#define SOCK_DESTROY 21
Ben Cheng655a7c02013-10-16 16:09:24 -070025struct sock_diag_req {
Tao Baod7db5942015-01-28 10:07:51 -080026 __u8 sdiag_family;
27 __u8 sdiag_protocol;
Nick Kralevicha67e4de2013-01-14 11:28:26 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -070029};
Ben Cheng655a7c02013-10-16 16:09:24 -070030enum {
Tao Baod7db5942015-01-28 10:07:51 -080031 SK_MEMINFO_RMEM_ALLOC,
32 SK_MEMINFO_RCVBUF,
Nick Kralevicha67e4de2013-01-14 11:28:26 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -070034 SK_MEMINFO_WMEM_ALLOC,
Tao Baod7db5942015-01-28 10:07:51 -080035 SK_MEMINFO_SNDBUF,
36 SK_MEMINFO_FWD_ALLOC,
37 SK_MEMINFO_WMEM_QUEUED,
Nick Kralevicha67e4de2013-01-14 11:28:26 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -070039 SK_MEMINFO_OPTMEM,
Tao Baod7db5942015-01-28 10:07:51 -080040 SK_MEMINFO_BACKLOG,
Christopher Ferris106b3a82016-08-24 12:15:38 -070041 SK_MEMINFO_DROPS,
Tao Baod7db5942015-01-28 10:07:51 -080042 SK_MEMINFO_VARS,
Christopher Ferris106b3a82016-08-24 12:15:38 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070044};
Christopher Ferris05d08e92016-02-04 13:16:38 -080045enum sknetlink_groups {
Christopher Ferris05d08e92016-02-04 13:16:38 -080046 SKNLGRP_NONE,
47 SKNLGRP_INET_TCP_DESTROY,
Christopher Ferris106b3a82016-08-24 12:15:38 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -080049 SKNLGRP_INET_UDP_DESTROY,
50 SKNLGRP_INET6_TCP_DESTROY,
Christopher Ferris05d08e92016-02-04 13:16:38 -080051 SKNLGRP_INET6_UDP_DESTROY,
52 __SKNLGRP_MAX,
Christopher Ferris106b3a82016-08-24 12:15:38 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -080054};
55#define SKNLGRP_MAX (__SKNLGRP_MAX - 1)
Christopher Ferris05d08e92016-02-04 13:16:38 -080056#endif