A Discrete-Event Network Simulator
API
mac48-address.cc File Reference
#include "mac48-address.h"
#include "ns3/address.h"
#include "ns3/assert.h"
#include "ns3/log.h"
#include <iomanip>
#include <iostream>
#include <cstring>
+ Include dependency graph for mac48-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 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)
 Converts a char to lower case. More...
 
Ptr< const AttributeChecker > ns3::MakeMac48AddressChecker (void)
 
std::ostream & ns3::operator<< (std::ostream &os, const Mac48Address &address)
 
std::istream & ns3::operator>> (std::istream &is, Mac48Address &address)
 

Macro Definition Documentation

◆ ASCII_a

#define ASCII_a   (0x41)

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

◆ ASCII_A

#define ASCII_A   (0x61)

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

◆ ASCII_COLON

#define ASCII_COLON   (0x3a)

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

◆ ASCII_z

#define ASCII_z   (0x5a)

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

◆ ASCII_Z

#define ASCII_Z   (0x7a)

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

◆ ASCII_ZERO

#define ASCII_ZERO   (0x30)

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