1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Lin !! 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Do not edit directly, auto-generated from: !! 2 /* fou.h - FOU Interface */ 3 /* Documentation/netlink/specs/fou.yaml * << 4 /* YNL-GEN uapi header */ << 5 3 6 #ifndef _UAPI_LINUX_FOU_H 4 #ifndef _UAPI_LINUX_FOU_H 7 #define _UAPI_LINUX_FOU_H 5 #define _UAPI_LINUX_FOU_H 8 6 >> 7 /* NETLINK_GENERIC related info >> 8 */ 9 #define FOU_GENL_NAME "fou" 9 #define FOU_GENL_NAME "fou" 10 #define FOU_GENL_VERSION 1 !! 10 #define FOU_GENL_VERSION 0x1 11 << 12 enum { << 13 FOU_ENCAP_UNSPEC, << 14 FOU_ENCAP_DIRECT, << 15 FOU_ENCAP_GUE, << 16 }; << 17 11 18 enum { 12 enum { 19 FOU_ATTR_UNSPEC, 13 FOU_ATTR_UNSPEC, 20 FOU_ATTR_PORT, !! 14 FOU_ATTR_PORT, /* u16 */ 21 FOU_ATTR_AF, !! 15 FOU_ATTR_AF, /* u8 */ 22 FOU_ATTR_IPPROTO, !! 16 FOU_ATTR_IPPROTO, /* u8 */ 23 FOU_ATTR_TYPE, !! 17 FOU_ATTR_TYPE, /* u8 */ 24 FOU_ATTR_REMCSUM_NOPARTIAL, !! 18 FOU_ATTR_REMCSUM_NOPARTIAL, /* flag */ 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 19 32 __FOU_ATTR_MAX !! 20 __FOU_ATTR_MAX, 33 }; 21 }; 34 #define FOU_ATTR_MAX (__FOU_ATTR_MAX - 1) !! 22 >> 23 #define FOU_ATTR_MAX (__FOU_ATTR_MAX - 1) 35 24 36 enum { 25 enum { 37 FOU_CMD_UNSPEC, 26 FOU_CMD_UNSPEC, 38 FOU_CMD_ADD, 27 FOU_CMD_ADD, 39 FOU_CMD_DEL, 28 FOU_CMD_DEL, 40 FOU_CMD_GET, 29 FOU_CMD_GET, 41 30 42 __FOU_CMD_MAX !! 31 __FOU_CMD_MAX, 43 }; 32 }; 44 #define FOU_CMD_MAX (__FOU_CMD_MAX - 1) !! 33 >> 34 enum { >> 35 FOU_ENCAP_UNSPEC, >> 36 FOU_ENCAP_DIRECT, >> 37 FOU_ENCAP_GUE, >> 38 }; >> 39 >> 40 #define FOU_CMD_MAX (__FOU_CMD_MAX - 1) 45 41 46 #endif /* _UAPI_LINUX_FOU_H */ 42 #endif /* _UAPI_LINUX_FOU_H */ 47 43
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.