mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
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:
parent
dfc4cb0881
commit
5dc630f722
210 changed files with 7080 additions and 6608 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue