User Manual, Developers Guide and API Documentation

wifimac::pathselection::MeshForwarding Class Reference

Forwarding of data frames according to the path-selection table and current associations.

#include <pathselection/MeshForwarding.hpp>

Inheritance diagram for wifimac::pathselection::MeshForwarding:

Inheritance graph
[legend]
Collaboration diagram for wifimac::pathselection::MeshForwarding:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MeshForwarding (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &config)
virtual ~MeshForwarding ()

Private Member Functions

wns::ldk::CompoundPtr createForwardingCopy (const wns::ldk::CompoundPtr &compound, ForwardingCommand *originalFC, ForwardingCommand *&copyFC, dll::UpperCommand *&copyUC)
 Partial copy of the compound with all "higher" commands activated for forwarding.
virtual bool doIsAccepting (const wns::ldk::CompoundPtr &_compound) const
virtual void doOnData (const wns::ldk::CompoundPtr &_compound)
virtual void doOnDataAP (const wns::ldk::CompoundPtr &compound, ForwardingCommand *&fc, dll::UpperCommand *&uc)
virtual bool doOnDataFRS (const wns::ldk::CompoundPtr &compound, ForwardingCommand *&fc, dll::UpperCommand *&uc)
virtual void doSendData (const wns::ldk::CompoundPtr &_compound)
virtual void doWakeup ()
virtual void onFUNCreated ()
void printForwardingInformation (ForwardingCommand *fc, dll::UpperCommand *uc) const
 Debug-Output.
bool sendFrameToMP (const wns::ldk::CompoundPtr &compound, ForwardingCommand *&fc, dll::UpperCommand *&uc, wns::service::dll::UnicastAddress src, wns::service::dll::UnicastAddress mpDst)
 Send frame over Mesh to a final destination which is MP, uses 4 addresses. Returns true if destination is known.
bool sendFrameToOtherBSS (const wns::ldk::CompoundPtr &compound, ForwardingCommand *&fc, dll::UpperCommand *&uc, wns::service::dll::UnicastAddress src, wns::service::dll::UnicastAddress meshSrc, wns::service::dll::UnicastAddress dst)
 Send frame over Mesh to a final destination which is not a MP, uses 5 addresses. Returns true if destination is known.
void sendFrameToOwnBSS (const wns::ldk::CompoundPtr &compound, ForwardingCommand *&fc, dll::UpperCommand *&uc, wns::service::dll::UnicastAddress src, wns::service::dll::UnicastAddress dst)
 Fill in the correct header for frames tx by APs to their STAs, i.e. with 3-addresses.

Private Attributes

const wns::pyconfig::View config
const int dot11MeshTTL
 Maximum number of hops to avoid loops.
wifimac::Layer2layer2
wns::logger::Logger logger
wifimac::pathselection::IPathSelectionps
std::string ucName
 Name of upperConvergence.


Detailed Description

Definition at line 52 of file MeshForwarding.hpp.


Constructor & Destructor Documentation

MeshForwarding::MeshForwarding ( wns::ldk::fun::FUN fun,
const wns::pyconfig::View config 
)

Definition at line 43 of file MeshForwarding.cpp.

MeshForwarding::~MeshForwarding (  )  [virtual]

Definition at line 53 of file MeshForwarding.cpp.


Member Function Documentation

wns::ldk::CompoundPtr MeshForwarding::createForwardingCopy ( const wns::ldk::CompoundPtr compound,
ForwardingCommand originalFC,
ForwardingCommand *&  copyFC,
dll::UpperCommand *&  copyUC 
) [private]

Definition at line 575 of file MeshForwarding.cpp.

bool MeshForwarding::doIsAccepting ( const wns::ldk::CompoundPtr _compound  )  const [private, virtual]

Definition at line 74 of file MeshForwarding.cpp.

void MeshForwarding::doOnData ( const wns::ldk::CompoundPtr _compound  )  [private, virtual]

Definition at line 114 of file MeshForwarding.cpp.

void MeshForwarding::doOnDataAP ( const wns::ldk::CompoundPtr compound,
ForwardingCommand *&  fc,
dll::UpperCommand *&  uc 
) [private, virtual]

Definition at line 152 of file MeshForwarding.cpp.

bool MeshForwarding::doOnDataFRS ( const wns::ldk::CompoundPtr compound,
ForwardingCommand *&  fc,
dll::UpperCommand *&  uc 
) [private, virtual]

Definition at line 225 of file MeshForwarding.cpp.

void MeshForwarding::doSendData ( const wns::ldk::CompoundPtr _compound  )  [private, virtual]

Definition at line 409 of file MeshForwarding.cpp.

void MeshForwarding::doWakeup (  )  [private, virtual]

Definition at line 107 of file MeshForwarding.cpp.

void MeshForwarding::onFUNCreated (  )  [private, virtual]

Definition at line 59 of file MeshForwarding.cpp.

void MeshForwarding::printForwardingInformation ( ForwardingCommand fc,
dll::UpperCommand uc 
) const [private]

Definition at line 592 of file MeshForwarding.cpp.

bool MeshForwarding::sendFrameToMP ( const wns::ldk::CompoundPtr compound,
ForwardingCommand *&  fc,
dll::UpperCommand *&  uc,
wns::service::dll::UnicastAddress  src,
wns::service::dll::UnicastAddress  mpDst 
) [private]

Definition at line 482 of file MeshForwarding.cpp.

bool MeshForwarding::sendFrameToOtherBSS ( const wns::ldk::CompoundPtr compound,
ForwardingCommand *&  fc,
dll::UpperCommand *&  uc,
wns::service::dll::UnicastAddress  src,
wns::service::dll::UnicastAddress  meshSrc,
wns::service::dll::UnicastAddress  dst 
) [private]

Definition at line 524 of file MeshForwarding.cpp.

void MeshForwarding::sendFrameToOwnBSS ( const wns::ldk::CompoundPtr compound,
ForwardingCommand *&  fc,
dll::UpperCommand *&  uc,
wns::service::dll::UnicastAddress  src,
wns::service::dll::UnicastAddress  dst 
) [private]

Definition at line 461 of file MeshForwarding.cpp.


Member Data Documentation

Definition at line 76 of file MeshForwarding.hpp.

Definition at line 86 of file MeshForwarding.hpp.

Definition at line 82 of file MeshForwarding.hpp.

Definition at line 77 of file MeshForwarding.hpp.

Definition at line 83 of file MeshForwarding.hpp.

Definition at line 80 of file MeshForwarding.hpp.


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

Generated on Sat May 26 03:32:44 2012 for openWNS by  doxygen 1.5.5