mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
Move dispatching into packet analyzers.
WIP that updates only the Ethernet analyzer.
This commit is contained in:
parent
96d0e11bb8
commit
9feda100b9
13 changed files with 105 additions and 88 deletions
|
@ -9,10 +9,10 @@ IPv6Analyzer::IPv6Analyzer()
|
|||
{
|
||||
}
|
||||
|
||||
zeek::packet_analysis::AnalysisResultTuple IPv6Analyzer::Analyze(Packet* packet, const uint8_t*& data)
|
||||
zeek::packet_analysis::AnalyzerResult IPv6Analyzer::Analyze(Packet* packet, const uint8_t*& data)
|
||||
{
|
||||
packet->l3_proto = L3_IPV6;
|
||||
|
||||
// Leave packet analyzer land
|
||||
return { AnalyzerResult::Terminate, 0 };
|
||||
return AnalyzerResult::Terminate;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue