|
INET Framework for OMNeT++/OMNEST
|
#include "MACAddress.h"#include "Ethernet.h"#include "EtherFrame_m.h"#include <string>#include <vector>Go to the source code of this file.
Classes | |
| class | MACTable |
| struct | MACTable::s_record |
| struct | MACTable::MAC_compare |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const MACTable::tPortList l) |
| std::ostream & | operator<< (std::ostream &os, const MACTable::tType t) |
| std::ostream & | operator<< (std::ostream &os, const MACTable::tSpec s) |
| std::ostream & | operator<< (std::ostream &os, const MACTable::tRecord &addr) |
| std::ostream& operator<< | ( | std::ostream & | os, |
| const MACTable::tPortList | l | ||
| ) | [inline] |
| std::ostream& operator<< | ( | std::ostream & | os, |
| const MACTable::tType | t | ||
| ) | [inline] |
Definition at line 127 of file macTable.h.
{
switch (t) {
case MACTable::STATIC:
os << "Static";
break;
case MACTable::DYNAMIC:
os << "Dynamic";
break;
case MACTable::GROUP:
os << "Group";
break;
}
return os;
}
| std::ostream& operator<< | ( | std::ostream & | os, |
| const MACTable::tSpec | s | ||
| ) | [inline] |
Definition at line 143 of file macTable.h.
{
switch (s) {
case MACTable::NONE:
os << "None";
break;
case MACTable::STP:
os << "STP";
break;
default:
os << "???";
break;
}
return os;
}
| std::ostream& operator<< | ( | std::ostream & | os, |
| const MACTable::tRecord & | addr | ||
| ) | [inline] |
Definition at line 159 of file macTable.h.
{
os << addr.type;
if (addr.spec != MACTable::NONE) {
os << "(" << addr.spec << ")";
}
os << " " << addr.portList << " @" << addr.insert_time;
return os;
}