ide: add ide_host_free() helper (take 2)
[linux-2.6] / include / linux / netfilter / xt_connbytes.h
1 #ifndef _XT_CONNBYTES_H
2 #define _XT_CONNBYTES_H
3
4 enum xt_connbytes_what {
5         XT_CONNBYTES_PKTS,
6         XT_CONNBYTES_BYTES,
7         XT_CONNBYTES_AVGPKT,
8 };
9
10 enum xt_connbytes_direction {
11         XT_CONNBYTES_DIR_ORIGINAL,
12         XT_CONNBYTES_DIR_REPLY,
13         XT_CONNBYTES_DIR_BOTH,
14 };
15
16 struct xt_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