X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FIPStack%2Ffirewall.c;h=274066e347081cf163ef314e0fa57a85c3cfa71f;hb=7758e1bf2e2a1ad35def1eb8cf9aab55d13e05a0;hp=c250dd0870e5d537f4fa5b979c0985261ca68f50;hpb=3af08228012b1e79b7f47457f606911f3064dcbd;p=tpg%2Facess2.git diff --git a/Modules/IPStack/firewall.c b/Modules/IPStack/firewall.c index c250dd08..274066e3 100644 --- a/Modules/IPStack/firewall.c +++ b/Modules/IPStack/firewall.c @@ -27,7 +27,7 @@ * \brief Tests an IPv4 chain on a packet * \return Boolean Disallow (0: Packet Allowed, 1: Drop, 2: Reject) */ - int IPTablesV4_TestChain( +int IPTablesV4_TestChain( const char *RuleName, const tIPv4 *Src, const tIPv4 *Dest, Uint8 Type, Uint32 Flags, @@ -36,3 +36,18 @@ { return 0; // Accept all for now } + +/** + * \brief Tests an IPv6 chain on a packet + * \return Boolean Disallow (0: Packet Allowed, 1: Drop, 2: Reject) + */ +int IPTablesV6_TestChain( + const char *RuleName, + const tIPv6 *Src, const tIPv6 *Dest, + Uint8 Type, Uint32 Flags, + size_t Length, const void *Data + ) +{ + return 0; // Accept all for now +} +