A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ipv6-address.cc File Reference
#include <iomanip>
#include <memory.h>
#include "ns3/log.h"
#include "ns3/assert.h"
#include "mac48-address.h"
#include "ipv6-address.h"
+ Include dependency graph for ipv6-address.cc:

Go to the source code of this file.

Namespaces

namespace  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.
 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.
 NS_LOG_COMPONENT_DEFINE ("Ipv6Address")
bool ns3::operator!= (Ipv6Prefix const &a, Ipv6Prefix const &b)
std::ostream & ns3::operator<< (std::ostream &os, Ipv6Address const &address)
std::ostream & ns3::operator<< (std::ostream &os, Ipv6Prefix const &prefix)
bool ns3::operator== (Ipv6Prefix const &a, Ipv6Prefix const &b)
std::istream & ns3::operator>> (std::istream &is, Ipv6Address &address)
std::istream & ns3::operator>> (std::istream &is, Ipv6Prefix &prefix)

Macro Definition Documentation

#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); \
})

Referenced by ns3::lookuphash().

Function Documentation

NS_LOG_COMPONENT_DEFINE ( "Ipv6Address"  )