ipdecappaint.hh

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

HH
37
字号
#ifndef IPDECAPPAINT_HH#define IPDECAPPAINT_HH/* * =c * IPDecapPaint() * =s encapsulation, IP * Strips encapsulation header and annotation byte from front of packets. Packets that * are not IP in IP (IP protocol 4) are dropped. * =d * Removes the outermost IP header from IP packets based on the IP Header annotation. * * =a IPEncapPaint, IPEncap, IPEncap2, CheckIPHeader, CheckIPHeader2, MarkIPHeader, UnstripIPHeader */#include <click/element.hh>class IPDecapPaint : public Element {    unsigned _nbytes;   public:    IPDecapPaint();  ~IPDecapPaint();    const char *class_name() const	{ return "IPDecapPaint"; }  const char *processing() const	{ return AGNOSTIC; }    Packet *simple_action(Packet *);  void add_handlers();};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?