logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

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. #include <linux/types.h>
  5. #include <linux/pkt_cls.h>
  6. #include <linux/if_ether.h>
  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