Hashing for the Address class. More...
Public Member Functions | |
size_t | operator() (const Address &x) const |
operator () More... | |
Hashing for the Address class.
Definition at line 727 of file qkd-app-004.h.
|
inline |
operator ()
x | the address of which calculate the hash |
Should this method go in address.h?
It calculates the hash taking the uint32_t hash value of the ipv4 address. It works only for InetSocketAddresses (Ipv4 version)
Definition at line 739 of file qkd-app-004.h.
References ns3::InetSocketAddress::ConvertFrom(), ns3::Ipv4Address::Get(), ns3::InetSocketAddress::GetIpv4(), ns3::InetSocketAddress::IsMatchingType(), NS_ABORT_IF, and two-ray-to-three-gpp-ch-calibration::x.