]>
Commit | Line | Data |
---|---|---|
65d7ab8d TH |
1 | /* ila.h - ILA Interface */ |
2 | ||
3 | #ifndef _UAPI_LINUX_ILA_H | |
4 | #define _UAPI_LINUX_ILA_H | |
5 | ||
7f00feaf TH |
6 | /* NETLINK_GENERIC related info */ |
7 | #define ILA_GENL_NAME "ila" | |
8 | #define ILA_GENL_VERSION 0x1 | |
9 | ||
65d7ab8d TH |
10 | enum { |
11 | ILA_ATTR_UNSPEC, | |
12 | ILA_ATTR_LOCATOR, /* u64 */ | |
7f00feaf TH |
13 | ILA_ATTR_IDENTIFIER, /* u64 */ |
14 | ILA_ATTR_LOCATOR_MATCH, /* u64 */ | |
15 | ILA_ATTR_IFINDEX, /* s32 */ | |
16 | ILA_ATTR_DIR, /* u32 */ | |
f13a82d8 | 17 | ILA_ATTR_PAD, |
90bfe662 | 18 | ILA_ATTR_CSUM_MODE, /* u8 */ |
65d7ab8d TH |
19 | |
20 | __ILA_ATTR_MAX, | |
21 | }; | |
22 | ||
23 | #define ILA_ATTR_MAX (__ILA_ATTR_MAX - 1) | |
24 | ||
7f00feaf TH |
25 | enum { |
26 | ILA_CMD_UNSPEC, | |
27 | ILA_CMD_ADD, | |
28 | ILA_CMD_DEL, | |
29 | ILA_CMD_GET, | |
30 | ||
31 | __ILA_CMD_MAX, | |
32 | }; | |
33 | ||
34 | #define ILA_CMD_MAX (__ILA_CMD_MAX - 1) | |
35 | ||
36 | #define ILA_DIR_IN (1 << 0) | |
37 | #define ILA_DIR_OUT (1 << 1) | |
38 | ||
90bfe662 TH |
39 | enum { |
40 | ILA_CSUM_ADJUST_TRANSPORT, | |
41 | ILA_CSUM_NEUTRAL_MAP, | |
42 | ILA_CSUM_NO_ACTION, | |
43 | }; | |
44 | ||
65d7ab8d | 45 | #endif /* _UAPI_LINUX_ILA_H */ |