Generalizes hosts/flows periodic stats update

This commit is contained in:
Simone Mainardi 2019-10-28 12:07:11 +01:00
parent a8875949da
commit 2d0b9e005a
7 changed files with 63 additions and 58 deletions

View file

@ -107,6 +107,11 @@ void GenericHashEntry::periodic_hash_entry_state_update(void *user_data, bool qu
/* ***************************************** */
void GenericHashEntry::periodic_stats_update(void *user_data, bool quick) {
}
/* ***************************************** */
bool GenericHashEntry::idle() const {
return(get_state() > hash_entry_state_active);
};