mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Reformat the world
This commit is contained in:
parent
194cb24547
commit
b2f171ec69
714 changed files with 35149 additions and 35203 deletions
|
@ -2,15 +2,18 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
extern "C" {
|
||||
extern "C"
|
||||
{
|
||||
#include <pcap.h>
|
||||
}
|
||||
}
|
||||
|
||||
#include "zeek/iosource/PktDumper.h"
|
||||
|
||||
namespace zeek::iosource::pcap {
|
||||
namespace zeek::iosource::pcap
|
||||
{
|
||||
|
||||
class PcapDumper : public PktDumper {
|
||||
class PcapDumper : public PktDumper
|
||||
{
|
||||
public:
|
||||
PcapDumper(const std::string& path, bool append);
|
||||
~PcapDumper() override;
|
||||
|
@ -29,6 +32,6 @@ private:
|
|||
bool append;
|
||||
pcap_dumper_t* dumper;
|
||||
pcap_t* pd;
|
||||
};
|
||||
};
|
||||
|
||||
} // namespace zeek::iosource::pcap
|
||||
} // namespace zeek::iosource::pcap
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue