#ifndef CLICK_ATHDESCENCAP_HH #define CLICK_ATHDESCENCAP_HH #include #include CLICK_DECLS /* =c AthdescEncap() =s Wifi Pushes the click_wifi_radiotap header on a packet based on information in Packet::anno() =d Copies the wifi_radiotap_header from Packet::anno() and pushes it onto the packet. =a AthdescDecap, SetTXRate */ class AthdescEncap : public Element { public: AthdescEncap(); ~AthdescEncap(); const char *class_name() const { return "AthdescEncap"; } const char *port_count() const { return PORTS_1_1; } const char *processing() const { return AGNOSTIC; } int configure(Vector &, ErrorHandler *); bool can_live_reconfigure() const { return true; } Packet *simple_action(Packet *); void add_handlers(); bool _debug; private: }; CLICK_ENDDECLS #endif