⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 strip.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
// -*- mode: c++; c-basic-offset: 4 -*-#ifndef CLICK_STRIP_HH#define CLICK_STRIP_HH#include <click/element.hh>CLICK_DECLS/* * =c * Strip(N) * =s encapsulation * strips bytes from front of packets * =d * Deletes the first N bytes from each packet. * =e * Use this to get rid of the Ethernet header: * *   Strip(14) * =a StripToNetworkHeader, StripIPHeader, EtherEncap, IPEncap, Truncate */class Strip : public Element { public:    Strip();    ~Strip();    const char *class_name() const		{ return "Strip"; }    const char *processing() const		{ return AGNOSTIC; }    int configure(Vector<String> &, ErrorHandler *);    Packet *simple_action(Packet *);  private:    unsigned _nbytes;};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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