mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Use clang-format for all files in testing/btest/plugins
.
This is a fixup commit for dc65b6248c
.
This commit is contained in:
parent
96a14b39fa
commit
489534bd74
28 changed files with 208 additions and 160 deletions
|
@ -3,19 +3,18 @@
|
|||
#include "zeek/packet_analysis/Analyzer.h"
|
||||
#include "zeek/packet_analysis/Component.h"
|
||||
|
||||
namespace zeek::packet_analysis::PacketDemo {
|
||||
namespace zeek::packet_analysis::PacketDemo
|
||||
{
|
||||
|
||||
class LLCDemo : public Analyzer {
|
||||
class LLCDemo : public Analyzer
|
||||
{
|
||||
public:
|
||||
LLCDemo();
|
||||
~LLCDemo() override = default;
|
||||
|
||||
bool AnalyzePacket(size_t len, const uint8_t* data, Packet* packet) override;
|
||||
|
||||
static AnalyzerPtr Instantiate()
|
||||
{
|
||||
return std::make_shared<LLCDemo>();
|
||||
}
|
||||
};
|
||||
static AnalyzerPtr Instantiate() { return std::make_shared<LLCDemo>(); }
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,19 +3,18 @@
|
|||
#include "zeek/packet_analysis/Analyzer.h"
|
||||
#include "zeek/packet_analysis/Component.h"
|
||||
|
||||
namespace zeek::packet_analysis::PacketDemo {
|
||||
namespace zeek::packet_analysis::PacketDemo
|
||||
{
|
||||
|
||||
class RawLayer : public Analyzer {
|
||||
class RawLayer : public Analyzer
|
||||
{
|
||||
public:
|
||||
RawLayer();
|
||||
~RawLayer() override = default;
|
||||
|
||||
bool AnalyzePacket(size_t len, const uint8_t* data, Packet* packet) override;
|
||||
|
||||
static AnalyzerPtr Instantiate()
|
||||
{
|
||||
return std::make_shared<RawLayer>();
|
||||
}
|
||||
};
|
||||
static AnalyzerPtr Instantiate() { return std::make_shared<RawLayer>(); }
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue