fixdstloc.hh

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

HH
40
字号
#ifndef CLICK_FIXDSTLOC_HH#define CLICK_FIXDSTLOC_HH#include <click/element.hh>#include <click/glue.hh>#include "loctable.hh"CLICK_DECLS/* * =c * FixDstLoc(LocationTable) * =s Grid * =d * * Expects a GRID_NBR_ENCAP packet with MAC header as input.  Sets the * packet's destination according to the destination IP address.  Takes * a LocationTable element as its argument. * * =a */class FixDstLoc : public Element {public:  FixDstLoc();  ~FixDstLoc();    const char *class_name() const		{ return "FixDstLoc"; }  const char *processing() const		{ return AGNOSTIC; }  int configure(Vector<String> &, ErrorHandler *);  int initialize(ErrorHandler *);  Packet *simple_action(Packet *);private:  LocationTable *_loctab;};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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