![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <pathselection/MeshForwarding.hpp>


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 *©FC, dll::UpperCommand *©UC) |
| 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::Layer2 * | layer2 |
| wns::logger::Logger | logger |
| wifimac::pathselection::IPathSelection * | ps |
| std::string | ucName |
| Name of upperConvergence. | |
Definition at line 52 of file MeshForwarding.hpp.
| 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.
| 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.
const wns::pyconfig::View wifimac::pathselection::MeshForwarding::config [private] |
Definition at line 76 of file MeshForwarding.hpp.
const int wifimac::pathselection::MeshForwarding::dot11MeshTTL [private] |
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.
std::string wifimac::pathselection::MeshForwarding::ucName [private] |
Definition at line 80 of file MeshForwarding.hpp.
1.5.5