2023-03-15 23:03:50 +00:00
|
|
|
/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
|
2023-01-20 17:50:38 +00:00
|
|
|
/* Do not edit directly, auto-generated from: */
|
|
|
|
/* Documentation/netlink/specs/fou.yaml */
|
|
|
|
/* YNL-GEN uapi header */
|
2014-09-17 19:25:56 +00:00
|
|
|
|
|
|
|
#ifndef _UAPI_LINUX_FOU_H
|
|
|
|
#define _UAPI_LINUX_FOU_H
|
|
|
|
|
|
|
|
#define FOU_GENL_NAME "fou"
|
2023-01-20 17:50:38 +00:00
|
|
|
#define FOU_GENL_VERSION 1
|
2014-09-17 19:25:56 +00:00
|
|
|
|
|
|
|
enum {
|
2023-01-20 17:50:38 +00:00
|
|
|
FOU_ENCAP_UNSPEC,
|
|
|
|
FOU_ENCAP_DIRECT,
|
|
|
|
FOU_ENCAP_GUE,
|
2014-09-17 19:25:56 +00:00
|
|
|
};
|
|
|
|
|
2023-01-20 17:50:38 +00:00
|
|
|
enum {
|
|
|
|
FOU_ATTR_UNSPEC,
|
|
|
|
FOU_ATTR_PORT,
|
|
|
|
FOU_ATTR_AF,
|
|
|
|
FOU_ATTR_IPPROTO,
|
|
|
|
FOU_ATTR_TYPE,
|
|
|
|
FOU_ATTR_REMCSUM_NOPARTIAL,
|
|
|
|
FOU_ATTR_LOCAL_V4,
|
|
|
|
FOU_ATTR_LOCAL_V6,
|
|
|
|
FOU_ATTR_PEER_V4,
|
|
|
|
FOU_ATTR_PEER_V6,
|
|
|
|
FOU_ATTR_PEER_PORT,
|
|
|
|
FOU_ATTR_IFINDEX,
|
|
|
|
|
|
|
|
__FOU_ATTR_MAX
|
|
|
|
};
|
|
|
|
#define FOU_ATTR_MAX (__FOU_ATTR_MAX - 1)
|
2014-09-17 19:25:56 +00:00
|
|
|
|
|
|
|
enum {
|
|
|
|
FOU_CMD_UNSPEC,
|
|
|
|
FOU_CMD_ADD,
|
|
|
|
FOU_CMD_DEL,
|
2015-04-10 19:00:30 +00:00
|
|
|
FOU_CMD_GET,
|
2014-09-17 19:25:56 +00:00
|
|
|
|
2023-01-20 17:50:38 +00:00
|
|
|
__FOU_CMD_MAX
|
2014-09-17 19:25:56 +00:00
|
|
|
};
|
2023-01-20 17:50:38 +00:00
|
|
|
#define FOU_CMD_MAX (__FOU_CMD_MAX - 1)
|
2014-09-17 19:25:56 +00:00
|
|
|
|
|
|
|
#endif /* _UAPI_LINUX_FOU_H */
|