![]() |
User Manual, Developers Guide and API Documentation |
![]() |
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_FILTERS_ACCEPTSALLFILTER_HPP 00013 #define IP_IPTABLES_FILTERS_ACCEPTSALLFILTER_HPP 00014 00015 #include <IP/iptables/filters/FilterInterface.hpp> 00016 00017 namespace ip { namespace iptables { namespace filters { 00018 00019 class AcceptsAllFilter: 00020 public FilterInterface 00021 { 00022 public: 00023 AcceptsAllFilter(const wns::pyconfig::View& _pyco); 00024 AcceptsAllFilter(); 00025 00026 virtual bool 00027 fires(const IPCommand*); 00028 00029 virtual bool 00030 fires(const IPCommand*, const wns::service::tl::IUDPHeader*); 00031 00032 virtual bool 00033 fires(const IPCommand*, const wns::service::tl::ITCPHeader*); 00034 00035 private: 00036 wns::logger::Logger log; 00037 }; 00038 } // filters 00039 } // iptables 00040 } // ip 00041 #endif //IP_IPTABLES_FILTERS_ACCEPTSALLFILTER_HPP
1.5.5