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 void | SetParent (Ptr< MeshWifiInterfaceMac > parent)=0 |
| Each plugin must be installed on interface to work. | |
| virtual bool | Receive (Ptr< Packet > packet, const WifiMacHeader &header)=0 |
| Process received frame. | |
| virtual bool | UpdateOutcomingFrame (Ptr< Packet > packet, WifiMacHeader &header, Mac48Address from, Mac48Address to)=0 |
| Update frame before it will be forwarded down. | |
| virtual void | UpdateBeacon (MeshWifiBeacon &beacon) const =0 |
| Update beacon before it will be formed and sent. | |
Common interface for mesh point interface MAC plugins.
TODO: plugins description
| virtual bool ns3::MeshWifiInterfaceMacPlugin::Receive | ( | Ptr< Packet > | packet, | |
| const WifiMacHeader & | header | |||
| ) | [pure virtual] |
Process received frame.
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.
| virtual void ns3::MeshWifiInterfaceMacPlugin::UpdateBeacon | ( | MeshWifiBeacon & | beacon | ) | const [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.
| virtual bool ns3::MeshWifiInterfaceMacPlugin::UpdateOutcomingFrame | ( | Ptr< Packet > | packet, | |
| WifiMacHeader & | header, | |||
| Mac48Address | from, | |||
| Mac48Address | to | |||
| ) | [pure virtual] |
Update frame before it will be forwarded down.
Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.
1.6.1