]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Added DROPPING chain.
authorRusty Russell <rusty@linuxcare.com.au>
Thu, 14 Sep 2000 07:37:33 +0000 (07:37 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 14 Sep 2000 07:37:33 +0000 (07:37 +0000)
libiptc/libip4tc.c
libiptc/libiptc.c

index e1eb0ab1a67a5a6b794f651db21703445483c765..30cddb40f5b97edcb21784ee7359d00f854ac913 100644 (file)
@@ -35,6 +35,9 @@ typedef unsigned int socklen_t;
 #define HOOK_FORWARD           NF_IP_FORWARD
 #define HOOK_LOCAL_OUT         NF_IP_LOCAL_OUT
 #define HOOK_POST_ROUTING      NF_IP_POST_ROUTING
+#ifdef NF_IP_DROPPING
+#define HOOK_DROPPING          NF_IP_DROPPING
+#endif
 
 #define STRUCT_ENTRY_TARGET    struct ipt_entry_target
 #define STRUCT_ENTRY           struct ipt_entry
index 9db28c581a6d5447ffb8d11d065fcab061385507..55edbc65eeaa8dba0e853f812e106ac1a6c96d66 100644 (file)
@@ -31,7 +31,10 @@ static const char *hooknames[]
     [HOOK_LOCAL_IN]     "INPUT",
     [HOOK_FORWARD]      "FORWARD",
     [HOOK_LOCAL_OUT]    "OUTPUT",
-    [HOOK_POST_ROUTING] "POSTROUTING"
+    [HOOK_POST_ROUTING] "POSTROUTING",
+#ifdef HOOK_DROPPING
+    [HOOK_DROPPING]    "DROPPING"
+#endif
 };
 
 struct counter_map