mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Rename NetSessions to SessionManager
This also includes: - Deprecating the NetSessions name. - Renaming the zeek::sessions global to zeek::session_mgr and deprecating the old name. - Renaming Sessions.{h,cc} to SessionManager.{h,cc}.
This commit is contained in:
parent
f7e3556a67
commit
db1d753b35
42 changed files with 148 additions and 155 deletions
|
@ -25,7 +25,7 @@
|
|||
namespace zeek {
|
||||
|
||||
class Connection;
|
||||
class NetSessions;
|
||||
class SessionManager;
|
||||
class EncapsulationStack;
|
||||
class Val;
|
||||
class RecordVal;
|
||||
|
@ -73,7 +73,7 @@ static inline int addr_port_canon_lt(const IPAddr& addr1, uint32_t p1,
|
|||
class Connection final : public Session {
|
||||
public:
|
||||
|
||||
Connection(NetSessions* s, const detail::ConnIDKey& k, double t, const ConnID* id,
|
||||
Connection(const detail::ConnIDKey& k, double t, const ConnID* id,
|
||||
uint32_t flow, const Packet* pkt);
|
||||
~Connection() override;
|
||||
|
||||
|
@ -247,8 +247,6 @@ protected:
|
|||
// Allow other classes to access pointers to these:
|
||||
friend class detail::SessionTimer;
|
||||
|
||||
NetSessions* sessions;
|
||||
|
||||
IPAddr orig_addr;
|
||||
IPAddr resp_addr;
|
||||
uint32_t orig_port, resp_port; // in network order
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue