|
INET Framework for OMNeT++/OMNEST
|
#include <MacPkt_m.h>
Public Member Functions | |
| MacPkt (const char *name=NULL, int kind=0) | |
| MacPkt (const MacPkt &other) | |
| virtual | ~MacPkt () |
| MacPkt & | operator= (const MacPkt &other) |
| virtual MacPkt * | dup () const |
| virtual void | parsimPack (cCommBuffer *b) |
| virtual void | parsimUnpack (cCommBuffer *b) |
| virtual MACAddress & | getDestAddr () |
| virtual const MACAddress & | getDestAddr () const |
| virtual void | setDestAddr (const MACAddress &destAddr) |
| virtual MACAddress & | getSrcAddr () |
| virtual const MACAddress & | getSrcAddr () const |
| virtual void | setSrcAddr (const MACAddress &srcAddr) |
| virtual int | getChannelId () const |
| virtual void | setChannelId (int channelId) |
Protected Member Functions | |
| bool | operator== (const MacPkt &) |
Protected Attributes | |
| MACAddress | destAddr_var |
| MACAddress | srcAddr_var |
| int | channelId_var |
Private Member Functions | |
| void | copy (const MacPkt &other) |
Class generated from linklayer/mf80211/macLayer/MacPkt.msg by opp_msgc.
packet MacPkt { MACAddress destAddr; MACAddress srcAddr; int channelId = 1; }
Definition at line 33 of file MacPkt_m.h.
| MacPkt::MacPkt | ( | const char * | name = NULL, |
| int | kind = 0 |
||
| ) |
Referenced by dup().
| MacPkt::MacPkt | ( | const MacPkt & | other | ) |
| virtual MacPkt::~MacPkt | ( | ) | [virtual] |
| void MacPkt::copy | ( | const MacPkt & | other | ) | [private] |
| virtual MacPkt* MacPkt::dup | ( | ) | const [inline, virtual] |
| virtual int MacPkt::getChannelId | ( | ) | const [virtual] |
| virtual MACAddress& MacPkt::getDestAddr | ( | ) | [virtual] |
Referenced by CSMAMacLayer::handleLowerMsg(), Mac80211::handleLowerMsg(), and Mac80211::handleUpperMsg().
| virtual const MACAddress& MacPkt::getDestAddr | ( | ) | const [inline, virtual] |
Definition at line 58 of file MacPkt_m.h.
Referenced by getDestAddr().
{return const_cast<MacPkt*>(this)->getDestAddr();}
| virtual MACAddress& MacPkt::getSrcAddr | ( | ) | [virtual] |
Referenced by Mac80211::buildACKframe(), and Mac80211::buildCTSframe().
| virtual const MACAddress& MacPkt::getSrcAddr | ( | ) | const [inline, virtual] |
Definition at line 61 of file MacPkt_m.h.
Referenced by getSrcAddr().
{return const_cast<MacPkt*>(this)->getSrcAddr();}
| bool MacPkt::operator== | ( | const MacPkt & | ) | [protected] |
| virtual void MacPkt::parsimPack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented in Mac80211Pkt.
Referenced by doPacking().
| virtual void MacPkt::parsimUnpack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented in Mac80211Pkt.
Referenced by doUnpacking().
| virtual void MacPkt::setChannelId | ( | int | channelId | ) | [virtual] |
| virtual void MacPkt::setDestAddr | ( | const MACAddress & | destAddr | ) | [virtual] |
| virtual void MacPkt::setSrcAddr | ( | const MACAddress & | srcAddr | ) | [virtual] |
int MacPkt::channelId_var [protected] |
Definition at line 38 of file MacPkt_m.h.
MACAddress MacPkt::destAddr_var [protected] |
Definition at line 36 of file MacPkt_m.h.
MACAddress MacPkt::srcAddr_var [protected] |
Definition at line 37 of file MacPkt_m.h.