setipchecksum.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 35 行
HH
35 行
#ifndef CLICK_SETIPCHECKSUM_HH#define CLICK_SETIPCHECKSUM_HH#include <click/element.hh>#include <click/glue.hh>CLICK_DECLS/* * =c * SetIPChecksum() * =s IP * sets IP packets' checksums * =d * Expects an IP packet as input. * Calculates the IP header's checksum and sets the checksum header field. * * You will not normally need SetIPChecksum. Most elements that modify an IP * header, like DecIPTTL, SetIPDSCP, and IPRewriter, already update the * checksum incrementally. * * =a CheckIPHeader, DecIPTTL, SetIPDSCP, IPRewriter */class SetIPChecksum : public Element {public: SetIPChecksum(); ~SetIPChecksum(); const char *class_name() const { return "SetIPChecksum"; } const char *processing() const { return AGNOSTIC; } Packet *simple_action(Packet *);};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?