⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 checksrheader.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CHECKSRHEADER_HH#define CHECKSRHEADER_HH#include <click/element.hh>#include <click/hashmap.hh>#include <click/glue.hh>CLICK_DECLS/*=cCheckSRHeader()=s Wifi, Wireless RoutingCheck the Source Route header of a packet.=dExpects SR packets as input.Checks that the packet's length is reasonable,and that the SR header length, length, andchecksum fields are valid.=a SetSRChecksum */class CheckSRHeader : public Element {  typedef HashMap<EtherAddress, uint8_t> BadTable;  typedef BadTable::const_iterator BTIter;    BadTable _bad_table;  int _drops; public:    CheckSRHeader();  ~CheckSRHeader();    const char *class_name() const		{ return "CheckSRHeader"; }  const char *processing() const		{ return "a/ah"; }    void notify_noutputs(int);  int drops() const				{ return _drops; }  Packet *simple_action(Packet *);  void drop_it(Packet *);  String bad_nodes();  void add_handlers();};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -