Common interface for mesh point interface MAC plugins. More...
#include <mesh-wifi-interface-mac-plugin.h>
Inheritance diagram for ns3::MeshWifiInterfaceMacPlugin: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. More... | |
| 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. More... | |
| virtual bool | UpdateOutcomingFrame (Ptr< Packet > packet, WifiMacHeader &header, Mac48Address from, Mac48Address to)=0 |
| Update frame before it will be forwarded down. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< MeshWifiInterfaceMacPlugin > | |
| 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 Public Member Functions inherited from ns3::SimpleRefCount< MeshWifiInterfaceMacPlugin > | |
| 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.
|
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 |
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.