📄 gridprobereplyreceiver.hh
字号:
#ifndef GRIDPROBEREPLYRECEIVER_HH#define GRIDPROBEREPLYRECEIVER_HH#include <click/element.hh>#include <click/etheraddress.hh>#include <click/ipaddress.hh>#include <click/vector.hh>#include <click/bighashmap.hh>#include <click/timer.hh>CLICK_DECLS/* * =c * GridProbeReplyReceiver(CHANNEL) * =s Grid * Receives Grid route probe replies * =d * * When a Grid probe reply is received on its inputs, prints a message * to the Click chatter channel specified by C<CHANNEL>. An example * message is: * * C<dest=18.26.7.100 nonce=197355 hop=18.26.7.4 hopcount=3 rtt=0.003456> * * where C<dest> is the node to which the original probe was headed, * C<nonce> is the nonce from that probe, C<hop> is the node which * produced this reply from the probe, C<hopcount> is the number of * hops away the reply sender is from the probe sender, and C<rtt> is * the probe reply's round trip time, in seconds. * * =a GridProbeSender, GridProbeHandler, ChatterSocket */class GridProbeReplyReceiver : public Element { public: GridProbeReplyReceiver(); ~GridProbeReplyReceiver(); const char *class_name() const { return "GridProbeReplyReceiver"; } const char *processing() const { return AGNOSTIC; } int configure(Vector<String> &, ErrorHandler *); int initialize(ErrorHandler *); Packet *simple_action(Packet *);private: ErrorHandler *_repl_errh;};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -