diff options
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/fou.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/uapi/linux/fou.h b/include/uapi/linux/fou.h new file mode 100644 index 000000000000..e03376de453d --- /dev/null +++ b/include/uapi/linux/fou.h | |||
@@ -0,0 +1,32 @@ | |||
1 | /* fou.h - FOU Interface */ | ||
2 | |||
3 | #ifndef _UAPI_LINUX_FOU_H | ||
4 | #define _UAPI_LINUX_FOU_H | ||
5 | |||
6 | /* NETLINK_GENERIC related info | ||
7 | */ | ||
8 | #define FOU_GENL_NAME "fou" | ||
9 | #define FOU_GENL_VERSION 0x1 | ||
10 | |||
11 | enum { | ||
12 | FOU_ATTR_UNSPEC, | ||
13 | FOU_ATTR_PORT, /* u16 */ | ||
14 | FOU_ATTR_AF, /* u8 */ | ||
15 | FOU_ATTR_IPPROTO, /* u8 */ | ||
16 | |||
17 | __FOU_ATTR_MAX, | ||
18 | }; | ||
19 | |||
20 | #define FOU_ATTR_MAX (__FOU_ATTR_MAX - 1) | ||
21 | |||
22 | enum { | ||
23 | FOU_CMD_UNSPEC, | ||
24 | FOU_CMD_ADD, | ||
25 | FOU_CMD_DEL, | ||
26 | |||
27 | __FOU_CMD_MAX, | ||
28 | }; | ||
29 | |||
30 | #define FOU_CMD_MAX (__FOU_CMD_MAX - 1) | ||
31 | |||
32 | #endif /* _UAPI_LINUX_FOU_H */ | ||