Merge tag 'xtensa-20180225' of git://github.com/jcmvbkbc/linux-xtensa
[cris-mirror.git] / include / uapi / linux / fou.h
blobf2ea833a2812561d7b10517a39e695589e8b236b
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* fou.h - FOU Interface */
4 #ifndef _UAPI_LINUX_FOU_H
5 #define _UAPI_LINUX_FOU_H
7 /* NETLINK_GENERIC related info
8 */
9 #define FOU_GENL_NAME "fou"
10 #define FOU_GENL_VERSION 0x1
12 enum {
13 FOU_ATTR_UNSPEC,
14 FOU_ATTR_PORT, /* u16 */
15 FOU_ATTR_AF, /* u8 */
16 FOU_ATTR_IPPROTO, /* u8 */
17 FOU_ATTR_TYPE, /* u8 */
18 FOU_ATTR_REMCSUM_NOPARTIAL, /* flag */
20 __FOU_ATTR_MAX,
23 #define FOU_ATTR_MAX (__FOU_ATTR_MAX - 1)
25 enum {
26 FOU_CMD_UNSPEC,
27 FOU_CMD_ADD,
28 FOU_CMD_DEL,
29 FOU_CMD_GET,
31 __FOU_CMD_MAX,
34 enum {
35 FOU_ENCAP_UNSPEC,
36 FOU_ENCAP_DIRECT,
37 FOU_ENCAP_GUE,
40 #define FOU_CMD_MAX (__FOU_CMD_MAX - 1)
42 #endif /* _UAPI_LINUX_FOU_H */