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:
Tim Wojtulewicz 2020-08-05 11:37:20 -07:00
parent ca9baec6e8
commit e7c6d51ae7
55 changed files with 461 additions and 374 deletions

View file

@ -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;
}