Public Member Functions

ns3::MeshWifiInterfaceMacPlugin Class Reference
[Mesh]

Common interface for mesh point interface MAC plugins. More...

#include <mesh-wifi-interface-mac-plugin.h>

Inheritance diagram for ns3::MeshWifiInterfaceMacPlugin:
Inheritance graph
[legend]
Collaboration diagram for ns3::MeshWifiInterfaceMacPlugin:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Common interface for mesh point interface MAC plugins.

TODO: plugins description


Member Function Documentation

virtual bool ns3::MeshWifiInterfaceMacPlugin::Receive ( Ptr< Packet packet,
const WifiMacHeader header 
) [pure virtual]

Process received frame.

Returns:
false if (and only if) frame should be dropped TODO define when MAC call this

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.

Returns:
false if (and only if) frame should be dropped TODO define when MAC call this, preconditions & postconditions

Implemented in ns3::dot11s::HwmpProtocolMac, ns3::dot11s::PeerManagementProtocolMac, and ns3::flame::FlameProtocolMac.


The documentation for this class was generated from the following file: