blob: edc9058bb30d392e7ed5cca408bde06d2ef9c0e7 [file] [log] [blame]
Yotam Gigi5c5670f2017-01-23 11:07:09 +01001#ifndef __LINUX_TC_SAMPLE_H
2#define __LINUX_TC_SAMPLE_H
3
4#include <linux/types.h>
5#include <linux/pkt_cls.h>
6#include <linux/if_ether.h>
7
8#define TCA_ACT_SAMPLE 26
9
10struct tc_sample {
11 tc_gen;
12};
13
14enum {
15 TCA_SAMPLE_UNSPEC,
16 TCA_SAMPLE_TM,
17 TCA_SAMPLE_PARMS,
18 TCA_SAMPLE_RATE,
19 TCA_SAMPLE_TRUNC_SIZE,
20 TCA_SAMPLE_PSAMPLE_GROUP,
21 TCA_SAMPLE_PAD,
22 __TCA_SAMPLE_MAX
23};
24#define TCA_SAMPLE_MAX (__TCA_SAMPLE_MAX - 1)
25
26#endif