blob: c303588bb7670dcf3f90edf4fa0427f27ff1d1de [file] [log] [blame]
Tom Herbert23461552014-09-17 12:25:56 -07001/* 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
11enum {
12 FOU_ATTR_UNSPEC,
13 FOU_ATTR_PORT, /* u16 */
14 FOU_ATTR_AF, /* u8 */
15 FOU_ATTR_IPPROTO, /* u8 */
Tom Herbert37dd0242014-10-03 15:48:09 -070016 FOU_ATTR_TYPE, /* u8 */
Tom Herbertfe881ef2015-02-10 16:30:33 -080017 FOU_ATTR_REMCSUM_NOPARTIAL, /* flag */
Tom Herbert23461552014-09-17 12:25:56 -070018
19 __FOU_ATTR_MAX,
20};
21
22#define FOU_ATTR_MAX (__FOU_ATTR_MAX - 1)
23
24enum {
25 FOU_CMD_UNSPEC,
26 FOU_CMD_ADD,
27 FOU_CMD_DEL,
28
29 __FOU_CMD_MAX,
30};
31
Tom Herbert37dd0242014-10-03 15:48:09 -070032enum {
33 FOU_ENCAP_UNSPEC,
34 FOU_ENCAP_DIRECT,
35 FOU_ENCAP_GUE,
36};
37
Tom Herbert23461552014-09-17 12:25:56 -070038#define FOU_CMD_MAX (__FOU_CMD_MAX - 1)
39
40#endif /* _UAPI_LINUX_FOU_H */