📄 fixsrcloc.hh
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -