?? b8b10.hh
字號:
#ifndef CLICK_B8B10_HH#define CLICK_B8B10_HH#include <click/element.hh>CLICK_DECLS/* * B8B10(flag) * * If flag is 1, encode each packet with a 8b10b code. * If flag is 0, decode. * * Encodes each 8-bit byte into a 10-bit symbol with as * many 0s as 1s. The point is to keep the BIM-4xx-RS232 * radio happy. */class B8B10 : public Element {public: B8B10(); ~B8B10(); const char *class_name() const { return "B8B10"; } const char *processing() const { return AGNOSTIC; } int configure(Vector<String> &, ErrorHandler *); int initialize(ErrorHandler *); Packet *simple_action(Packet *);private: int _flag;};CLICK_ENDDECLS#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -