From 15a5e1959dbe47bd75e847e10e8e0f6908a8bd9d Mon Sep 17 00:00:00 2001 From: John Hodge Date: Mon, 21 Mar 2011 16:17:59 +0800 Subject: [PATCH] IPStack - Fiddling with firewall --- Modules/IPStack/firewall.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Modules/IPStack/firewall.h b/Modules/IPStack/firewall.h index a82362b0..5a623803 100644 --- a/Modules/IPStack/firewall.h +++ b/Modules/IPStack/firewall.h @@ -3,19 +3,19 @@ #ifndef _FIREWALL_H_ #define _FIREWALL_H_ +enum eFirewallActions +{ + FIREWALL_ACCEPT, + FIREWALL_DROP +}; + /** * \brief Tests a packet on a chain */ -extern int IPTablesV4_TestChain( - const char *RuleName, - const tIPv4 *Src, const tIPv4 *Dest, - Uint8 Type, Uint32 Flags, - size_t Length, const void *Data - ); - -extern int IPTablesV6_TestChain( +extern int IPTables_TestChain( const char *RuleName, - const tIPv6 *Src, const tIPv6 *Dest, + const int AddressType, + const void *Src, const void *Dest, Uint8 Type, Uint32 Flags, size_t Length, const void *Data ); -- 2.20.1