A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
mac48-address.cc File Reference
#include "mac48-address.h"
#include "ns3/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.

Macros

#define ASCII_a   (0x41)
#define ASCII_A   (0x61)
#define ASCII_COLON   (0x3a)
#define ASCII_z   (0x5a)
#define ASCII_Z   (0x7a)
#define ASCII_ZERO   (0x30)

Functions

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

Macro Definition Documentation

#define ASCII_a   (0x41)

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

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

#define ASCII_A   (0x61)

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

Referenced by ns3::AsciiToLowCase().

#define ASCII_COLON   (0x3a)

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

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

#define ASCII_z   (0x5a)

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

Referenced by ns3::AsciiToLowCase().

#define ASCII_Z   (0x7a)

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

Referenced by ns3::AsciiToLowCase().

#define ASCII_ZERO   (0x30)

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

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