Merge HEAD from master.kernel.org:/home/rmk/linux-2.6-arm
[deliverable/linux.git] / include / linux / netfilter_ipv4 / ipt_connbytes.h
1 #ifndef _IPT_CONNBYTES_H
2 #define _IPT_CONNBYTES_H
3
4 enum ipt_connbytes_what {
5 IPT_CONNBYTES_PKTS,
6 IPT_CONNBYTES_BYTES,
7 IPT_CONNBYTES_AVGPKT,
8 };
9
10 enum ipt_connbytes_direction {
11 IPT_CONNBYTES_DIR_ORIGINAL,
12 IPT_CONNBYTES_DIR_REPLY,
13 IPT_CONNBYTES_DIR_BOTH,
14 };
15
16 struct ipt_connbytes_info
17 {
18 struct {
19 aligned_u64 from; /* count to be matched */
20 aligned_u64 to; /* count to be matched */
21 } count;
22 u_int8_t what; /* ipt_connbytes_what */
23 u_int8_t direction; /* ipt_connbytes_direction */
24 };
25 #endif
This page took 0.036245 seconds and 6 git commands to generate.