fixsrcloc.hh

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

HH
44
字号
#ifndef FIXSRCLOC_HH#define FIXSRCLOC_HH/* * =c * FixSrcLoc(LOCINFO) * =s Grid * =d * * Expects a Grid MAC layer packet as input.  Sets the packet's source * location to the Grid node's location.  This element uses the * GridGenericLocInfo element named LOCINFO. * * =a * GridLocationInfo , GridLocationInfo2 */#include <click/element.hh>#include <click/glue.hh>CLICK_DECLSclass GridGenericLocInfo;class FixSrcLoc : public Element {public:  FixSrcLoc();  ~FixSrcLoc();    const char *class_name() const		{ return "FixSrcLoc"; }  const char *processing() const		{ return AGNOSTIC; }  int configure(Vector<String> &, ErrorHandler *);  int initialize(ErrorHandler *);  Packet *simple_action(Packet *);private:  GridGenericLocInfo *_locinfo;};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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