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

📄 checkcrc32.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CLICK_CHECKCRC32_HH#define CLICK_CHECKCRC32_HH#include <click/element.hh>#include <click/atomic.hh>CLICK_DECLS/* * =c * CheckCRC32() * =s checking * checks packet CRC32s * =d * Check that the CRC32 appended by SetCRC32 is OK. * If so, delete the CRC from the packet. * Otherwise, drop the packet. * =a SetCRC32 */class EtherAddress;class CheckCRC32 : public Element {public:  CheckCRC32();  ~CheckCRC32();  const char *class_name() const		{ return "CheckCRC32"; }  const char *processing() const		{ return AGNOSTIC; }    Packet *simple_action(Packet *);private:  atomic_uint32_t _drops;};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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