1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _UAPI_LINUX_FOU_H 20 #define _UAPI_LINUX_FOU_H 21 #define FOU_GENL_NAME "fou" 22 #define FOU_GENL_VERSION 0x1 23 enum { 24 FOU_ATTR_UNSPEC, 25 FOU_ATTR_PORT, 26 FOU_ATTR_AF, 27 FOU_ATTR_IPPROTO, 28 FOU_ATTR_TYPE, 29 FOU_ATTR_REMCSUM_NOPARTIAL, 30 FOU_ATTR_LOCAL_V4, 31 FOU_ATTR_LOCAL_V6, 32 FOU_ATTR_PEER_V4, 33 FOU_ATTR_PEER_V6, 34 FOU_ATTR_PEER_PORT, 35 FOU_ATTR_IFINDEX, 36 __FOU_ATTR_MAX, 37 }; 38 #define FOU_ATTR_MAX (__FOU_ATTR_MAX - 1) 39 enum { 40 FOU_CMD_UNSPEC, 41 FOU_CMD_ADD, 42 FOU_CMD_DEL, 43 FOU_CMD_GET, 44 __FOU_CMD_MAX, 45 }; 46 enum { 47 FOU_ENCAP_UNSPEC, 48 FOU_ENCAP_DIRECT, 49 FOU_ENCAP_GUE, 50 }; 51 #define FOU_CMD_MAX (__FOU_CMD_MAX - 1) 52 #endif 53