strip.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 41 行
HH
41 行
// -*- 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 + =
减小字号Ctrl + -
显示快捷键?