2009-11-24 02:26:42

by Arnaud Lacombe

[permalink] [raw]
Subject: [PATCH 12/13] Add `enum nf_inet_hooks'

Introduced on commit 6e23ae2a by Patrick McHardy in
include/linux/netfilter.h in
order to factor common macro value used by IPv6 and IPv4 code.

Signed-off-by: Arnaud Lacombe <[email protected]>
---
compat-2.6.25.h | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/compat-2.6.25.h b/compat-2.6.25.h
index 5502741..fa42fd9 100644
--- a/compat-2.6.25.h
+++ b/compat-2.6.25.h
@@ -29,6 +29,15 @@ extern void __dev_addr_unsync(struct dev_addr_list
**to, int *to_count, struct

#define seq_file_net &init_net;

+enum nf_inet_hooks {
+ NF_INET_PRE_ROUTING = 0,
+ NF_INET_LOCAL_IN = 1,
+ NF_INET_FORWARD = 2,
+ NF_INET_LOCAL_OUT = 3,
+ NF_INET_POST_ROUTING = 4,
+ NF_INET_NUMHOOKS = 5
+};
+
/* The patch:
* commit 8b5f6883683c91ad7e1af32b7ceeb604d68e2865
* Author: Marcin Slusarz <[email protected]>
--
1.6.3.3.385.g60647.dirty