PageRenderTime 34ms CodeModel.GetById 29ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/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
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
 1#ifndef _XT_TCPOPTSTRIP_H
 2#define _XT_TCPOPTSTRIP_H
 3
 4#include <linux/types.h>
 5
 6#define tcpoptstrip_set_bit(bmap, idx) \
 7	(bmap[(idx) >> 5] |= 1U << (idx & 31))
 8#define tcpoptstrip_test_bit(bmap, idx) \
 9	(((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0)
10
11struct xt_tcpoptstrip_target_info {
12	__u32 strip_bmap[8];
13};
14
15#endif /* _XT_TCPOPTSTRIP_H */