unstrip.hh

来自「COPE the first practical network coding 」· HH 代码 · 共 41 行

HH
41
字号
#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 + =
减小字号Ctrl + -
显示快捷键?