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

Hash function class for IPv6 addresses. More...

#include "ipv6-address.h"

+ Inheritance diagram for ns3::Ipv6AddressHash:
+ Collaboration diagram for ns3::Ipv6AddressHash:

Public Member Functions

size_t operator() (Ipv6Address const &x) const
 Unary operator to hash IPv6 address. More...
 

Detailed Description

Hash function class for IPv6 addresses.

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

Member Function Documentation

◆ operator()()

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

Unary operator to hash IPv6 address.

Parameters
xIPv6 address to hash
Returns
the hash of the address

Definition at line 1107 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: