#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 |
| EtherFrame::EtherFrame | ( | const char * | name = NULL, |
|
| int | kind = 0 | |||
| ) |
| EtherFrame::EtherFrame | ( | const EtherFrame & | other | ) |
| virtual EtherFrame::~EtherFrame | ( | ) | [virtual] |
| virtual cPolymorphic* EtherFrame::dup | ( | ) | const [inline, virtual] |
Reimplemented in EthernetIIFrame, EtherFrameWithLLC, EtherFrameWithSNAP, and EtherPauseFrame.
00055 {return new EtherFrame(*this);}
| virtual const MACAddress& EtherFrame::getDest | ( | ) | const [inline, virtual] |
| virtual MACAddress& EtherFrame::getDest | ( | ) | [virtual] |
| virtual const MACAddress& EtherFrame::getSrc | ( | ) | const [inline, virtual] |
| virtual MACAddress& EtherFrame::getSrc | ( | ) | [virtual] |
| virtual void EtherFrame::netPack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented in EthernetIIFrame, EtherFrameWithLLC, EtherFrameWithSNAP, and EtherPauseFrame.
| virtual void EtherFrame::netUnpack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented in EthernetIIFrame, EtherFrameWithLLC, EtherFrameWithSNAP, and EtherPauseFrame.
| EtherFrame& EtherFrame::operator= | ( | const EtherFrame & | other | ) |
| bool EtherFrame::operator== | ( | const EtherFrame & | ) | [protected] |
| virtual void EtherFrame::setDest | ( | const MACAddress & | dest_var | ) | [virtual] |
| virtual void EtherFrame::setSrc | ( | const MACAddress & | src_var | ) | [virtual] |
MACAddress EtherFrame::dest_var [protected] |
MACAddress EtherFrame::src_var [protected] |
1.4.7