OpenCores
URL https://opencores.org/ocsvn/hf-risc/hf-risc/trunk

Subversion Repositories hf-risc

[/] [hf-risc/] [trunk/] [tools/] [riscv-gnu-toolchain-master/] [linux-headers/] [include/] [linux/] [netfilter/] [xt_TCPOPTSTRIP.h] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 serginhofr
#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
 
11
struct xt_tcpoptstrip_target_info {
12
        __u32 strip_bmap[8];
13
};
14
 
15
#endif /* _XT_TCPOPTSTRIP_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.