blob: 38386bea127e1efa2dd4d263b709038571fed4e3 [file] [log] [blame]
Christopher Ferris05d08e92016-02-04 13:16:38 -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 ****************************************************************************/
19#ifndef _UAPI_LINUX_ILA_H
20#define _UAPI_LINUX_ILA_H
Christopher Ferris106b3a82016-08-24 12:15:38 -070021#define ILA_GENL_NAME "ila"
22#define ILA_GENL_VERSION 0x1
Christopher Ferris05d08e92016-02-04 13:16:38 -080023enum {
24 ILA_ATTR_UNSPEC,
Christopher Ferris05d08e92016-02-04 13:16:38 -080025 ILA_ATTR_LOCATOR,
Christopher Ferris106b3a82016-08-24 12:15:38 -070026 ILA_ATTR_IDENTIFIER,
Christopher Ferris106b3a82016-08-24 12:15:38 -070027 ILA_ATTR_LOCATOR_MATCH,
28 ILA_ATTR_IFINDEX,
29 ILA_ATTR_DIR,
30 ILA_ATTR_PAD,
Christopher Ferris106b3a82016-08-24 12:15:38 -070031 ILA_ATTR_CSUM_MODE,
Christopher Ferris05d08e92016-02-04 13:16:38 -080032 __ILA_ATTR_MAX,
33};
34#define ILA_ATTR_MAX (__ILA_ATTR_MAX - 1)
Christopher Ferris106b3a82016-08-24 12:15:38 -070035enum {
36 ILA_CMD_UNSPEC,
37 ILA_CMD_ADD,
38 ILA_CMD_DEL,
Christopher Ferris106b3a82016-08-24 12:15:38 -070039 ILA_CMD_GET,
40 __ILA_CMD_MAX,
41};
42#define ILA_CMD_MAX (__ILA_CMD_MAX - 1)
Christopher Ferris106b3a82016-08-24 12:15:38 -070043#define ILA_DIR_IN (1 << 0)
44#define ILA_DIR_OUT (1 << 1)
45enum {
46 ILA_CSUM_ADJUST_TRANSPORT,
Christopher Ferris106b3a82016-08-24 12:15:38 -070047 ILA_CSUM_NEUTRAL_MAP,
48 ILA_CSUM_NO_ACTION,
49};
Christopher Ferris05d08e92016-02-04 13:16:38 -080050#endif