From e69e797191283aa9c1dbed17d18b0063e59d8899 Mon Sep 17 00:00:00 2001 From: Arnaud Lacombe Date: Tue, 1 Dec 2009 03:38:20 -0500 Subject: [PATCH] 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 --- compat-2.6.25.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/compat-2.6.25.h b/compat-2.6.25.h index 5502741a63fe..fa42fd95e637 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 -- 2.30.2