git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel/x86 - Oops, bad entry
[tpg/acess2.git]
/
Modules
/
IPStack
/
firewall.h
diff --git
a/Modules/IPStack/firewall.h
b/Modules/IPStack/firewall.h
index
a82362b
..
5a62380
100644
(file)
--- a/
Modules/IPStack/firewall.h
+++ b/
Modules/IPStack/firewall.h
@@
-3,19
+3,19
@@
#ifndef _FIREWALL_H_
#define _FIREWALL_H_
#ifndef _FIREWALL_H_
#define _FIREWALL_H_
+enum eFirewallActions
+{
+ FIREWALL_ACCEPT,
+ FIREWALL_DROP
+};
+
/**
* \brief Tests a packet on a chain
*/
/**
* \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 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
);
Uint8 Type, Uint32 Flags,
size_t Length, const void *Data
);
UCC
git Repository :: git.ucc.asn.au