mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Add deprecated headers for UDP and ICMP analyzers
This commit is contained in:
parent
079ac1654f
commit
cdc62efa73
3 changed files with 25 additions and 1 deletions
15
src/analyzer/protocol/icmp/ICMP.h
Normal file
15
src/analyzer/protocol/icmp/ICMP.h
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#warning "Remove in v5.1. This analyzer has been moved to packet analysis, use 'zeek/packet_analysis/protocol/icmp/ICMPSessionAdapter.h' and/or 'zeek/packet_analysis/protocol/icmp/ICMP.h'."
|
||||||
|
|
||||||
|
#include "zeek/packet_analysis/protocol/icmp/ICMPSessionAdapter.h"
|
||||||
|
#include "zeek/packet_analysis/protocol/icmp/ICMP.h"
|
||||||
|
|
||||||
|
namespace zeek::analyzer::icmp {
|
||||||
|
|
||||||
|
using ICMP_Analyzer [[deprecated("Remove in v5.1. Use zeek::packet_analysis::ICMP::ICMPSessionAdapter.")]] =
|
||||||
|
zeek::packet_analysis::ICMP::ICMPSessionAdapter;
|
||||||
|
constexpr auto ICMP4_counterpart [[deprecated("Remove in v5.1. Use zeek::packet_analysis::ICMP::ICMP4_counterpart.")]] =
|
||||||
|
zeek::packet_analysis::ICMP::ICMP4_counterpart;
|
||||||
|
constexpr auto ICMP6_counterpart [[deprecated("Remove in v5.1. Use zeek::packet_analysis::ICMP::ICMP6_counterpart.")]] =
|
||||||
|
zeek::packet_analysis::ICMP::ICMP6_counterpart;
|
||||||
|
|
||||||
|
} // namespace zeek::analyzer::icmp
|
|
@ -10,7 +10,6 @@
|
||||||
#include "zeek/Conn.h"
|
#include "zeek/Conn.h"
|
||||||
|
|
||||||
namespace zeek::analyzer::pia { class PIA_TCP; }
|
namespace zeek::analyzer::pia { class PIA_TCP; }
|
||||||
namespace zeek::packet_analysis::TCP { class TCPSessionAdapter; }
|
|
||||||
|
|
||||||
namespace zeek::analyzer::tcp {
|
namespace zeek::analyzer::tcp {
|
||||||
|
|
||||||
|
|
10
src/analyzer/protocol/udp/UDP.h
Normal file
10
src/analyzer/protocol/udp/UDP.h
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#warning "Remove in v5.1. This analyzer has been moved to packet analysis, use 'zeek/packet_analysis/protocol/udp/UDPSessionAdapter.h'."
|
||||||
|
|
||||||
|
#include "zeek/packet_analysis/protocol/udp/UDPSessionAdapter.h"
|
||||||
|
|
||||||
|
namespace zeek::analyzer::udp {
|
||||||
|
|
||||||
|
using UDP_Analyzer [[deprecated("Remove in v5.1. Use zeek::packet_analysis::UDP::UDPSessionAdapter.")]] =
|
||||||
|
zeek::packet_analysis::UDP::UDPSessionAdapter;
|
||||||
|
|
||||||
|
} // namespace zeek::analyzer::udp
|
Loading…
Add table
Add a link
Reference in a new issue