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

tc_gate.h (870B)


      1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
      2/* Copyright 2020 NXP */
      3
      4#ifndef __LINUX_TC_GATE_H
      5#define __LINUX_TC_GATE_H
      6
      7#include <linux/pkt_cls.h>
      8
      9struct tc_gate {
     10	tc_gen;
     11};
     12
     13enum {
     14	TCA_GATE_ENTRY_UNSPEC,
     15	TCA_GATE_ENTRY_INDEX,
     16	TCA_GATE_ENTRY_GATE,
     17	TCA_GATE_ENTRY_INTERVAL,
     18	TCA_GATE_ENTRY_IPV,
     19	TCA_GATE_ENTRY_MAX_OCTETS,
     20	__TCA_GATE_ENTRY_MAX,
     21};
     22#define TCA_GATE_ENTRY_MAX (__TCA_GATE_ENTRY_MAX - 1)
     23
     24enum {
     25	TCA_GATE_ONE_ENTRY_UNSPEC,
     26	TCA_GATE_ONE_ENTRY,
     27	__TCA_GATE_ONE_ENTRY_MAX,
     28};
     29#define TCA_GATE_ONE_ENTRY_MAX (__TCA_GATE_ONE_ENTRY_MAX - 1)
     30
     31enum {
     32	TCA_GATE_UNSPEC,
     33	TCA_GATE_TM,
     34	TCA_GATE_PARMS,
     35	TCA_GATE_PAD,
     36	TCA_GATE_PRIORITY,
     37	TCA_GATE_ENTRY_LIST,
     38	TCA_GATE_BASE_TIME,
     39	TCA_GATE_CYCLE_TIME,
     40	TCA_GATE_CYCLE_TIME_EXT,
     41	TCA_GATE_FLAGS,
     42	TCA_GATE_CLOCKID,
     43	__TCA_GATE_MAX,
     44};
     45#define TCA_GATE_MAX (__TCA_GATE_MAX - 1)
     46
     47#endif