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

📄 align.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CLICK_ALIGN_HH#define CLICK_ALIGN_HH#include <click/element.hh>CLICK_DECLS/* =c * Align(MODULUS, OFFSET) * =s modification * aligns packet data * =d * * Aligns packet data. Each input packet is aligned so that its first byte is * OFFSET bytes off from a MODULUS-byte boundary. This may involve a packet * copy. * * MODULUS must be 2, 4, or 8. * =n * * The click-align(1) tool will insert this element automatically wherever it * is required. * * =e *   ... -> Align(4, 0) -> ... * * =a AlignmentInfo, click-align(1) */class Align : public Element {  int _offset;  int _mask;   public:    Align();  ~Align();    const char *class_name() const		{ return "Align"; }  const char *processing() const		{ return AGNOSTIC; }    int configure(Vector<String> &, ErrorHandler *);  Packet *smaction(Packet *);  void push(int, Packet *);  Packet *pull(int);  };CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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