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,8 @@
// See the file "COPYING" in the main distribution directory for copyright.
#include "ARP.h"
#include "Event.h"
#include "events.bif.h"
#include "zeek-config.h"
#include "zeek/packet_analysis/protocol/arp/ARP.h"
#ifdef HAVE_NET_ETHERNET_H
#include <net/ethernet.h>
#elif defined(HAVE_SYS_ETHERNET_H)
@ -16,6 +13,10 @@
#include <net/ethertypes.h>
#endif
#include "zeek/Event.h"
#include "events.bif.h"
using namespace zeek::packet_analysis::ARP;
ARPAnalyzer::ARPAnalyzer()

View file

@ -2,12 +2,13 @@
#pragma once
#include <packet_analysis/Analyzer.h>
#include <packet_analysis/Component.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if_arp.h>
#include "zeek/packet_analysis/Analyzer.h"
#include "zeek/packet_analysis/Component.h"
#ifndef arp_pkthdr
#define arp_pkthdr arphdr
#endif

View file

@ -1,8 +1,8 @@
// See the file "COPYING" in the main distribution directory for copyright.
#include "plugin/Plugin.h"
#include "ARP.h"
#include "packet_analysis/Component.h"
#include "zeek/plugin/Plugin.h"
#include "zeek/packet_analysis/Component.h"
#include "zeek/packet_analysis/protocol/arp/ARP.h"
namespace zeek::plugin::Zeek_ARP {