tc_sample.h 420 B

123456789101112131415161718192021222324252627
  1. #ifndef __LINUX_TC_SAMPLE_H
  2. #define __LINUX_TC_SAMPLE_H
  3. #include <linux/types.h>
  4. #include <linux/pkt_cls.h>
  5. #include <linux/if_ether.h>
  6. #define TCA_ACT_SAMPLE 26
  7. struct tc_sample {
  8. tc_gen;
  9. };
  10. enum {
  11. TCA_SAMPLE_UNSPEC,
  12. TCA_SAMPLE_TM,
  13. TCA_SAMPLE_PARMS,
  14. TCA_SAMPLE_RATE,
  15. TCA_SAMPLE_TRUNC_SIZE,
  16. TCA_SAMPLE_PSAMPLE_GROUP,
  17. TCA_SAMPLE_PAD,
  18. __TCA_SAMPLE_MAX
  19. };
  20. #define TCA_SAMPLE_MAX (__TCA_SAMPLE_MAX - 1)
  21. #endif