|
ns-3
|
Interface MAC plugin FLAME routing protocol. More...
#include <flame-protocol-mac.h>


Classes | |
| struct | Statistics |
Public Member Functions | |
| FlameProtocolMac (uint32_t, Ptr< FlameProtocol >) | |
| uint16_t | GetChannelId () const |
| void | Report (std::ostream &) const |
| Report statistics. | |
| void | ResetStats () |
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. | |
Interface MAC plugin FLAME routing protocol.
| bool ns3::flame::FlameProtocolMac::Receive | ( | Ptr< Packet > | packet, |
| const WifiMacHeader & | header | ||
| ) | [virtual] |
Process received frame.
Implements ns3::MeshWifiInterfaceMacPlugin.
References ns3::Packet::AddPacketTag(), ns3::Mac48Address::GetBroadcast(), ns3::Packet::GetSize(), NS_FATAL_ERROR, ns3::Packet::PeekPacketTag(), ns3::flame::FlameTag::receiver, and ns3::flame::FlameTag::transmitter.
| 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.
References ns3::Mac48Address::GetBroadcast(), ns3::Packet::GetSize(), NS_FATAL_ERROR, ns3::flame::FlameTag::receiver, and ns3::Packet::RemovePacketTag().