checkxorheader.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 50 行
HH
50 行
#ifndef CHECKXORHEADER_HH#define CHECKXORHEADER_HH#include <click/element.hh>CLICK_DECLS/*=cCheckXorHeader()=s Wifi, Wireless RoutingCheck the header of an encoding packet.=dExpects encoded packets as input.Checks that the packet's length is reasonable,and that the Xor header length, length, andchecksum fields are valid. */class CheckXorHeader : public Element { int _drops; public: CheckXorHeader(); ~CheckXorHeader(); const char *class_name() const { return "CheckXorHeader"; } const char *processing() const { return "a/ah"; } void notify_noutputs(int); int drops() const { return _drops; } Packet *simple_action(Packet *); void drop_it(Packet *); void add_handlers();};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?