A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::Duid::DuidHash Class Reference

Class providing a hash for DUIDs. More...

#include "dhcp6-duid.h"

Public Member Functions

size_t operator() (const Duid &x) const noexcept
 Returns the hash of a DUID.
 

Detailed Description

Class providing a hash for DUIDs.

Definition at line 49 of file dhcp6-duid.h.

Member Function Documentation

◆ operator()()

size_t ns3::Duid::DuidHash::operator() ( const Duid & x) const
noexcept

Returns the hash of a DUID.

Parameters
xthe DUID
Returns
the hash

This method uses std::hash rather than class Hash as speed is more important than cryptographic robustness.

Definition at line 226 of file dhcp6-duid.cc.


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