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. More... | |
virtual int64_t | AssignStreams (int64_t stream)=0 |
Assign a fixed random variable stream number to the random variables used by this model. More... | |
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 an interface to work. More... | |
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 () | |
Default constructor. More... | |
SimpleRefCount (const SimpleRefCount &o[[maybe_unused]]) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= ([[maybe_unused]] const SimpleRefCount &o) |
Assignment operator. More... | |
void | Ref (void) const |
Increment the reference count. More... | |
void | Unref (void) const |
Decrement the reference count. More... | |
Common interface for mesh point interface MAC plugins.
Definition at line 40 of file mesh-wifi-interface-mac-plugin.h.
|
inlinevirtual |
This is for subclasses.
Definition at line 44 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::flame::FlameProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::dot11s::HwmpProtocolMac.
|
pure virtual |
Process received frame.
packet | |
header |
Implemented in ns3::flame::FlameProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::dot11s::HwmpProtocolMac.
|
pure virtual |
Each plugin must be installed on an interface to work.
parent | the parent object |
Implemented in ns3::flame::FlameProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::dot11s::HwmpProtocolMac.
Referenced by ns3::MeshWifiInterfaceMac::InstallPlugin().
|
pure virtual |
Update beacon before it will be formed and sent.
beacon |
Implemented in ns3::flame::FlameProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::dot11s::HwmpProtocolMac.
|
pure virtual |
Update frame before it will be forwarded down.
packet | |
header | |
from | |
to |
Implemented in ns3::flame::FlameProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::dot11s::HwmpProtocolMac.