gridprobereplyreceiver.hh

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

HH
51
字号
#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 + =
减小字号Ctrl + -
显示快捷键?