A Discrete-Event Network Simulator
API
ns3::Ipv6AddressHash Class Reference

Hash function class for IPv6 addresses. More...

#include "ipv6-address.h"

Public Member Functions

size_t operator() (Ipv6Address const &x) const
 Returns the hash of an IPv6 address. More...
 

Detailed Description

Hash function class for IPv6 addresses.

Definition at line 699 of file ipv6-address.h.

Member Function Documentation

◆ operator()()

size_t ns3::Ipv6AddressHash::operator() ( Ipv6Address const &  x) const

Returns the hash of an IPv6 address.

Parameters
xIPv6 address to hash
Returns
the hash of the address

Definition at line 1173 of file ipv6-address.cc.

References ns3::lookuphash(), and sample-rng-plot::x.

+ Here is the call graph for this function:

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