|
INET Framework for OMNeT++/OMNEST
|
Class generated from inet/linklayer/ethernet/EtherFrame.msg:100 by nedtool.
More...
#include <EtherFrame_m.h>
Public Member Functions | |
| EthernetIIFrame (const char *name=nullptr, short kind=0) | |
| EthernetIIFrame (const EthernetIIFrame &other) | |
| virtual | ~EthernetIIFrame () |
| EthernetIIFrame & | operator= (const EthernetIIFrame &other) |
| virtual EthernetIIFrame * | dup () const override |
| virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
| virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
| virtual int | getEtherType () const |
| virtual void | setEtherType (int etherType) |
Public Member Functions inherited from inet::EtherFrame | |
| EtherFrame (const char *name=nullptr, short kind=0) | |
| EtherFrame (const EtherFrame &other) | |
| virtual | ~EtherFrame () |
| EtherFrame & | operator= (const EtherFrame &other) |
| virtual MACAddress & | getDest () |
| virtual const MACAddress & | getDest () const |
| virtual void | setDest (const MACAddress &dest) |
| virtual MACAddress & | getSrc () |
| virtual const MACAddress & | getSrc () const |
| virtual void | setSrc (const MACAddress &src) |
Protected Member Functions | |
| bool | operator== (const EthernetIIFrame &) |
Protected Member Functions inherited from inet::EtherFrame | |
| bool | operator== (const EtherFrame &) |
Protected Attributes | |
| int | etherType |
Protected Attributes inherited from inet::EtherFrame | |
| MACAddress | dest |
| MACAddress | src |
Private Member Functions | |
| void | copy (const EthernetIIFrame &other) |
Class generated from inet/linklayer/ethernet/EtherFrame.msg:100 by nedtool.
// // Ethernet II headers contain a 16-bit ~EtherType to identify // the encapsulated protocol. // // Header length: src(6)+dest(6)+etherType(2) + FCS(4) = 18 bytes // packet EthernetIIFrame extends EtherFrame { byteLength = ETHER_MAC_FRAME_BYTES; int etherType @enum(EtherType); }
| inet::EthernetIIFrame::EthernetIIFrame | ( | const char * | name = nullptr, |
| short | kind = 0 |
||
| ) |
| inet::EthernetIIFrame::EthernetIIFrame | ( | const EthernetIIFrame & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::EtherFrame.
|
virtual |
Referenced by inet::serializer::EthernetSerializer::serialize().
| EthernetIIFrame& inet::EthernetIIFrame::operator= | ( | const EthernetIIFrame & | other | ) |
|
protected |
|
overridevirtual |
Reimplemented from inet::EtherFrame.
Referenced by inet::doParsimPacking().
|
overridevirtual |
Reimplemented from inet::EtherFrame.
Referenced by inet::doParsimUnpacking().
|
virtual |
|
protected |