mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
![David Howells](/assets/img/avatar_default.png)
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
15 lines
344 B
C
15 lines
344 B
C
#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 */
|