]> git.proxmox.com Git - mirror_frr.git/blame - include/linux/seg6_genl.h
Merge pull request #11910 from fdumontet6WIND/NAI_Adj
[mirror_frr.git] / include / linux / seg6_genl.h
CommitLineData
63d02478
HS
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef _LINUX_SEG6_GENL_H
3#define _LINUX_SEG6_GENL_H
4
5#define SEG6_GENL_NAME "SEG6"
6#define SEG6_GENL_VERSION 0x1
7
8enum {
9 SEG6_ATTR_UNSPEC,
10 SEG6_ATTR_DST,
11 SEG6_ATTR_DSTLEN,
12 SEG6_ATTR_HMACKEYID,
13 SEG6_ATTR_SECRET,
14 SEG6_ATTR_SECRETLEN,
15 SEG6_ATTR_ALGID,
16 SEG6_ATTR_HMACINFO,
17 __SEG6_ATTR_MAX,
18};
19
20#define SEG6_ATTR_MAX (__SEG6_ATTR_MAX - 1)
21
22enum {
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
31#define SEG6_CMD_MAX (__SEG6_CMD_MAX - 1)
32
33#endif