satable.hh
来自「Click is a modular router toolkit. To us」· HH 代码 · 共 33 行
HH
33 行
#ifndef CLICK_SATABLE_HH#define CLICK_SATABLE_HH#include <click/element.hh>#include <click/ipaddress.hh>#include <click/etheraddress.hh>#include <click/bighashmap.hh>#include <click/glue.hh>#include "sadatatuple.hh"CLICK_DECLSclass SATable : public Element { public: SATable(); ~SATable(); const char *class_name() const { return "SATable"; } String print_sa_data(); int insert(SPI this_spi , SADataTuple SA_data) ; int remove(unsigned int spi); SADataTuple * lookup(SPI this_spi);private: //Defines a click hashmap object the SA table in our case typedef HashMap<SPI,SADataTuple> STable; typedef STable::const_iterator SIter; STable _table;};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?