Flow::getFlowStatus is now setting a bitmap to handle multiple statuses to be exposed in the flowinfo

This commit is contained in:
Alfredo Cardigliano 2019-09-04 18:27:32 +02:00
parent d630cce58a
commit 4ea64d4275
5 changed files with 181 additions and 147 deletions

View file

@ -243,7 +243,7 @@ class Flow : public GenericHashEntry {
time_t _first_seen, time_t _last_seen);
~Flow();
FlowStatus getFlowStatus();
FlowStatus getFlowStatus(FlowStatusMap *status_map);
struct site_categories* getFlowCategory(bool force_categorization);
void freeDPIMemory();
static const ndpi_protocol ndpiUnknownProtocol;