📄 unstrip.hh
字号:
#ifndef CLICK_UNSTRIP_HH#define CLICK_UNSTRIP_HH#include <click/element.hh>CLICK_DECLS/* * =c * Unstrip(N) * =s encapsulation * unstrips bytes from front of packets * =d * Put N bytes at the front of the packet. These N bytes may be bytes * previously removed by Strip. * =e * Use this to get rid of the Ethernet header and put it back on: * * Strip(14) -> ... -> Unstrip(14) * =a EtherEncap, IPEncap */class Unstrip : public Element { unsigned _nbytes; public: Unstrip(unsigned nbytes = 0); ~Unstrip(); const char *class_name() const { return "Unstrip"; } const char *processing() const { return AGNOSTIC; } int configure(Vector<String> &, ErrorHandler *); Packet *simple_action(Packet *); };CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -