mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Switch to virtualized use of new zeek::ConnKey class tree
This touches quite a few places, but each just swaps out existing APIs and/or zeek::detail::ConnKey instances.
This commit is contained in:
parent
b8f82ff659
commit
52d6228b06
14 changed files with 158 additions and 65 deletions
|
@ -5,6 +5,7 @@
|
|||
#include <sys/types.h> // for u_char
|
||||
#include <unordered_map>
|
||||
|
||||
#include "zeek/ConnKey.h"
|
||||
#include "zeek/Frag.h"
|
||||
#include "zeek/session/Session.h"
|
||||
|
||||
|
@ -70,7 +71,7 @@ public:
|
|||
* @param conn_key The key for the connection to search for.
|
||||
* @return The connection, or nullptr if one doesn't exist.
|
||||
*/
|
||||
Connection* FindConnection(const zeek::detail::ConnKey& conn_key);
|
||||
Connection* FindConnection(const zeek::ConnKey& conn_key);
|
||||
|
||||
void Remove(Session* s);
|
||||
void Insert(Session* c, bool remove_existing = true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue