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

📄 icmppingresponder.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CLICK_ICMPPINGRESPONDER_HH#define CLICK_ICMPPINGRESPONDER_HH#include <click/element.hh>CLICK_DECLS/*=cICMPPingResponder()=s ICMPresponds to ICMP echo requests=dRespond to ICMP echo requests. Incoming packets must have their IP headerannotations set. The corresponding reply is generated for any ICMP echorequest and emitted on output 0. The reply's destination IP address annotationis set appropriately, its paint annotation is cleared, and its timestamp isset to the current time. Other annotations are copied from the input packet.IP packets other than ICMP echo requests are emitted on the second output, ifthere are two outputs; otherwise, they are dropped.=head1 BUGSICMPPingResponder does not pay attention to source route options; it should.=aICMPSendPings, ICMPError */class ICMPPingResponder : public Element { public:    ICMPPingResponder();  ~ICMPPingResponder();    const char *class_name() const	{ return "ICMPPingResponder"; }  const char *processing() const	{ return "a/ah"; }    void notify_noutputs(int);    Packet *simple_action(Packet *);  };CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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