📄 pingpong.hh
字号:
#ifndef PINGPONGHH#define PINGPONGHH/* * =c * PingPong(LinkStat) * =s Grid * =d * * Expects Grid packets as input. Places ping-pong link stats, * acquired from LinkStat, into outgoing unicast packets. On the * other side of the link a LinkTracker element will aggregate these * statistics as neccessary. * * =a * AiroInfo, LinkStat, LinkTracker */#include <click/bighashmap.hh>#include <click/element.hh>#include <click/glue.hh>#include <click/ipaddress.hh>CLICK_DECLSclass LinkStat;class PingPong : public Element { LinkStat *_ls;public: PingPong(); ~PingPong(); const char *class_name() const { return "PingPong"; } const char *processing() const { return "a/a"; } int configure(Vector<String> &, ErrorHandler *); int initialize(ErrorHandler *); Packet *simple_action(Packet *);};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -