1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* ila.h - ILA Interface */
4 #ifndef _UAPI_LINUX_ILA_H
5 #define _UAPI_LINUX_ILA_H
7 /* NETLINK_GENERIC related info */
8 #define ILA_GENL_NAME "ila"
9 #define ILA_GENL_VERSION 0x1
13 ILA_ATTR_LOCATOR
, /* u64 */
14 ILA_ATTR_IDENTIFIER
, /* u64 */
15 ILA_ATTR_LOCATOR_MATCH
, /* u64 */
16 ILA_ATTR_IFINDEX
, /* s32 */
17 ILA_ATTR_DIR
, /* u32 */
19 ILA_ATTR_CSUM_MODE
, /* u8 */
20 ILA_ATTR_IDENT_TYPE
, /* u8 */
21 ILA_ATTR_HOOK_TYPE
, /* u8 */
26 #define ILA_ATTR_MAX (__ILA_ATTR_MAX - 1)
38 #define ILA_CMD_MAX (__ILA_CMD_MAX - 1)
40 #define ILA_DIR_IN (1 << 0)
41 #define ILA_DIR_OUT (1 << 1)
44 ILA_CSUM_ADJUST_TRANSPORT
,
47 ILA_CSUM_NEUTRAL_MAP_AUTO
,
54 ILA_ATYPE_VIRT_UNI_V6
,
55 ILA_ATYPE_VIRT_MULTI_V6
,
56 ILA_ATYPE_NONLOCAL_ADDR
,
60 ILA_ATYPE_USE_FORMAT
= 32, /* Get type from type field in identifier */
64 ILA_HOOK_ROUTE_OUTPUT
,
68 #endif /* _UAPI_LINUX_ILA_H */