setcrc32.hh

来自「COPE the first practical network coding 」· HH 代码 · 共 33 行

HH
33
字号
#ifndef CLICK_SETCRC32_HH#define CLICK_SETCRC32_HH#include <click/element.hh>CLICK_DECLS/* * =c * SetCRC32() * =s modification * calculates CRC32 and prepends to packet * =d * Computes a CRC32 over each packet and appends the 4 CRC * bytes to the packet. * =a CheckCRC32 */class EtherAddress;class SetCRC32 : public Element { public:    SetCRC32();  ~SetCRC32();  const char *class_name() const	{ return "SetCRC32"; }  const char *processing() const	{ return AGNOSTIC; }    Packet *simple_action(Packet *);};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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