1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 #ifndef _UAPI_LINUX_SEG6_GENL_H 2 #ifndef _UAPI_LINUX_SEG6_GENL_H 3 #define _UAPI_LINUX_SEG6_GENL_H 3 #define _UAPI_LINUX_SEG6_GENL_H 4 4 5 #define SEG6_GENL_NAME "SEG6" 5 #define SEG6_GENL_NAME "SEG6" 6 #define SEG6_GENL_VERSION 0x1 6 #define SEG6_GENL_VERSION 0x1 7 7 8 enum { 8 enum { 9 SEG6_ATTR_UNSPEC, 9 SEG6_ATTR_UNSPEC, 10 SEG6_ATTR_DST, 10 SEG6_ATTR_DST, 11 SEG6_ATTR_DSTLEN, 11 SEG6_ATTR_DSTLEN, 12 SEG6_ATTR_HMACKEYID, 12 SEG6_ATTR_HMACKEYID, 13 SEG6_ATTR_SECRET, 13 SEG6_ATTR_SECRET, 14 SEG6_ATTR_SECRETLEN, 14 SEG6_ATTR_SECRETLEN, 15 SEG6_ATTR_ALGID, 15 SEG6_ATTR_ALGID, 16 SEG6_ATTR_HMACINFO, 16 SEG6_ATTR_HMACINFO, 17 __SEG6_ATTR_MAX, 17 __SEG6_ATTR_MAX, 18 }; 18 }; 19 19 20 #define SEG6_ATTR_MAX (__SEG6_ATTR_MAX - 1) 20 #define SEG6_ATTR_MAX (__SEG6_ATTR_MAX - 1) 21 21 22 enum { 22 enum { 23 SEG6_CMD_UNSPEC, 23 SEG6_CMD_UNSPEC, 24 SEG6_CMD_SETHMAC, 24 SEG6_CMD_SETHMAC, 25 SEG6_CMD_DUMPHMAC, 25 SEG6_CMD_DUMPHMAC, 26 SEG6_CMD_SET_TUNSRC, 26 SEG6_CMD_SET_TUNSRC, 27 SEG6_CMD_GET_TUNSRC, 27 SEG6_CMD_GET_TUNSRC, 28 __SEG6_CMD_MAX, 28 __SEG6_CMD_MAX, 29 }; 29 }; 30 30 31 #define SEG6_CMD_MAX (__SEG6_CMD_MAX - 1) 31 #define SEG6_CMD_MAX (__SEG6_CMD_MAX - 1) 32 32 33 #endif 33 #endif 34 34
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.