INET Framework for OMNeT++/OMNEST
|
Class generated from inet/linklayer/ethernet/EtherFrame.msg:112
by nedtool.
More...
#include <EtherFrame_m.h>
Public Member Functions | |
EtherFrameWithLLC (const char *name=nullptr, short kind=0) | |
EtherFrameWithLLC (const EtherFrameWithLLC &other) | |
virtual | ~EtherFrameWithLLC () |
EtherFrameWithLLC & | operator= (const EtherFrameWithLLC &other) |
virtual EtherFrameWithLLC * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual int | getDsap () const |
virtual void | setDsap (int dsap) |
virtual int | getSsap () const |
virtual void | setSsap (int ssap) |
virtual int | getControl () const |
virtual void | setControl (int control) |
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 EtherFrameWithLLC &) |
Protected Member Functions inherited from inet::EtherFrame | |
bool | operator== (const EtherFrame &) |
Protected Attributes | |
int | dsap |
int | ssap |
int | control |
Protected Attributes inherited from inet::EtherFrame | |
MACAddress | dest |
MACAddress | src |
Private Member Functions | |
void | copy (const EtherFrameWithLLC &other) |
Class generated from inet/linklayer/ethernet/EtherFrame.msg:112
by nedtool.
// // Ethernet frame with 802.3 LLC header. // // Header length: src(6)+dest(6)+length(2)+ssap(1)+dsap(1)+control(1) + FCS(4) = 21 bytes // packet EtherFrameWithLLC extends EtherFrame { byteLength = ETHER_MAC_FRAME_BYTES + ETHER_LLC_HEADER_LENGTH; int dsap; int ssap; int control; }
inet::EtherFrameWithLLC::EtherFrameWithLLC | ( | const char * | name = nullptr , |
short | kind = 0 |
||
) |
inet::EtherFrameWithLLC::EtherFrameWithLLC | ( | const EtherFrameWithLLC & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::EtherFrame.
Reimplemented in inet::EtherFrameWithSNAP.
|
virtual |
Referenced by inet::serializer::EthernetSerializer::serialize().
|
virtual |
|
virtual |
EtherFrameWithLLC& inet::EtherFrameWithLLC::operator= | ( | const EtherFrameWithLLC & | other | ) |
|
protected |
|
overridevirtual |
Reimplemented from inet::EtherFrame.
Reimplemented in inet::EtherFrameWithSNAP.
Referenced by inet::doParsimPacking().
|
overridevirtual |
Reimplemented from inet::EtherFrame.
Reimplemented in inet::EtherFrameWithSNAP.
Referenced by inet::doParsimUnpacking().
|
virtual |
|
virtual |
Referenced by inet::serializer::EthernetSerializer::deserialize().
|
virtual |
Referenced by inet::serializer::EthernetSerializer::deserialize().
|
protected |
|
protected |
|
protected |