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