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