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_sample.h (456B)


      1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
      2#ifndef __LINUX_TC_SAMPLE_H
      3#define __LINUX_TC_SAMPLE_H
      4
      5#include <linux/types.h>
      6#include <linux/pkt_cls.h>
      7#include <linux/if_ether.h>
      8
      9struct tc_sample {
     10	tc_gen;
     11};
     12
     13enum {
     14	TCA_SAMPLE_UNSPEC,
     15	TCA_SAMPLE_TM,
     16	TCA_SAMPLE_PARMS,
     17	TCA_SAMPLE_RATE,
     18	TCA_SAMPLE_TRUNC_SIZE,
     19	TCA_SAMPLE_PSAMPLE_GROUP,
     20	TCA_SAMPLE_PAD,
     21	__TCA_SAMPLE_MAX
     22};
     23#define TCA_SAMPLE_MAX (__TCA_SAMPLE_MAX - 1)
     24
     25#endif