mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Move packet dumping to packet_mgr
This commit is contained in:
parent
8ece1cf484
commit
afdc08085f
4 changed files with 29 additions and 27 deletions
|
@ -83,6 +83,15 @@ public:
|
|||
|
||||
uint64_t PacketsProcessed() const { return num_packets_processed; }
|
||||
|
||||
/**
|
||||
* Records the given packet if a dumper is active.
|
||||
*
|
||||
* @param pkt The packet to record.
|
||||
* @param len The number of bytes to record. If set to zero, the whole
|
||||
* packet is recorded.
|
||||
*/
|
||||
void DumpPacket(const Packet *pkt, int len=0);
|
||||
|
||||
private:
|
||||
/**
|
||||
* Instantiates a new analyzer instance.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue