src/node/ipv6-address.cc File Reference

#include <string.h>
#include "ns3/log.h"
#include "ipv6-address.h"
#include "ns3/assert.h"
#include "mac48-address.h"
#include <iomanip>
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.


Defines

#define mix(a, b, c)

Functions

 NS_LOG_COMPONENT_DEFINE ("Ipv6Address")
static uint32_t ns3::lookuphash (unsigned char *k, uint32_t length, uint32_t level)
 Get a hash key.
static int ns3::AsciiToIpv6Host (char const *address, uint8_t addr[16])
 Convert an IPv6 C-string into a 128-bit representation.
std::ostream & ns3::operator<< (std::ostream &os, Ipv6Address const &address)
std::istream & ns3::operator>> (std::istream &is, Ipv6Address &address)
std::ostream & ns3::operator<< (std::ostream &os, Ipv6Prefix const &prefix)
std::istream & ns3::operator>> (std::istream &is, Ipv6Prefix &prefix)
bool ns3::operator== (Ipv6Prefix const &a, Ipv6Prefix const &b)
bool ns3::operator!= (Ipv6Prefix const &a, Ipv6Prefix const &b)
 ns3::ATTRIBUTE_HELPER_CPP (Ipv6Address)
 ns3::ATTRIBUTE_HELPER_CPP (Ipv6Prefix)

Define 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"   ) 
Generated on Thu Dec 3 14:08:27 2009 for NS-3 by  doxygen 1.6.3