prism2encap.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 46 行
HH
46 行
#ifndef CLICK_PRISM2ENCAP_HH#define CLICK_PRISM2ENCAP_HH#include <click/element.hh>#include <clicknet/ether.h>CLICK_DECLS/*=cPrism2Encap=s WifiPushes a Prism2 header onto a packet based on information stored in Packet::anno()=dRemoves the prism2 header and sets the corresponding wifi packet annotations (RSSI, NOISE, and RATE).=a Prism2Decap, ExtraDecap, ExtraEncap */class Prism2Encap : public Element { public: Prism2Encap(); ~Prism2Encap(); const char *class_name() const { return "Prism2Encap"; } const char *processing() const { return AGNOSTIC; } int configure(Vector<String> &, ErrorHandler *); bool can_live_reconfigure() const { return true; } Packet *simple_action(Packet *); void add_handlers(); bool _debug; private:};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?