Common interface for mesh point interface MAC plugins. More...
#include <mesh-wifi-interface-mac-plugin.h>
Public Member Functions | |
virtual | ~MeshWifiInterfaceMacPlugin () |
This is for subclasses. | |
virtual int64_t | AssignStreams (int64_t stream)=0 |
virtual bool | Receive (Ptr< Packet > packet, const WifiMacHeader &header)=0 |
Process received frame. | |
virtual void | SetParent (Ptr< MeshWifiInterfaceMac > parent)=0 |
Each plugin must be installed on interface to work. | |
virtual void | UpdateBeacon (MeshWifiBeacon &beacon) const =0 |
Update beacon before it will be formed and sent. | |
virtual bool | UpdateOutcomingFrame (Ptr< Packet > packet, WifiMacHeader &header, Mac48Address from, Mac48Address to)=0 |
Update frame before it will be forwarded down. | |
![]() | |
SimpleRefCount () | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
Additional Inherited Members | |
![]() | |
static void | Cleanup (void) |
Common interface for mesh point interface MAC plugins.
TODO: plugins description
Definition at line 41 of file mesh-wifi-interface-mac-plugin.h.
|
inlinevirtual |
This is for subclasses.
Definition at line 45 of file mesh-wifi-interface-mac-plugin.h.
|
pure virtual |
Assign a fixed random variable stream number to the random variables used by this model. Return the number of streams (possibly zero) that have been assigned.
stream | first stream index to use |
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.
|
pure virtual |
Process received frame.
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.
|
pure virtual |
Each plugin must be installed on interface to work.
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.
Referenced by ns3::MeshWifiInterfaceMac::InstallPlugin().
|
pure virtual |
Update beacon before it will be formed and sent.
TODO define when MAC call this
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.
|
pure virtual |
Update frame before it will be forwarded down.
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.