cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

seg6_genl.h (599B)


      1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
      2#ifndef _UAPI_LINUX_SEG6_GENL_H
      3#define _UAPI_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