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_connlimit.h] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 serginhofr
#ifndef _XT_CONNLIMIT_H
2
#define _XT_CONNLIMIT_H
3
 
4
#include <linux/types.h>
5
#include <linux/netfilter.h>
6
 
7
struct xt_connlimit_data;
8
 
9
enum {
10
        XT_CONNLIMIT_INVERT = 1 << 0,
11
        XT_CONNLIMIT_DADDR  = 1 << 1,
12
};
13
 
14
struct xt_connlimit_info {
15
        union {
16
                union nf_inet_addr mask;
17
                union {
18
                        __be32 v4_mask;
19
                        __be32 v6_mask[4];
20
                };
21
        };
22
        unsigned int limit;
23
        /* revision 1 */
24
        __u32 flags;
25
 
26
        /* Used internally by the kernel */
27
        struct xt_connlimit_data *data __attribute__((aligned(8)));
28
};
29
 
30
#endif /* _XT_CONNLIMIT_H */

powered by: WebSVN 2.1.0

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