#include <EtherFrame_m.h>
Inheritance diagram for EtherFrame:

Public Methods | |
| EtherFrame (const char *name=NULL, int kind=0) | |
| EtherFrame (const EtherFrame &other) | |
| virtual | ~EtherFrame () |
| EtherFrame & | operator= (const EtherFrame &other) |
| virtual cObject * | dup () const |
| virtual MACAddress & | getDest () |
| virtual void | setDest (const MACAddress &dest_var) |
| virtual MACAddress & | getSrc () |
| virtual void | setSrc (const MACAddress &src_var) |
Protected Attributes | |
| MACAddress | dest_var |
| MACAddress | src_var |
|
||||||||||||
|
Definition at line 20 of file EtherFrame_m.cc. Referenced by dup().
00020 : cMessage(name,kind)
00021 {
00022 unsigned int i;
00023 }
|
|
|
Definition at line 25 of file EtherFrame_m.cc. References operator=().
00025 : cMessage()
00026 {
00027 unsigned int i;
00028 setName(other.name());
00029 operator=(other);
00030 }
|
|
|
Definition at line 32 of file EtherFrame_m.cc.
00033 {
00034 unsigned int i;
00035 }
|
|
|
Reimplemented in EthernetIIFrame, EtherFrameWithLLC, EtherFrameWithSNAP, and EtherPauseFrame. Definition at line 28 of file EtherFrame_m.h. References EtherFrame(). Referenced by MACRelayUnitBase::broadcastFrame().
00028 {return new EtherFrame(*this);}
|
|
|
Definition at line 47 of file EtherFrame_m.cc. References dest_var. Referenced by EtherFrameDescriptor::getFieldAsString(), EtherFrameDescriptor::getFieldStructPointer(), MACRelayUnitBase::handleAndDispatchFrame(), EtherLLC::processFrameFromMAC(), EtherEncap::processFrameFromMAC(), EtherMAC::processFrameFromUpperLayer(), and EtherMAC::processReceivedDataFrame().
00048 {
00049 return dest_var;
00050 }
|
|
|
Definition at line 57 of file EtherFrame_m.cc. References src_var. Referenced by EtherFrameDescriptor::getFieldAsString(), EtherFrameDescriptor::getFieldStructPointer(), MACRelayUnitBase::handleAndDispatchFrame(), EtherLLC::processFrameFromMAC(), EtherEncap::processFrameFromMAC(), and EtherMAC::processFrameFromUpperLayer().
00058 {
00059 return src_var;
00060 }
|
|
|
Definition at line 37 of file EtherFrame_m.cc. References dest_var, and src_var. Referenced by EtherFrame(), EtherPauseFrame::operator=(), EtherFrameWithSNAP::operator=(), EtherFrameWithLLC::operator=(), and EthernetIIFrame::operator=().
|
|
|
Definition at line 52 of file EtherFrame_m.cc. Referenced by EtherLLC::processPacketFromHigherLayer(), and EtherEncap::processPacketFromHigherLayer().
00053 {
00054 this->dest_var = dest_var;
00055 }
|
|
|
Definition at line 62 of file EtherFrame_m.cc. Referenced by EtherMAC::processFrameFromUpperLayer(), and EtherEncap::processPacketFromHigherLayer().
00063 {
00064 this->src_var = src_var;
00065 }
|
|
|
Definition at line 21 of file EtherFrame_m.h. |
|
|
Definition at line 22 of file EtherFrame_m.h. |
1.2.17