Working on TODOs.

- Introducing analyzer::<protocol> namespaces.
- Moving protocol-specific events out of events.bif into analyzer/protocol/<protocol>/events.bif
- Moving ARP over (even though it's not an actual analyzer).
- Moving NetFlow over (even though it's not an actual analyzer).
- Moving MIME over (even though it's not an actual analyzer).
This commit is contained in:
Robin Sommer 2013-04-18 14:39:32 -07:00
parent dfc4cb0881
commit 5dc630f722
210 changed files with 7080 additions and 6608 deletions

View file

@ -2,8 +2,12 @@
#include "ZIP.h"
#include "events.bif.h"
using namespace analyzer::zip;
ZIP_Analyzer::ZIP_Analyzer(Connection* conn, bool orig, Method arg_method)
: TCP_SupportAnalyzer("ZIP", conn, orig)
: tcp::TCP_SupportAnalyzer("ZIP", conn, orig)
{
zip = 0;
zip_status = Z_OK;
@ -44,7 +48,7 @@ void ZIP_Analyzer::Done()
void ZIP_Analyzer::DeliverStream(int len, const u_char* data, bool orig)
{
TCP_SupportAnalyzer::DeliverStream(len, data, orig);
tcp::TCP_SupportAnalyzer::DeliverStream(len, data, orig);
if ( ! len || zip_status != Z_OK )
return;