Add `enum nf_inet_hooks'
authorArnaud Lacombe <lacombar@gmail.com>
Tue, 1 Dec 2009 08:38:20 +0000 (03:38 -0500)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 1 Dec 2009 17:57:49 +0000 (09:57 -0800)
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 <lacombar@gmail.com>
compat-2.6.25.h

index 5502741a63fe61b44539ee855df6fd77ff63ab07..fa42fd95e637da1c829e225070ce5dbe1305a515 100644 (file)
@@ -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 <marcin.slusarz@gmail.com>