From: Arnaud Lacombe Date: Tue, 1 Dec 2009 08:38:20 +0000 (-0500) Subject: Add `enum nf_inet_hooks' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e69e797191283aa9c1dbed17d18b0063e59d8899;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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