A Discrete-Event Network Simulator
API
Public Member Functions | List of all members
ns3::Ipv4AddressHash Class Reference

Class providing an hash for IPv4 addresses. More...

#include "ipv4-address.h"

+ Inheritance diagram for ns3::Ipv4AddressHash:

Public Member Functions

size_t operator() (Ipv4Address const &x) const
 Returns the hash of the address. More...
 

Detailed Description

Class providing an hash for IPv4 addresses.

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

Member Function Documentation

◆ operator()()

size_t ns3::Ipv4AddressHash::operator() ( Ipv4Address const &  x) const

Returns the hash of the address.

Parameters
xthe address
Returns
the hash

Definition at line 409 of file ipv4-address.cc.

References sample-rng-plot::x.


The documentation for this class was generated from the following files: