User Manual, Developers Guide and API Documentation

DLLFlowIDTaggerTarget.hpp

Go to the documentation of this file.
00001 /******************************************************************************
00002  * IPModule   Internet Protocol Implementation                                *
00003  * __________________________________________________________________________ *
00004  *                                                                            *
00005  * Copyright (C) 2005                                                         *
00006  * Lehrstuhl fuer Kommunikationsnetze (ComNets)                               *
00007  * Kopernikusstr. 16, D-52074 Aachen, Germany                                 *
00008  * phone: ++49-241-80-27910 (phone), fax: ++49-241-80-22242                   *
00009  * email: wns@comnetsrwth-aachen.de, www: http://wns.comnets.rwth-aachen.de/  *
00010  ******************************************************************************/
00011 
00012 #ifndef IP_IPTABLES_TARGETS_DLLFLOWIDTAGGERTARGET_HPP
00013 #define IP_IPTABLES_TARGETS_DLLFLOWIDTAGGERTARGET_HPP
00014 
00015 #include <IP/IPHeader.hpp>
00016 #include <IP/iptables/targets/TargetInterface.hpp>
00017 #include <IP/iptables/IRuleControl.hpp>
00018 
00019 #include <WNS/pyconfig/View.hpp>
00020 #include <WNS/logger/Logger.hpp>
00021 
00022 namespace ip { namespace iptables { namespace targets {
00023 
00024     class DLLFlowIDTaggerTarget:
00025         public TargetInterface
00026     {
00027     public:
00028 
00029         DLLFlowIDTaggerTarget(wns::service::dll::FlowID, wns::service::tl::FlowID);
00030 
00031         virtual
00032         ~DLLFlowIDTaggerTarget();
00033 
00034         virtual TargetResult
00035         mangle(IPCommand*);
00036 
00037         virtual TargetResult
00038         mangle(IPCommand*, wns::service::tl::IUDPHeader*);
00039 
00040         virtual TargetResult
00041         mangle(IPCommand*, wns::service::tl::ITCPHeader*);
00042 
00043     private:
00044         wns::service::dll::FlowID myDllFlowID;
00045         wns::service::tl::FlowID myTlFlowID;
00046     };
00047 
00048 } // targets
00049 } // iptables
00050 } // ip
00051 #endif // IP_IPTABLES_TARGETS_DLLFLOWIDTAGGERTARGET_HPP

Generated on Tue May 22 03:32:13 2012 for openWNS by  doxygen 1.5.5