mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00
GH-1215: Remove dispatch_map from packet analysis, replace with BIF methods for registering dispatches
This commit is contained in:
parent
43821a8957
commit
cd06bf34c7
34 changed files with 3770 additions and 3623 deletions
|
@ -85,6 +85,15 @@ public:
|
|||
*/
|
||||
void DumpDebug() const;
|
||||
|
||||
/**
|
||||
* Adds a protocol to this analyzer's dispatcher.
|
||||
*
|
||||
* @param idenfitier The identifier for the protocol being added.
|
||||
* @param child The analyzer that will be called for the new protocol during
|
||||
* forwarding.
|
||||
*/
|
||||
void RegisterProtocol(uint32_t identifier, AnalyzerPtr child);
|
||||
|
||||
protected:
|
||||
friend class Manager;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue