blob: 713842e248a3b07f434ca93895ca196cff6fdc13 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Christopher Ferris48af7cb2017-02-21 12:35:09 -08007#ifndef _UAPI_LINUX_SEG6_GENL_H
8#define _UAPI_LINUX_SEG6_GENL_H
9#define SEG6_GENL_NAME "SEG6"
10#define SEG6_GENL_VERSION 0x1
Christopher Ferris48af7cb2017-02-21 12:35:09 -080011enum {
12 SEG6_ATTR_UNSPEC,
13 SEG6_ATTR_DST,
14 SEG6_ATTR_DSTLEN,
Christopher Ferris48af7cb2017-02-21 12:35:09 -080015 SEG6_ATTR_HMACKEYID,
16 SEG6_ATTR_SECRET,
17 SEG6_ATTR_SECRETLEN,
18 SEG6_ATTR_ALGID,
Christopher Ferris48af7cb2017-02-21 12:35:09 -080019 SEG6_ATTR_HMACINFO,
20 __SEG6_ATTR_MAX,
21};
22#define SEG6_ATTR_MAX (__SEG6_ATTR_MAX - 1)
Christopher Ferris48af7cb2017-02-21 12:35:09 -080023enum {
24 SEG6_CMD_UNSPEC,
25 SEG6_CMD_SETHMAC,
26 SEG6_CMD_DUMPHMAC,
Christopher Ferris48af7cb2017-02-21 12:35:09 -080027 SEG6_CMD_SET_TUNSRC,
28 SEG6_CMD_GET_TUNSRC,
29 __SEG6_CMD_MAX,
30};
Christopher Ferris48af7cb2017-02-21 12:35:09 -080031#define SEG6_CMD_MAX (__SEG6_CMD_MAX - 1)
32#endif