ns-3
|
Interface MAC plugin for HWMP – 802.11s routing protocol. More...
#include <hwmp-protocol-mac.h>
Classes | |
struct | MyPerr |
struct | Statistics |
Public Member Functions | |
HwmpProtocolMac (uint32_t, Ptr< HwmpProtocol >) | |
Inherited from MAC plugin | |
void | SetParent (Ptr< MeshWifiInterfaceMac > parent) |
Each plugin must be installed on interface to work. | |
bool | Receive (Ptr< Packet > packet, const WifiMacHeader &header) |
Process received frame. | |
bool | UpdateOutcomingFrame (Ptr< Packet > packet, WifiMacHeader &header, Mac48Address from, Mac48Address to) |
Update frame before it will be forwarded down. | |
void | UpdateBeacon (MeshWifiBeacon &beacon) const |
Update beacon is empty, because HWMP does not know anything about beacons. | |
![]() | |
virtual | ~MeshWifiInterfaceMacPlugin () |
This is for subclasses. | |
![]() | |
SimpleRefCount (const SimpleRefCount &o) | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
uint32_t | GetReferenceCount (void) const |
Friends | |
class | HwmpProtocol |
Interface MAC plugin for HWMP – 802.11s routing protocol.
|
virtual |
Process received frame.
Implements ns3::MeshWifiInterfaceMacPlugin.
|
virtual |
Update frame before it will be forwarded down.
Implements ns3::MeshWifiInterfaceMacPlugin.
References ns3::Packet::AddHeader(), ns3::Packet::GetSize(), NS_FATAL_ERROR, and ns3::Packet::RemovePacketTag().