Introduced the concept of Mac hosts (it used to be mixed with L3 hosts). More work is needed to add L2 stats

Host activities are now enabled (and memory allocated) only for local hosts. Fixed bug in activities preferences
Cleaned up various methods
Removed some old unused code
This commit is contained in:
Luca Deri 2016-10-02 19:43:13 +02:00
parent 8d6220adf8
commit 97b19c1461
32 changed files with 838 additions and 788 deletions

View file

@ -24,7 +24,8 @@
/* ***************************************** */
GenericHashEntry::GenericHashEntry(NetworkInterface *_iface) {
hash_next = NULL, iface = _iface, first_seen = last_seen = 0, will_be_purged = false;
hash_next = NULL, iface = _iface, first_seen = last_seen = 0,
will_be_purged = false, num_uses = 0;;
}
/* ***************************************** */