#include <MacPkt_m.h>
Inheritance diagram for MacPkt:

MacPkt.msg by opp_msgc.
message MacPkt
{
fields:
MACAddress destAddr;
MACAddress srcAddr;
int channelId=1;
}
Public Member Functions | |
| MacPkt (const char *name=NULL, int kind=0) | |
| MacPkt (const MacPkt &other) | |
| virtual | ~MacPkt () |
| MacPkt & | operator= (const MacPkt &other) |
| virtual cPolymorphic * | dup () const |
| virtual void | netPack (cCommBuffer *b) |
| virtual void | netUnpack (cCommBuffer *b) |
| virtual MACAddress & | getDestAddr () |
| virtual const MACAddress & | getDestAddr () const |
| virtual void | setDestAddr (const MACAddress &destAddr_var) |
| virtual MACAddress & | getSrcAddr () |
| virtual const MACAddress & | getSrcAddr () const |
| virtual void | setSrcAddr (const MACAddress &srcAddr_var) |
| virtual int | getChannelId () const |
| virtual void | setChannelId (int channelId_var) |
Protected Member Functions | |
| bool | operator== (const MacPkt &) |
Protected Attributes | |
| MACAddress | destAddr_var |
| MACAddress | srcAddr_var |
| int | channelId_var |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Reimplemented in Mac80211Pkt. 00049 {return new MacPkt(*this);}
|
|
|
|
|
|
00055 {return const_cast<MacPkt*>(this)->getDestAddr();}
|
|
|
|
|
|
00058 {return const_cast<MacPkt*>(this)->getSrcAddr();}
|
|
|
|
|
|
Reimplemented in Mac80211Pkt. |
|
|
Reimplemented in Mac80211Pkt. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.0