setgridchecksum.hh

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

HH
32
字号
#ifndef SETGRIDCHECKSUM_HH#define SETGRIDCHECKSUM_HH/* * =c * SetGridChecksum() * =s Grid * =d * Expects a Grid MAC packet as input. * Calculates the Grid header's checksum and sets the version and checksum header fields. * * =a * CheckGridHeader */#include <click/element.hh>#include <click/glue.hh>CLICK_DECLSclass SetGridChecksum : public Element {public:  SetGridChecksum();  ~SetGridChecksum();    const char *class_name() const		{ return "SetGridChecksum"; }  const char *processing() const		{ return AGNOSTIC; }  Packet *simple_action(Packet *);};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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