mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
![Sven Schnelle](/assets/img/avatar_default.png)
Signed-off-by: Sven Schnelle <svens@bitebene.org> Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
13 lines
322 B
C
13 lines
322 B
C
#ifndef _XT_TCPOPTSTRIP_H
|
|
#define _XT_TCPOPTSTRIP_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 {
|
|
u_int32_t strip_bmap[8];
|
|
};
|
|
|
|
#endif /* _XT_TCPOPTSTRIP_H */
|