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_ife.h (600B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef __UAPI_TC_IFE_H
  3. #define __UAPI_TC_IFE_H
  4. #include <linux/types.h>
  5. #include <linux/pkt_cls.h>
  6. #include <linux/ife.h>
  7. /* Flag bits for now just encoding/decoding; mutually exclusive */
  8. #define IFE_ENCODE 1
  9. #define IFE_DECODE 0
  10. struct tc_ife {
  11. tc_gen;
  12. __u16 flags;
  13. };
  14. /*XXX: We need to encode the total number of bytes consumed */
  15. enum {
  16. TCA_IFE_UNSPEC,
  17. TCA_IFE_PARMS,
  18. TCA_IFE_TM,
  19. TCA_IFE_DMAC,
  20. TCA_IFE_SMAC,
  21. TCA_IFE_TYPE,
  22. TCA_IFE_METALST,
  23. TCA_IFE_PAD,
  24. __TCA_IFE_MAX
  25. };
  26. #define TCA_IFE_MAX (__TCA_IFE_MAX - 1)
  27. #endif