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_em_text.h (384B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef __LINUX_TC_EM_TEXT_H
  3. #define __LINUX_TC_EM_TEXT_H
  4. #include <linux/types.h>
  5. #include <linux/pkt_cls.h>
  6. #define TC_EM_TEXT_ALGOSIZ 16
  7. struct tcf_em_text {
  8. char algo[TC_EM_TEXT_ALGOSIZ];
  9. __u16 from_offset;
  10. __u16 to_offset;
  11. __u16 pattern_len;
  12. __u8 from_layer:4;
  13. __u8 to_layer:4;
  14. __u8 pad;
  15. };
  16. #endif