fixdstloc.hh
来自「Click is a modular router toolkit. To us」· HH 代码 · 共 41 行
HH
41 行
#ifndef CLICK_FIXDSTLOC_HH#define CLICK_FIXDSTLOC_HH#include <click/element.hh>#include <click/glue.hh>#include "loctable.hh"CLICK_DECLS/* * =c * FixDstLoc(LOCTABLE) * =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 *port_count() const { return PORTS_1_1; } 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 + -
显示快捷键?