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


Public Member Functions | |
| virtual bool | activateIncoming (const IPCommand &) |
| Derived Classed need to decide here if the IP packet is to be processed in the incoming path. | |
| virtual bool | activateOutgoing (const IPCommand &) |
| Derived Classed need to decide here if the IP packet is to be processed in the outgoing path. | |
| virtual void | onFUNCreated () |
| Resolve inter-FU dependencies. | |
| PreroutingChain (wns::ldk::fun::FUN *fun, const wns::pyconfig::View &_pyco) | |
Private Attributes | |
| ip::iptables::targets::DLLFlowIDTarget * | dllFlowIDTarget |
| wns::ldk::fun::FUN * | fun |
| wns::logger::Logger | log |
| The logger for this component. | |
| ip::iptables::IRuleControl * | postroutingChain |
Definition at line 39 of file PreroutingChain.hpp.
| PreroutingChain::PreroutingChain | ( | wns::ldk::fun::FUN * | fun, | |
| const wns::pyconfig::View & | _pyco | |||
| ) |
Definition at line 39 of file PreroutingChain.cpp.
| void PreroutingChain::onFUNCreated | ( | ) | [virtual] |
Often FunctionalUnits require the collaboration with other FunctionalUnits to accomplish their task. For the collaboration between FunctionalUnits we coined the term "friendship".
The onFUNCreated method is a hook being called after the complete FUN has been set up. FunctionalUnits requiring the collaboration with other FunctionalUnits should resolve these dependencies by implementing this hook accordingly.
Finding friends is usually done calling wns::ldk::fun::FUN::findFriend.
When building reconfigurable FUNs, this method may get called multiple times (e.g., after each FUN reconfiguration). Keep that in mind when allocating resources in your onFUNCreated implementation.
Reimplemented from ip::iptables::Chain.
Definition at line 48 of file PreroutingChain.cpp.
Definition at line 60 of file PreroutingChain.hpp.
Definition at line 57 of file PreroutingChain.hpp.
Definition at line 58 of file PreroutingChain.hpp.
1.5.5