Fixes AS/Country/VLAN serialization which was performed offline

This commit is contained in:
Simone Mainardi 2019-10-25 14:46:31 +02:00
parent 0d0394e862
commit 071bafd223
8 changed files with 33 additions and 12 deletions

View file

@ -45,6 +45,8 @@ class AutonomousSystem : public GenericHashEntry, public GenericTrafficElement,
AutonomousSystem(NetworkInterface *_iface, IpAddress *ipa);
~AutonomousSystem();
void set_hash_entry_state_idle();
inline u_int16_t getNumHosts() { return getUses(); }
inline u_int32_t key() { return(asn); }
inline u_int32_t get_asn() { return(asn); }