src/node/mac48-address.cc File Reference

#include "mac48-address.h"
#include "address.h"
#include "ns3/assert.h"
#include <iomanip>
#include <iostream>
#include <string.h>
Include dependency graph for mac48-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 ASCII_a   (0x41)
#define ASCII_z   (0x5a)
#define ASCII_A   (0x61)
#define ASCII_Z   (0x7a)
#define ASCII_COLON   (0x3a)
#define ASCII_ZERO   (0x30)

Functions

 ns3::ATTRIBUTE_HELPER_CPP (Mac48Address)
static char ns3::AsciiToLowCase (char c)
bool ns3::operator== (const Mac48Address &a, const Mac48Address &b)
bool ns3::operator!= (const Mac48Address &a, const Mac48Address &b)
bool ns3::operator< (const Mac48Address &a, const Mac48Address &b)
std::ostream & ns3::operator<< (std::ostream &os, const Mac48Address &address)
static uint8_t ns3::AsInt (std::string v)
std::istream & ns3::operator>> (std::istream &is, Mac48Address &address)

Define Documentation

#define ASCII_A   (0x61)

Definition at line 33 of file mac48-address.cc.

Referenced by ns3::AsciiToLowCase().

#define ASCII_a   (0x41)

Definition at line 31 of file mac48-address.cc.

Referenced by ns3::AsciiToLowCase(), and ns3::Mac48Address::Mac48Address().

#define ASCII_COLON   (0x3a)

Definition at line 35 of file mac48-address.cc.

Referenced by ns3::Mac48Address::Mac48Address().

#define ASCII_Z   (0x7a)

Definition at line 34 of file mac48-address.cc.

Referenced by ns3::AsciiToLowCase().

#define ASCII_z   (0x5a)

Definition at line 32 of file mac48-address.cc.

Referenced by ns3::AsciiToLowCase().

#define ASCII_ZERO   (0x30)

Definition at line 36 of file mac48-address.cc.

Generated on Thu Dec 3 14:08:30 2009 for NS-3 by  doxygen 1.6.3