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 |
Assign a fixed random variable stream number to the random variables used by this model. | |
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 an 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. | |
Public Member Functions inherited from ns3::SimpleRefCount< MeshWifiInterfaceMacPlugin > | |
SimpleRefCount () | |
Default constructor. | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. | |
uint32_t | GetReferenceCount () const |
Get the reference count of the object. | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
Assignment operator. | |
void | Ref () const |
Increment the reference count. | |
void | Unref () const |
Decrement the reference count. | |
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::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.
|
pure virtual |
Process received frame.
packet | |
header |
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.
|
pure virtual |
Each plugin must be installed on an interface to work.
parent | the parent object |
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.
|
pure virtual |
Update beacon before it will be formed and sent.
beacon |
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.
|
pure virtual |
Update frame before it will be forwarded down.
packet | |
header | |
from | |
to |
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.