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

EtherFrame.msg by opp_msgc.
message EtherFrame
{
fields:
MACAddress dest;
MACAddress src;
};
Public Member Functions | |
| EtherFrame (const char *name=NULL, int kind=0) | |
| EtherFrame (const EtherFrame &other) | |
| virtual | ~EtherFrame () |
| EtherFrame & | operator= (const EtherFrame &other) |
| virtual cPolymorphic * | dup () const |
| virtual void | netPack (cCommBuffer *b) |
| virtual void | netUnpack (cCommBuffer *b) |
| virtual MACAddress & | getDest () |
| virtual const MACAddress & | getDest () const |
| virtual void | setDest (const MACAddress &dest_var) |
| virtual MACAddress & | getSrc () |
| virtual const MACAddress & | getSrc () const |
| virtual void | setSrc (const MACAddress &src_var) |
Protected Member Functions | |
| bool | operator== (const EtherFrame &) |
Protected Attributes | |
| MACAddress | dest_var |
| MACAddress | src_var |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Reimplemented in EthernetIIFrame, EtherFrameWithLLC, EtherFrameWithSNAP, and EtherPauseFrame. 00055 {return new EtherFrame(*this);}
|
|
|
00061 {return const_cast<EtherFrame*>(this)->getDest();}
|
|
|
|
|
|
00064 {return const_cast<EtherFrame*>(this)->getSrc();}
|
|
|
|
|
|
Reimplemented in EthernetIIFrame, EtherFrameWithLLC, EtherFrameWithSNAP, and EtherPauseFrame. |
|
|
Reimplemented in EthernetIIFrame, EtherFrameWithLLC, EtherFrameWithSNAP, and EtherPauseFrame. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.0