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

@ -419,7 +419,7 @@ void set_processing_status(const char* status, const char* reason);
// perspective. In particular, if we're reading from a savefile this
// is the time of the most recent packet, not the time returned by
// gettimeofday().
extern double network_time;
extern double& network_time [[deprecated("Remove in v4.1. Use zeek::net::network_time.")]];
// Returns the current time.
// (In pseudo-realtime mode this is faked to be the start time of the