summaryrefslogtreecommitdiff
path: root/libc/kernel/uapi/linux/ila.h
blob: 75de8eb6eaed5c5b10fab312849587ebba56688b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/****************************************************************************
 ****************************************************************************
 ***
 ***   This header was automatically generated from a Linux kernel header
 ***   of the same name, to make information necessary for userspace to
 ***   call into the kernel available to libc.  It contains only constants,
 ***   structures, and macros generated from the original header, and thus,
 ***   contains no copyrightable information.
 ***
 ***   To edit the content of this header, modify the corresponding
 ***   source file (e.g. under external/kernel-headers/original/) then
 ***   run bionic/libc/kernel/tools/update_all.py
 ***
 ***   Any manual change here will be lost the next time this script will
 ***   be run. You've been warned!
 ***
 ****************************************************************************
 ****************************************************************************/
#ifndef _UAPI_LINUX_ILA_H
#define _UAPI_LINUX_ILA_H
#define ILA_GENL_NAME "ila"
#define ILA_GENL_VERSION 0x1
enum {
  ILA_ATTR_UNSPEC,
  ILA_ATTR_LOCATOR,
  ILA_ATTR_IDENTIFIER,
  ILA_ATTR_LOCATOR_MATCH,
  ILA_ATTR_IFINDEX,
  ILA_ATTR_DIR,
  ILA_ATTR_PAD,
  ILA_ATTR_CSUM_MODE,
  ILA_ATTR_IDENT_TYPE,
  ILA_ATTR_HOOK_TYPE,
  __ILA_ATTR_MAX,
};
#define ILA_ATTR_MAX (__ILA_ATTR_MAX - 1)
enum {
  ILA_CMD_UNSPEC,
  ILA_CMD_ADD,
  ILA_CMD_DEL,
  ILA_CMD_GET,
  ILA_CMD_FLUSH,
  __ILA_CMD_MAX,
};
#define ILA_CMD_MAX (__ILA_CMD_MAX - 1)
#define ILA_DIR_IN (1 << 0)
#define ILA_DIR_OUT (1 << 1)
enum {
  ILA_CSUM_ADJUST_TRANSPORT,
  ILA_CSUM_NEUTRAL_MAP,
  ILA_CSUM_NO_ACTION,
  ILA_CSUM_NEUTRAL_MAP_AUTO,
};
enum {
  ILA_ATYPE_IID = 0,
  ILA_ATYPE_LUID,
  ILA_ATYPE_VIRT_V4,
  ILA_ATYPE_VIRT_UNI_V6,
  ILA_ATYPE_VIRT_MULTI_V6,
  ILA_ATYPE_NONLOCAL_ADDR,
  ILA_ATYPE_RSVD_1,
  ILA_ATYPE_RSVD_2,
  ILA_ATYPE_USE_FORMAT = 32,
};
enum {
  ILA_HOOK_ROUTE_OUTPUT,
  ILA_HOOK_ROUTE_INPUT,
};
#endif