/include/linux/netfilter/xt_TCPOPTSTRIP.h
https://bitbucket.org/cyanogenmod/android_kernel_asus_tf300t · C Header · 15 lines · 11 code · 4 blank · 0 comment · 1 complexity · 45e9bf15edf344c6c8e739f0ae6e4398 MD5 · raw file
- #ifndef _XT_TCPOPTSTRIP_H
- #define _XT_TCPOPTSTRIP_H
- #include <linux/types.h>
- #define tcpoptstrip_set_bit(bmap, idx) \
- (bmap[(idx) >> 5] |= 1U << (idx & 31))
- #define tcpoptstrip_test_bit(bmap, idx) \
- (((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0)
- struct xt_tcpoptstrip_target_info {
- __u32 strip_bmap[8];
- };
- #endif /* _XT_TCPOPTSTRIP_H */