mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Move the functions and variables in Net.h to the zeek::net namespace. This includes moving network_time out of util.h.
This commit is contained in:
parent
ca9baec6e8
commit
e7c6d51ae7
55 changed files with 461 additions and 374 deletions
|
@ -154,7 +154,7 @@ void FragReassembler::AddFragment(double t, const zeek::IP_Hdr* ip, const u_char
|
|||
pkt += hdr_len;
|
||||
len -= hdr_len;
|
||||
|
||||
NewBlock(network_time, offset, len, pkt);
|
||||
NewBlock(zeek::net::network_time, offset, len, pkt);
|
||||
}
|
||||
|
||||
void FragReassembler::Weird(const char* name) const
|
||||
|
@ -278,7 +278,7 @@ void FragReassembler::BlockInserted(DataBlockMap::const_iterator /* it */)
|
|||
{
|
||||
zeek::reporter->InternalWarning("bad fragment reassembly");
|
||||
DeleteTimer();
|
||||
Expire(network_time);
|
||||
Expire(zeek::net::network_time);
|
||||
delete [] pkt_start;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue