Classes | Public Member Functions | Friends

ns3::dot11s::HwmpProtocolMac Class Reference
[IEEE 802.11s draft]

Interface MAC plugin for HWMP -- 802.11s routing protocol. More...

#include <hwmp-protocol-mac.h>

Inheritance diagram for ns3::dot11s::HwmpProtocolMac:
Inheritance graph
[legend]
Collaboration diagram for ns3::dot11s::HwmpProtocolMac:
Collaboration graph
[legend]

List of all members.

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.

Friends

class HwmpProtocol

Detailed Description

Interface MAC plugin for HWMP -- 802.11s routing protocol.


Member Function Documentation

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

Process received frame.

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

Implements ns3::MeshWifiInterfaceMacPlugin.

bool ns3::dot11s::HwmpProtocolMac::UpdateOutcomingFrame ( Ptr< Packet packet,
WifiMacHeader header,
Mac48Address  from,
Mac48Address  to 
) [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

Implements ns3::MeshWifiInterfaceMacPlugin.


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