mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Base: Clean up explicit uses of namespaces in places where they're not necessary.
This commit covers all of the common and base classes.
This commit is contained in:
parent
9f802b2a4d
commit
fe0c22c789
240 changed files with 6823 additions and 6787 deletions
|
@ -7,17 +7,17 @@
|
|||
|
||||
namespace zeek::plugin::detail::Zeek_Pcap {
|
||||
|
||||
class Plugin : public zeek::plugin::Plugin {
|
||||
class Plugin : public plugin::Plugin {
|
||||
public:
|
||||
zeek::plugin::Configuration Configure() override
|
||||
plugin::Configuration Configure() override
|
||||
{
|
||||
AddComponent(new zeek::iosource::PktSrcComponent(
|
||||
"PcapReader", "pcap", zeek::iosource::PktSrcComponent::BOTH,
|
||||
zeek::iosource::pcap::PcapSource::Instantiate));
|
||||
AddComponent(new zeek::iosource::PktDumperComponent(
|
||||
"PcapWriter", "pcap", zeek::iosource::pcap::PcapDumper::Instantiate));
|
||||
AddComponent(new iosource::PktSrcComponent(
|
||||
"PcapReader", "pcap", iosource::PktSrcComponent::BOTH,
|
||||
iosource::pcap::PcapSource::Instantiate));
|
||||
AddComponent(new iosource::PktDumperComponent(
|
||||
"PcapWriter", "pcap", iosource::pcap::PcapDumper::Instantiate));
|
||||
|
||||
zeek::plugin::Configuration config;
|
||||
plugin::Configuration config;
|
||||
config.name = "Zeek::Pcap";
|
||||
config.description = "Packet acquisition via libpcap";
|
||||
return config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue