mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Add base class for IP-based packet analyzers
This commit is contained in:
parent
3e1692676d
commit
c1f0d312b5
23 changed files with 781 additions and 421 deletions
|
@ -189,6 +189,13 @@ public:
|
|||
*/
|
||||
mutable bool dump_packet;
|
||||
|
||||
/**
|
||||
* Indicates the amount of data to be dumped. If only a header is needed,
|
||||
* set this to the size of the header. Setting it to zero will dump the
|
||||
* entire packet.
|
||||
*/
|
||||
mutable int dump_size = 0;
|
||||
|
||||
// These are fields passed between various packet analyzers. They're best
|
||||
// stored with the packet so they stay available as the packet is passed
|
||||
// around.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue