Finishes rework of ArpStatsHashMatrix

This commit is contained in:
Simone Mainardi 2019-03-07 14:20:41 +01:00
parent ab9f9326da
commit 0a903c97ce
11 changed files with 93 additions and 139 deletions

View file

@ -512,7 +512,8 @@ class NetworkInterface : public Checkpointable {
void runHousekeepingTasks();
void runShutdownTasks();
virtual ArpStatsMatrixElement* getArpHashMatrixElement(u_int8_t _src_mac[6],u_int8_t _dst_mac[6], bool createIfNotPresent);
ArpStatsMatrixElement* getArpHashMatrixElement(u_int8_t _src_mac[6], u_int8_t _dst_mac[6], bool createIfNotPresent);
void cleanupArpHashMatrixRow(const u_int8_t _src_mac[6]);
Vlan* getVlan(u_int16_t vlanId, bool createIfNotPresent);
AutonomousSystem *getAS(IpAddress *ipa, bool createIfNotPresent);
Country* getCountry(const char *country_name, bool createIfNotPresent);