A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
std::hash< ns3::Ipv4Address > Struct Reference

Hash function class for IPv4 addresses. More...

#include "ipv4-address.h"

Public Member Functions

size_t operator() (const ns3::Ipv4Address &addr) const
 Returns the hash of an IPv4 address.

Detailed Description

Hash function class for IPv4 addresses.

Definition at line 395 of file ipv4-address.h.

Member Function Documentation

◆ operator()()

size_t std::hash< ns3::Ipv4Address >::operator() ( const ns3::Ipv4Address & addr) const
inline

Returns the hash of an IPv4 address.

Parameters
addrIPv4 address to hash
Returns
the hash of the address

Definition at line 402 of file ipv4-address.h.

References ns3::Ipv4Address::Get().

Here is the call graph for this function:

The documentation for this struct was generated from the following file: