mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Rework Sessions::Weird
This commit is contained in:
parent
b1e517e863
commit
a99b540e46
17 changed files with 130 additions and 128 deletions
|
@ -89,9 +89,9 @@ const IP_Hdr Packet::IP() const
|
|||
return IP_Hdr((struct ip *) (data + hdr_size), false);
|
||||
}
|
||||
|
||||
void Packet::Weird(const char* name, const std::shared_ptr<EncapsulationStack>& encap)
|
||||
void Packet::Weird(const char* name)
|
||||
{
|
||||
sessions->Weird(name, this, encap);
|
||||
sessions->Weird(name, this);
|
||||
}
|
||||
|
||||
RecordValPtr Packet::ToRawPktHdrVal() const
|
||||
|
|
|
@ -130,7 +130,7 @@ public:
|
|||
RecordVal* BuildPktHdrVal() const;
|
||||
|
||||
// Wrapper to generate a packet-level weird. Has to be public for llanalyzers to use it.
|
||||
void Weird(const char* name, const std::shared_ptr<EncapsulationStack>& encap = nullptr);
|
||||
void Weird(const char* name);
|
||||
|
||||
/**
|
||||
* Maximal length of a layer 2 address.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue