xref: /openbmc/linux/include/uapi/linux/fou.h (revision 4e16b6a7)
1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
2 /* Do not edit directly, auto-generated from: */
3 /*	Documentation/netlink/specs/fou.yaml */
4 /* YNL-GEN uapi header */
5 
6 #ifndef _UAPI_LINUX_FOU_H
7 #define _UAPI_LINUX_FOU_H
8 
9 #define FOU_GENL_NAME		"fou"
10 #define FOU_GENL_VERSION	1
11 
12 enum {
13 	FOU_ENCAP_UNSPEC,
14 	FOU_ENCAP_DIRECT,
15 	FOU_ENCAP_GUE,
16 };
17 
18 enum {
19 	FOU_ATTR_UNSPEC,
20 	FOU_ATTR_PORT,
21 	FOU_ATTR_AF,
22 	FOU_ATTR_IPPROTO,
23 	FOU_ATTR_TYPE,
24 	FOU_ATTR_REMCSUM_NOPARTIAL,
25 	FOU_ATTR_LOCAL_V4,
26 	FOU_ATTR_LOCAL_V6,
27 	FOU_ATTR_PEER_V4,
28 	FOU_ATTR_PEER_V6,
29 	FOU_ATTR_PEER_PORT,
30 	FOU_ATTR_IFINDEX,
31 
32 	__FOU_ATTR_MAX
33 };
34 #define FOU_ATTR_MAX (__FOU_ATTR_MAX - 1)
35 
36 enum {
37 	FOU_CMD_UNSPEC,
38 	FOU_CMD_ADD,
39 	FOU_CMD_DEL,
40 	FOU_CMD_GET,
41 
42 	__FOU_CMD_MAX
43 };
44 #define FOU_CMD_MAX (__FOU_CMD_MAX - 1)
45 
46 #endif /* _UAPI_LINUX_FOU_H */
47