mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Move session code into new directory and into zeek::session namespace
This commit is contained in:
parent
3ee171eb2d
commit
18c6aaaa33
38 changed files with 143 additions and 124 deletions
|
@ -10,7 +10,7 @@
|
|||
#include "zeek/RunState.h"
|
||||
#include "zeek/NetVar.h"
|
||||
#include "zeek/Event.h"
|
||||
#include "zeek/SessionManager.h"
|
||||
#include "zeek/session/SessionManager.h"
|
||||
#include "zeek/Reporter.h"
|
||||
#include "zeek/Timer.h"
|
||||
#include "zeek/iosource/IOSource.h"
|
||||
|
@ -380,7 +380,7 @@ void Connection::FlipRoles()
|
|||
|
||||
unsigned int Connection::MemoryAllocation() const
|
||||
{
|
||||
return Session::MemoryAllocation() + padded_sizeof(*this)
|
||||
return session::Session::MemoryAllocation() + padded_sizeof(*this)
|
||||
+ (timers.MemoryAllocation() - padded_sizeof(timers))
|
||||
+ (conn_val ? conn_val->MemoryAllocation() : 0)
|
||||
+ (root_analyzer ? root_analyzer->MemoryAllocation(): 0)
|
||||
|
@ -395,7 +395,7 @@ unsigned int Connection::MemoryAllocationVal() const
|
|||
|
||||
void Connection::Describe(ODesc* d) const
|
||||
{
|
||||
Session::Describe(d);
|
||||
session::Session::Describe(d);
|
||||
|
||||
switch ( proto ) {
|
||||
case TRANSPORT_TCP:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue