mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
Added plugin.unprocessed_packet_hook btest
This commit is contained in:
parent
d0f8c50417
commit
6e8dae316b
8 changed files with 540 additions and 2 deletions
|
@ -0,0 +1,19 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <plugin/Plugin.h>
|
||||
|
||||
namespace btest::plugin::Demo_Unprocessed_Packet {
|
||||
|
||||
class Plugin : public zeek::plugin::Plugin
|
||||
{
|
||||
protected:
|
||||
void HookUnprocessedPacket(const zeek::Packet* packet) override;
|
||||
|
||||
// Overridden from zeek::plugin::Plugin.
|
||||
zeek::plugin::Configuration Configure() override;
|
||||
};
|
||||
|
||||
extern Plugin plugin;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue