K2.6 patches and update.
[tomato.git] / release / src-rt / linux / linux-2.6 / include / linux / netfilter_ipv4 / ipt_account.h
blob382b1737849df18fccf4efa4b7a43c96a4ac92b7
1 /* Copyright (c) 2004-2011 Piotr 'QuakeR' Gasidlo <quaker@barbara.eu.org>
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 as
5 * published by the Free Software Foundation.
6 */
8 #ifndef _IPT_ACCOUNT_H_
9 #define _IPT_ACCOUNT_H_
11 #define IPT_ACCOUNT_NAME_LEN 64
13 struct t_ipt_account_table;
15 struct t_ipt_account_info {
16 char name[IPT_ACCOUNT_NAME_LEN + 1];
17 u_int32_t network, netmask;
18 int shortlisting:1;
19 /* pointer to the table for fast matching */
20 struct t_ipt_account_table *table;
23 #endif /* _IPT_ACCOUNT_H */