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_skbedit.h (848B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. /*
  3. * Copyright (c) 2008, Intel Corporation.
  4. *
  5. * Author: Alexander Duyck <alexander.h.duyck@intel.com>
  6. */
  7. #ifndef __LINUX_TC_SKBEDIT_H
  8. #define __LINUX_TC_SKBEDIT_H
  9. #include <linux/pkt_cls.h>
  10. #define SKBEDIT_F_PRIORITY 0x1
  11. #define SKBEDIT_F_QUEUE_MAPPING 0x2
  12. #define SKBEDIT_F_MARK 0x4
  13. #define SKBEDIT_F_PTYPE 0x8
  14. #define SKBEDIT_F_MASK 0x10
  15. #define SKBEDIT_F_INHERITDSFIELD 0x20
  16. #define SKBEDIT_F_TXQ_SKBHASH 0x40
  17. struct tc_skbedit {
  18. tc_gen;
  19. };
  20. enum {
  21. TCA_SKBEDIT_UNSPEC,
  22. TCA_SKBEDIT_TM,
  23. TCA_SKBEDIT_PARMS,
  24. TCA_SKBEDIT_PRIORITY,
  25. TCA_SKBEDIT_QUEUE_MAPPING,
  26. TCA_SKBEDIT_MARK,
  27. TCA_SKBEDIT_PAD,
  28. TCA_SKBEDIT_PTYPE,
  29. TCA_SKBEDIT_MASK,
  30. TCA_SKBEDIT_FLAGS,
  31. TCA_SKBEDIT_QUEUE_MAPPING_MAX,
  32. __TCA_SKBEDIT_MAX
  33. };
  34. #define TCA_SKBEDIT_MAX (__TCA_SKBEDIT_MAX - 1)
  35. #endif