• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _UAPI_LINUX_SEG6_GENL_H
7 #define _UAPI_LINUX_SEG6_GENL_H
8 #define SEG6_GENL_NAME		"SEG6"
9 #define SEG6_GENL_VERSION	0x1
10 enum {
11 	SEG6_ATTR_UNSPEC,
12 	SEG6_ATTR_DST,
13 	SEG6_ATTR_DSTLEN,
14 	SEG6_ATTR_HMACKEYID,
15 	SEG6_ATTR_SECRET,
16 	SEG6_ATTR_SECRETLEN,
17 	SEG6_ATTR_ALGID,
18 	SEG6_ATTR_HMACINFO,
19 	__SEG6_ATTR_MAX,
20 };
21 #define SEG6_ATTR_MAX (__SEG6_ATTR_MAX - 1)
22 enum {
23 	SEG6_CMD_UNSPEC,
24 	SEG6_CMD_SETHMAC,
25 	SEG6_CMD_DUMPHMAC,
26 	SEG6_CMD_SET_TUNSRC,
27 	SEG6_CMD_GET_TUNSRC,
28 	__SEG6_CMD_MAX,
29 };
30 #define SEG6_CMD_MAX (__SEG6_CMD_MAX - 1)
31 #endif
32