📄 scramble.hh
字号:
#ifndef SCRAMBLE_HH#define SCRAMBLE_HH#include <click/element.hh>CLICK_DECLS/* * Scramble() * * Exclusive-or each packet with a fixed repeating * sequence of bits. The point is to try to end up * with a balanced number of ones and zeroes so that * simple transmission equipment will be happy. * The BIM radio, for example. * * Scramble is its own inverse. */class Scramble : public Element {public: Scramble(); ~Scramble(); const char *class_name() const { return "Scramble"; } const char *processing() const { return AGNOSTIC; } Packet *simple_action(Packet *);};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -