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 FOU_ATTR_TYPE, /* u8 */ 17 18 __FOU_ATTR_MAX, 19 }; 20 21 #define FOU_ATTR_MAX (__FOU_ATTR_MAX - 1) 22 23 enum { 24 FOU_CMD_UNSPEC, 25 FOU_CMD_ADD, 26 FOU_CMD_DEL, 27 28 __FOU_CMD_MAX, 29 }; 30 31 enum { 32 FOU_ENCAP_UNSPEC, 33 FOU_ENCAP_DIRECT, 34 FOU_ENCAP_GUE, 35 }; 36 37 #define FOU_CMD_MAX (__FOU_CMD_MAX - 1) 38 39 #endif /* _UAPI_LINUX_FOU_H */ 40