mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +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
|
@ -6,6 +6,8 @@
|
|||
#include "analyzer/protocols/tcp/TCP.h"
|
||||
#include "analyzer/protocols/udp/UDP.h"
|
||||
|
||||
namespace analyzer { namespace rpc {
|
||||
|
||||
enum {
|
||||
RPC_CALL = 0,
|
||||
RPC_REPLY = 1,
|
||||
|
@ -176,7 +178,7 @@ protected:
|
|||
};
|
||||
|
||||
/* Support Analyzer for reassembling RPC-over-TCP messages */
|
||||
class Contents_RPC : public TCP_SupportAnalyzer {
|
||||
class Contents_RPC : public tcp::TCP_SupportAnalyzer {
|
||||
public:
|
||||
Contents_RPC(Connection* conn, bool orig, RPC_Interpreter* interp);
|
||||
virtual ~Contents_RPC();
|
||||
|
@ -222,7 +224,7 @@ protected:
|
|||
int resync_toskip;
|
||||
};
|
||||
|
||||
class RPC_Analyzer : public TCP_ApplicationAnalyzer {
|
||||
class RPC_Analyzer : public tcp::TCP_ApplicationAnalyzer {
|
||||
public:
|
||||
RPC_Analyzer(const char* name, Connection* conn,
|
||||
RPC_Interpreter* arg_interp);
|
||||
|
@ -242,4 +244,6 @@ protected:
|
|||
Contents_RPC* resp_rpc;
|
||||
};
|
||||
|
||||
} } // namespace analyzer::*
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue