Christopher Ferris | 2abfa9e | 2021-11-01 16:26:06 -0700 | [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_IOAM6_GENL_H |
| 20 | #define _UAPI_LINUX_IOAM6_GENL_H |
| 21 | #define IOAM6_GENL_NAME "IOAM6" |
| 22 | #define IOAM6_GENL_VERSION 0x1 |
| 23 | enum { |
| 24 | IOAM6_ATTR_UNSPEC, |
| 25 | IOAM6_ATTR_NS_ID, |
| 26 | IOAM6_ATTR_NS_DATA, |
| 27 | IOAM6_ATTR_NS_DATA_WIDE, |
| 28 | #define IOAM6_MAX_SCHEMA_DATA_LEN (255 * 4) |
| 29 | IOAM6_ATTR_SC_ID, |
| 30 | IOAM6_ATTR_SC_DATA, |
| 31 | IOAM6_ATTR_SC_NONE, |
| 32 | IOAM6_ATTR_PAD, |
| 33 | __IOAM6_ATTR_MAX, |
| 34 | }; |
| 35 | #define IOAM6_ATTR_MAX (__IOAM6_ATTR_MAX - 1) |
| 36 | enum { |
| 37 | IOAM6_CMD_UNSPEC, |
| 38 | IOAM6_CMD_ADD_NAMESPACE, |
| 39 | IOAM6_CMD_DEL_NAMESPACE, |
| 40 | IOAM6_CMD_DUMP_NAMESPACES, |
| 41 | IOAM6_CMD_ADD_SCHEMA, |
| 42 | IOAM6_CMD_DEL_SCHEMA, |
| 43 | IOAM6_CMD_DUMP_SCHEMAS, |
| 44 | IOAM6_CMD_NS_SET_SCHEMA, |
| 45 | __IOAM6_CMD_MAX, |
| 46 | }; |
| 47 | #define IOAM6_CMD_MAX (__IOAM6_CMD_MAX - 1) |
| 48 | #endif |