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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 serginhofr
#ifndef _XT_CONNBYTES_H
2
#define _XT_CONNBYTES_H
3
 
4
#include <linux/types.h>
5
 
6
enum xt_connbytes_what {
7
        XT_CONNBYTES_PKTS,
8
        XT_CONNBYTES_BYTES,
9
        XT_CONNBYTES_AVGPKT,
10
};
11
 
12
enum xt_connbytes_direction {
13
        XT_CONNBYTES_DIR_ORIGINAL,
14
        XT_CONNBYTES_DIR_REPLY,
15
        XT_CONNBYTES_DIR_BOTH,
16
};
17
 
18
struct xt_connbytes_info {
19
        struct {
20
                __aligned_u64 from;     /* count to be matched */
21
                __aligned_u64 to;       /* count to be matched */
22
        } count;
23
        __u8 what;              /* ipt_connbytes_what */
24
        __u8 direction; /* ipt_connbytes_direction */
25
};
26
#endif

powered by: WebSVN 2.1.0

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