Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 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_LINUX_ILA_H |
| 20 | #define _UAPI_LINUX_ILA_H |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 21 | #define ILA_GENL_NAME "ila" |
| 22 | #define ILA_GENL_VERSION 0x1 |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 23 | enum { |
| 24 | ILA_ATTR_UNSPEC, |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 25 | ILA_ATTR_LOCATOR, |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 26 | ILA_ATTR_IDENTIFIER, |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 27 | ILA_ATTR_LOCATOR_MATCH, |
| 28 | ILA_ATTR_IFINDEX, |
| 29 | ILA_ATTR_DIR, |
| 30 | ILA_ATTR_PAD, |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 31 | ILA_ATTR_CSUM_MODE, |
Christopher Ferris | 934ec94 | 2018-01-31 15:29:16 -0800 | [diff] [blame] | 32 | ILA_ATTR_IDENT_TYPE, |
| 33 | ILA_ATTR_HOOK_TYPE, |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 34 | __ILA_ATTR_MAX, |
| 35 | }; |
| 36 | #define ILA_ATTR_MAX (__ILA_ATTR_MAX - 1) |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 37 | enum { |
| 38 | ILA_CMD_UNSPEC, |
| 39 | ILA_CMD_ADD, |
| 40 | ILA_CMD_DEL, |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 41 | ILA_CMD_GET, |
Christopher Ferris | 9ce2884 | 2018-10-25 12:11:39 -0700 | [diff] [blame] | 42 | ILA_CMD_FLUSH, |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 43 | __ILA_CMD_MAX, |
| 44 | }; |
| 45 | #define ILA_CMD_MAX (__ILA_CMD_MAX - 1) |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 46 | #define ILA_DIR_IN (1 << 0) |
| 47 | #define ILA_DIR_OUT (1 << 1) |
| 48 | enum { |
| 49 | ILA_CSUM_ADJUST_TRANSPORT, |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 50 | ILA_CSUM_NEUTRAL_MAP, |
| 51 | ILA_CSUM_NO_ACTION, |
Christopher Ferris | 934ec94 | 2018-01-31 15:29:16 -0800 | [diff] [blame] | 52 | ILA_CSUM_NEUTRAL_MAP_AUTO, |
| 53 | }; |
| 54 | enum { |
| 55 | ILA_ATYPE_IID = 0, |
| 56 | ILA_ATYPE_LUID, |
| 57 | ILA_ATYPE_VIRT_V4, |
| 58 | ILA_ATYPE_VIRT_UNI_V6, |
| 59 | ILA_ATYPE_VIRT_MULTI_V6, |
| 60 | ILA_ATYPE_NONLOCAL_ADDR, |
| 61 | ILA_ATYPE_RSVD_1, |
| 62 | ILA_ATYPE_RSVD_2, |
| 63 | ILA_ATYPE_USE_FORMAT = 32, |
| 64 | }; |
| 65 | enum { |
| 66 | ILA_HOOK_ROUTE_OUTPUT, |
| 67 | ILA_HOOK_ROUTE_INPUT, |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 68 | }; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 69 | #endif |