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