Christopher Ferris | 2598113 | 2017-11-14 16:53:49 -0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Christopher Ferris | 0543f74 | 2017-07-26 13:09:46 -0700 | [diff] [blame] | 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 | |
| 9 | #define TCA_ACT_SAMPLE 26 |
| 10 | |
| 11 | struct tc_sample { |
| 12 | tc_gen; |
| 13 | }; |
| 14 | |
| 15 | enum { |
| 16 | TCA_SAMPLE_UNSPEC, |
| 17 | TCA_SAMPLE_TM, |
| 18 | TCA_SAMPLE_PARMS, |
| 19 | TCA_SAMPLE_RATE, |
| 20 | TCA_SAMPLE_TRUNC_SIZE, |
| 21 | TCA_SAMPLE_PSAMPLE_GROUP, |
| 22 | TCA_SAMPLE_PAD, |
| 23 | __TCA_SAMPLE_MAX |
| 24 | }; |
| 25 | #define TCA_SAMPLE_MAX (__TCA_SAMPLE_MAX - 1) |
| 26 | |
| 27 | #endif |