#ifndef CLICK_IPSEC_DESP_HH #define CLICK_IPSEC_DESP_HH #include #include CLICK_DECLS /* * =c * IPsecESPUnencap() * =s ipsec * removes IPSec encapsulation * =d * * Removes ESP header added by IPsecESPEncap. see RFC 2406. Does not perform * the optional anti-replay attack checks. * * =a IPsecESPUnencap, IPsecDES, IPsecAuthSHA1 */ class IPsecESPUnencap : public Element { public: IPsecESPUnencap(); ~IPsecESPUnencap(); const char *class_name() const { return "IPsecESPUnencap"; } const char *port_count() const { return PORTS_1_1; } const char *processing() const { return AGNOSTIC; } int configure(Vector &, ErrorHandler *); Packet *simple_action(Packet *); }; CLICK_ENDDECLS #endif