GH-1079: Use full paths starting with zeek/ when including files

This commit is contained in:
Tim Wojtulewicz 2020-11-02 18:20:16 -07:00
parent 78fc5615a5
commit 96d9115360
640 changed files with 2708 additions and 2698 deletions

View file

@ -1,11 +1,12 @@
// See the file "COPYING" in the main distribution directory for copyright.
#include "zeek/iosource/pcap/Dumper.h"
#include <sys/stat.h>
#include <errno.h>
#include "Dumper.h"
#include "../PktSrc.h"
#include "../../RunState.h"
#include "zeek/iosource/PktSrc.h"
#include "zeek/RunState.h"
#include "pcap.bif.h"

View file

@ -6,7 +6,7 @@ extern "C" {
#include <pcap.h>
}
#include "../PktDumper.h"
#include "zeek/iosource/PktDumper.h"
namespace zeek::iosource::pcap {

View file

@ -1,9 +1,9 @@
// See the file in the main distribution directory for copyright.
#include "Source.h"
#include "Dumper.h"
#include "plugin/Plugin.h"
#include "iosource/Component.h"
#include "zeek/plugin/Plugin.h"
#include "zeek/iosource/Component.h"
#include "zeek/iosource/pcap/Source.h"
#include "zeek/iosource/pcap/Dumper.h"
namespace zeek::plugin::detail::Zeek_Pcap {

View file

@ -1,19 +1,18 @@
// See the file in the main distribution directory for copyright.
#include "zeek-config.h"
#include "Source.h"
#include "iosource/Packet.h"
#include "iosource/BPF_Program.h"
#include "Event.h"
#include "pcap.bif.h"
#include "zeek/iosource/pcap/Source.h"
#ifdef HAVE_PCAP_INT_H
#include <pcap-int.h>
#endif
#include "zeek/iosource/Packet.h"
#include "zeek/iosource/BPF_Program.h"
#include "zeek/Event.h"
#include "pcap.bif.h"
namespace zeek::iosource::pcap {
PcapSource::~PcapSource()

View file

@ -2,13 +2,13 @@
#pragma once
#include "../PktSrc.h"
#include <sys/types.h> // for u_char
extern "C" {
#include <pcap.h>
}
#include <sys/types.h> // for u_char
#include "zeek/iosource/PktSrc.h"
namespace zeek::iosource::pcap {

View file

@ -6,9 +6,9 @@ const snaplen: count;
const bufsize: count;
%%{
#include "pcap.h"
#include <pcap.h>
#include "iosource/Manager.h"
#include "zeek/iosource/Manager.h"
%%}
## Precompiles a PCAP filter and binds it to a given identifier.