ipt_ACCOUNT: (tomj) support for 2.6.22
[ipt_ACCOUNT] / linux.patch
CommitLineData
b03f4657
TJ
1diff -u -r kernel-2.4.25/include/linux/netfilter_ipv4/ip_tables.h kernel-2.4.25.ipt_ACCOUNT/include/linux/netfilter_ipv4/ip_tables.h
2--- kernel-2.4.25/include/linux/netfilter_ipv4/ip_tables.h Mon Apr 12 20:02:19 2004
3+++ kernel-2.4.25.ipt_ACCOUNT/include/linux/netfilter_ipv4/ip_tables.h Mon Apr 12 17:37:20 2004
4@@ -151,10 +151,21 @@
5 #define IPT_SO_SET_ADD_COUNTERS (IPT_BASE_CTL + 1)
6 #define IPT_SO_SET_MAX IPT_SO_SET_ADD_COUNTERS
7
8+#define IPT_SO_SET_ACCOUNT_HANDLE_FREE (IPT_BASE_CTL + 3)
9+#define IPT_SO_SET_ACCOUNT_HANDLE_FREE_ALL (IPT_BASE_CTL + 4)
10+#define IPT_SO_SET_ACCOUNT_MAX IPT_SO_SET_ACCOUNT_HANDLE_FREE_ALL
11+
12 #define IPT_SO_GET_INFO (IPT_BASE_CTL)
13 #define IPT_SO_GET_ENTRIES (IPT_BASE_CTL + 1)
14 #define IPT_SO_GET_MAX IPT_SO_GET_ENTRIES
15
16+#define IPT_SO_GET_ACCOUNT_PREPARE_READ (IPT_BASE_CTL + 3)
17+#define IPT_SO_GET_ACCOUNT_PREPARE_READ_FLUSH (IPT_BASE_CTL + 4)
18+#define IPT_SO_GET_ACCOUNT_GET_DATA (IPT_BASE_CTL + 5)
19+#define IPT_SO_GET_ACCOUNT_GET_HANDLE_USAGE (IPT_BASE_CTL + 6)
20+#define IPT_SO_GET_ACCOUNT_GET_TABLE_NAMES (IPT_BASE_CTL + 7)
21+#define IPT_SO_GET_ACCOUNT_MAX IPT_SO_GET_ACCOUNT_GET_TABLE_NAMES
22+
23 /* CONTINUE verdict for targets */
24 #define IPT_CONTINUE 0xFFFFFFFF
25