forceicmp.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 36 行
HH
36 行
#ifndef CLICK_FORCEICMP_HH#define CLICK_FORCEICMP_HH#include <click/element.hh>#include <click/glue.hh>CLICK_DECLS/* * =c * ForceICMP([TYPE, CODE]) * =s UDP * sets ICMP checksum * =d * Sets the ICMP checksum of an ICMP-in-IP packet. Optionally * sets the TYPE and CODE of the ICMP header. */class ForceICMP : public Element {public: ForceICMP(); ~ForceICMP(); const char *class_name() const { return "ForceICMP"; } const char *processing() const { return AGNOSTIC; } int configure(Vector<String> &conf, ErrorHandler *errh); Packet *simple_action(Packet *);private: int _count; int _type; int _code;};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?