Implements new minute-by-minute top talkers

This commit is contained in:
Simone Mainardi 2019-07-09 15:43:09 +02:00
parent 736fabc5a1
commit 24624c8ed0
9 changed files with 101 additions and 120 deletions

View file

@ -350,6 +350,7 @@ class NetworkInterface : public AlertableEntity {
void dumpAggregatedFlow(time_t when, AggregatedFlow *f, bool is_top_aggregated_flow, bool is_top_cli, bool is_top_srv);
void flushFlowDump();
#endif
void checkPointHostTalker(lua_State* vm, char *host_ip, u_int16_t vlan_id);
int dumpLocalHosts2redis(bool disable_purge);
inline void incRetransmittedPkts(u_int32_t num) { tcpPacketStats.incRetr(num); };
inline void incOOOPkts(u_int32_t num) { tcpPacketStats.incOOO(num); };