xref: /linux-6.15/include/uapi/linux/tc_act/tc_sample.h (revision bb7e5ce7)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #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 
10 struct tc_sample {
11 	tc_gen;
12 };
13 
14 enum {
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
27 

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025