User Manual, Developers Guide and API Documentation

ip::iptables::PreroutingChain Class Reference

#include <iptables/PreroutingChain.hpp>

Inheritance diagram for ip::iptables::PreroutingChain:

Inheritance graph
[legend]
Collaboration diagram for ip::iptables::PreroutingChain:

Collaboration graph
[legend]

List of all members.

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::DLLFlowIDTargetdllFlowIDTarget
wns::ldk::fun::FUNfun
wns::logger::Logger log
 The logger for this component.
ip::iptables::IRuleControlpostroutingChain


Detailed Description

Definition at line 39 of file PreroutingChain.hpp.


Constructor & Destructor Documentation

PreroutingChain::PreroutingChain ( wns::ldk::fun::FUN fun,
const wns::pyconfig::View _pyco 
)

Definition at line 39 of file PreroutingChain.cpp.


Member Function Documentation

virtual bool ip::iptables::PreroutingChain::activateIncoming ( const IPCommand  )  [inline, virtual]

Implements ip::iptables::Chain.

Definition at line 54 of file PreroutingChain.hpp.

virtual bool ip::iptables::PreroutingChain::activateOutgoing ( const IPCommand  )  [inline, virtual]

Implements ip::iptables::Chain.

Definition at line 51 of file PreroutingChain.hpp.

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.


Member Data Documentation

Definition at line 60 of file PreroutingChain.hpp.

Definition at line 57 of file PreroutingChain.hpp.

Reimplemented from ip::iptables::Chain.

Definition at line 59 of file PreroutingChain.hpp.

Definition at line 58 of file PreroutingChain.hpp.


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

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