xref: /aosp_15_r20/prebuilts/build-tools/sysroots/arm-unknown-linux-musleabihf/include/linux/ila.h (revision cda5da8d549138a6648c5ee6d7a49cf8f4a657be)
1*cda5da8dSAndroid Build Coastguard Worker /*
2*cda5da8dSAndroid Build Coastguard Worker  * This file is auto-generated. Modifications will be lost.
3*cda5da8dSAndroid Build Coastguard Worker  *
4*cda5da8dSAndroid Build Coastguard Worker  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5*cda5da8dSAndroid Build Coastguard Worker  * for more information.
6*cda5da8dSAndroid Build Coastguard Worker  */
7*cda5da8dSAndroid Build Coastguard Worker #ifndef _UAPI_LINUX_ILA_H
8*cda5da8dSAndroid Build Coastguard Worker #define _UAPI_LINUX_ILA_H
9*cda5da8dSAndroid Build Coastguard Worker #define ILA_GENL_NAME "ila"
10*cda5da8dSAndroid Build Coastguard Worker #define ILA_GENL_VERSION 0x1
11*cda5da8dSAndroid Build Coastguard Worker enum {
12*cda5da8dSAndroid Build Coastguard Worker   ILA_ATTR_UNSPEC,
13*cda5da8dSAndroid Build Coastguard Worker   ILA_ATTR_LOCATOR,
14*cda5da8dSAndroid Build Coastguard Worker   ILA_ATTR_IDENTIFIER,
15*cda5da8dSAndroid Build Coastguard Worker   ILA_ATTR_LOCATOR_MATCH,
16*cda5da8dSAndroid Build Coastguard Worker   ILA_ATTR_IFINDEX,
17*cda5da8dSAndroid Build Coastguard Worker   ILA_ATTR_DIR,
18*cda5da8dSAndroid Build Coastguard Worker   ILA_ATTR_PAD,
19*cda5da8dSAndroid Build Coastguard Worker   ILA_ATTR_CSUM_MODE,
20*cda5da8dSAndroid Build Coastguard Worker   ILA_ATTR_IDENT_TYPE,
21*cda5da8dSAndroid Build Coastguard Worker   ILA_ATTR_HOOK_TYPE,
22*cda5da8dSAndroid Build Coastguard Worker   __ILA_ATTR_MAX,
23*cda5da8dSAndroid Build Coastguard Worker };
24*cda5da8dSAndroid Build Coastguard Worker #define ILA_ATTR_MAX (__ILA_ATTR_MAX - 1)
25*cda5da8dSAndroid Build Coastguard Worker enum {
26*cda5da8dSAndroid Build Coastguard Worker   ILA_CMD_UNSPEC,
27*cda5da8dSAndroid Build Coastguard Worker   ILA_CMD_ADD,
28*cda5da8dSAndroid Build Coastguard Worker   ILA_CMD_DEL,
29*cda5da8dSAndroid Build Coastguard Worker   ILA_CMD_GET,
30*cda5da8dSAndroid Build Coastguard Worker   ILA_CMD_FLUSH,
31*cda5da8dSAndroid Build Coastguard Worker   __ILA_CMD_MAX,
32*cda5da8dSAndroid Build Coastguard Worker };
33*cda5da8dSAndroid Build Coastguard Worker #define ILA_CMD_MAX (__ILA_CMD_MAX - 1)
34*cda5da8dSAndroid Build Coastguard Worker #define ILA_DIR_IN (1 << 0)
35*cda5da8dSAndroid Build Coastguard Worker #define ILA_DIR_OUT (1 << 1)
36*cda5da8dSAndroid Build Coastguard Worker enum {
37*cda5da8dSAndroid Build Coastguard Worker   ILA_CSUM_ADJUST_TRANSPORT,
38*cda5da8dSAndroid Build Coastguard Worker   ILA_CSUM_NEUTRAL_MAP,
39*cda5da8dSAndroid Build Coastguard Worker   ILA_CSUM_NO_ACTION,
40*cda5da8dSAndroid Build Coastguard Worker   ILA_CSUM_NEUTRAL_MAP_AUTO,
41*cda5da8dSAndroid Build Coastguard Worker };
42*cda5da8dSAndroid Build Coastguard Worker enum {
43*cda5da8dSAndroid Build Coastguard Worker   ILA_ATYPE_IID = 0,
44*cda5da8dSAndroid Build Coastguard Worker   ILA_ATYPE_LUID,
45*cda5da8dSAndroid Build Coastguard Worker   ILA_ATYPE_VIRT_V4,
46*cda5da8dSAndroid Build Coastguard Worker   ILA_ATYPE_VIRT_UNI_V6,
47*cda5da8dSAndroid Build Coastguard Worker   ILA_ATYPE_VIRT_MULTI_V6,
48*cda5da8dSAndroid Build Coastguard Worker   ILA_ATYPE_NONLOCAL_ADDR,
49*cda5da8dSAndroid Build Coastguard Worker   ILA_ATYPE_RSVD_1,
50*cda5da8dSAndroid Build Coastguard Worker   ILA_ATYPE_RSVD_2,
51*cda5da8dSAndroid Build Coastguard Worker   ILA_ATYPE_USE_FORMAT = 32,
52*cda5da8dSAndroid Build Coastguard Worker };
53*cda5da8dSAndroid Build Coastguard Worker enum {
54*cda5da8dSAndroid Build Coastguard Worker   ILA_HOOK_ROUTE_OUTPUT,
55*cda5da8dSAndroid Build Coastguard Worker   ILA_HOOK_ROUTE_INPUT,
56*cda5da8dSAndroid Build Coastguard Worker };
57*cda5da8dSAndroid Build Coastguard Worker #endif
58