mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
Move all of the Packet-related classes to namespaces
This commit is contained in:
parent
45b5a98420
commit
93948b4d19
25 changed files with 116 additions and 73 deletions
|
@ -8,6 +8,8 @@ extern "C" {
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace zeek::detail {
|
||||
|
||||
// BPF_Programs are an abstraction around struct bpf_program,
|
||||
// to create a clean facility for creating, compiling, and
|
||||
// freeing such programs.
|
||||
|
@ -53,3 +55,7 @@ protected:
|
|||
bool m_matches_anything;
|
||||
struct bpf_program m_program;
|
||||
};
|
||||
|
||||
} // namespace zeek::detail
|
||||
|
||||
using BPF_Program [[deprecated("Remove in v4.1. Use zeek::detail::BPF_Program.")]] = zeek::detail::BPF_Program;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue