A Discrete-Event Network Simulator
API
ipv6-address.cc File Reference
#include "ipv6-address.h"
#include "mac16-address.h"
#include "mac48-address.h"
#include "mac64-address.h"
#include "ns3/assert.h"
#include "ns3/log.h"
#include <iomanip>
#include <memory>
#include <arpa/inet.h>
+ Include dependency graph for ipv6-address.cc:

Go to the source code of this file.

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Macros

#define mix(a, b, c)
 

Functions

 ns3::ATTRIBUTE_HELPER_CPP (Ipv6Address)
 
 ns3::ATTRIBUTE_HELPER_CPP (Ipv6Prefix)
 
static uint32_t ns3::lookuphash (unsigned char *k, uint32_t length, uint32_t level)
 Get a hash key. More...
 
std::ostream & ns3::operator<< (std::ostream &os, const Ipv6Address &address)
 Stream insertion operator. More...
 
std::ostream & ns3::operator<< (std::ostream &os, const Ipv6Prefix &prefix)
 Stream insertion operator. More...
 
std::istream & ns3::operator>> (std::istream &is, Ipv6Address &address)
 Stream extraction operator. More...
 
std::istream & ns3::operator>> (std::istream &is, Ipv6Prefix &prefix)
 Stream extraction operator. More...
 

Macro Definition Documentation

◆ mix

#define mix (   a,
  b,
 
)
Value:
({ \
(a) -= (b); \
(a) -= (c); \
(a) ^= ((c) >> 13); \
(b) -= (c); \
(b) -= (a); \
(b) ^= ((a) << 8); \
(c) -= (a); \
(c) -= (b); \
(c) ^= ((b) >> 13); \
(a) -= (b); \
(a) -= (c); \
(a) ^= ((c) >> 12); \
(b) -= (c); \
(b) -= (a); \
(b) ^= ((a) << 16); \
(c) -= (a); \
(c) -= (b); \
(c) ^= ((b) >> 5); \
(a) -= (b); \
(a) -= (c); \
(a) ^= ((c) >> 3); \
(b) -= (c); \
(b) -= (a); \
(b) ^= ((a) << 10); \
(c) -= (a); \
(c) -= (b); \
(c) ^= ((b) >> 15); \
})