Blame include/uapi/linux/ila.h

Packit Service 3880ab
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Packit Service 3880ab
/* ila.h - ILA Interface */
Packit Service 3880ab
Packit Service 3880ab
#ifndef _LINUX_ILA_H
Packit Service 3880ab
#define _LINUX_ILA_H
Packit Service 3880ab
Packit Service 3880ab
/* NETLINK_GENERIC related info */
Packit Service 3880ab
#define ILA_GENL_NAME		"ila"
Packit Service 3880ab
#define ILA_GENL_VERSION	0x1
Packit Service 3880ab
Packit Service 3880ab
enum {
Packit Service 3880ab
	ILA_ATTR_UNSPEC,
Packit Service 3880ab
	ILA_ATTR_LOCATOR,			/* u64 */
Packit Service 3880ab
	ILA_ATTR_IDENTIFIER,			/* u64 */
Packit Service 3880ab
	ILA_ATTR_LOCATOR_MATCH,			/* u64 */
Packit Service 3880ab
	ILA_ATTR_IFINDEX,			/* s32 */
Packit Service 3880ab
	ILA_ATTR_DIR,				/* u32 */
Packit Service 3880ab
	ILA_ATTR_PAD,
Packit Service 3880ab
	ILA_ATTR_CSUM_MODE,			/* u8 */
Packit Service 3880ab
	ILA_ATTR_IDENT_TYPE,			/* u8 */
Packit Service 3880ab
	ILA_ATTR_HOOK_TYPE,			/* u8 */
Packit Service 3880ab
Packit Service 3880ab
	__ILA_ATTR_MAX,
Packit Service 3880ab
};
Packit Service 3880ab
Packit Service 3880ab
#define ILA_ATTR_MAX		(__ILA_ATTR_MAX - 1)
Packit Service 3880ab
Packit Service 3880ab
enum {
Packit Service 3880ab
	ILA_CMD_UNSPEC,
Packit Service 3880ab
	ILA_CMD_ADD,
Packit Service 3880ab
	ILA_CMD_DEL,
Packit Service 3880ab
	ILA_CMD_GET,
Packit Service 3880ab
	ILA_CMD_FLUSH,
Packit Service 3880ab
Packit Service 3880ab
	__ILA_CMD_MAX,
Packit Service 3880ab
};
Packit Service 3880ab
Packit Service 3880ab
#define ILA_CMD_MAX	(__ILA_CMD_MAX - 1)
Packit Service 3880ab
Packit Service 3880ab
#define ILA_DIR_IN	(1 << 0)
Packit Service 3880ab
#define ILA_DIR_OUT	(1 << 1)
Packit Service 3880ab
Packit Service 3880ab
enum {
Packit Service 3880ab
	ILA_CSUM_ADJUST_TRANSPORT,
Packit Service 3880ab
	ILA_CSUM_NEUTRAL_MAP,
Packit Service 3880ab
	ILA_CSUM_NO_ACTION,
Packit Service 3880ab
	ILA_CSUM_NEUTRAL_MAP_AUTO,
Packit Service 3880ab
};
Packit Service 3880ab
Packit Service 3880ab
enum {
Packit Service 3880ab
	ILA_ATYPE_IID = 0,
Packit Service 3880ab
	ILA_ATYPE_LUID,
Packit Service 3880ab
	ILA_ATYPE_VIRT_V4,
Packit Service 3880ab
	ILA_ATYPE_VIRT_UNI_V6,
Packit Service 3880ab
	ILA_ATYPE_VIRT_MULTI_V6,
Packit Service 3880ab
	ILA_ATYPE_NONLOCAL_ADDR,
Packit Service 3880ab
	ILA_ATYPE_RSVD_1,
Packit Service 3880ab
	ILA_ATYPE_RSVD_2,
Packit Service 3880ab
Packit Service 3880ab
	ILA_ATYPE_USE_FORMAT = 32, /* Get type from type field in identifier */
Packit Service 3880ab
};
Packit Service 3880ab
Packit Service 3880ab
enum {
Packit Service 3880ab
	ILA_HOOK_ROUTE_OUTPUT,
Packit Service 3880ab
	ILA_HOOK_ROUTE_INPUT,
Packit Service 3880ab
};
Packit Service 3880ab
Packit Service 3880ab
#endif /* _LINUX_ILA_H */