Class providing an hash for IPv4 addresses. More...
#include "ipv4-address.h"
Public Member Functions | |
size_t | operator() (Ipv4Address const &x) const |
Returns the hash of an IPv4 address. More... | |
Class providing an hash for IPv4 addresses.
Definition at line 397 of file ipv4-address.h.
size_t ns3::Ipv4AddressHash::operator() | ( | Ipv4Address const & | x | ) | const |
Returns the hash of an IPv4 address.
x | the address |
This method uses std::hash rather than class Hash as speed is more important than cryptographic robustness.
Definition at line 416 of file ipv4-address.cc.
References sample-rng-plot::x.