Hashing for the Address class. More...
| Public Member Functions | |
| size_t | operator() (const Address &x) const | 
| operator () | |
Hashing for the Address class.
Definition at line 144 of file packet-sink.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 or IPv6 address. It works only for InetSocketAddresses (IPv4 version) or Inet6SocketAddresses (IPv6 version)
Definition at line 157 of file packet-sink.h.
References ns3::Inet6SocketAddress::ConvertFrom(), ns3::InetSocketAddress::ConvertFrom(), ns3::InetSocketAddress::GetIpv4(), ns3::Inet6SocketAddress::GetIpv6(), ns3::Inet6SocketAddress::IsMatchingType(), ns3::InetSocketAddress::IsMatchingType(), NS_ABORT_MSG, and x.