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

xt_TCPOPTSTRIP.h (407B)


  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef _XT_TCPOPTSTRIP_H
  3. #define _XT_TCPOPTSTRIP_H
  4. #include <linux/types.h>
  5. #define tcpoptstrip_set_bit(bmap, idx) \
  6. (bmap[(idx) >> 5] |= 1U << (idx & 31))
  7. #define tcpoptstrip_test_bit(bmap, idx) \
  8. (((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0)
  9. struct xt_tcpoptstrip_target_info {
  10. __u32 strip_bmap[8];
  11. };
  12. #endif /* _XT_TCPOPTSTRIP_H */