Interface MAC plugin FLAME routing protocol. More...
#include <flame-protocol-mac.h>
Public Member Functions | |
void | Report (std::ostream &) const |
Report statistics. | |
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. | |
Private Attributes | |
MeshPointDevice parameters: | |
Ptr< FlameProtocol > | m_protocol |
uint32_t | m_ifIndex |
Ptr< MeshWifiInterfaceMac > | m_parent |
Statistics: | |
Statistics | m_stats |
Interface MAC plugin FLAME routing protocol.
bool ns3::flame::FlameProtocolMac::Receive | ( | Ptr< Packet > | packet, | |
const WifiMacHeader & | header | |||
) | [virtual] |
Process received frame.
Implements ns3::MeshWifiInterfaceMacPlugin.
bool ns3::flame::FlameProtocolMac::UpdateOutcomingFrame | ( | Ptr< Packet > | packet, | |
WifiMacHeader & | header, | |||
Mac48Address | from, | |||
Mac48Address | to | |||
) | [virtual] |
Update frame before it will be forwarded down.
Implements ns3::MeshWifiInterfaceMacPlugin.