A Discrete-Event Network Simulator
API
ipv6-address.cc File Reference
#include <iomanip>
#include <memory.h>
#include "ns3/log.h"
#include "ns3/assert.h"
#include "mac16-address.h"
#include "mac48-address.h"
#include "mac64-address.h"
#include "ipv6-address.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

static bool ns3::AsciiToIpv6Host (const char *address, uint8_t addr[16])
 Convert an IPv6 C-string into a 128-bit representation. More...
 
static uint32_t ns3::lookuphash (unsigned char *k, uint32_t length, uint32_t level)
 Get a hash key. More...
 
Ptr< const AttributeChecker > ns3::MakeIpv6AddressChecker (void)
 
Ptr< const AttributeChecker > ns3::MakeIpv6PrefixChecker (void)
 
std::ostream & ns3::operator<< (std::ostream &os, Ipv6Address const &address)
 Stream insertion operator. More...
 
std::ostream & ns3::operator<< (std::ostream &os, Ipv6Prefix const &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); \
})