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

📄 storetimestamp.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
// -*- mode: c++; c-basic-offset: 4 -*-#ifndef CLICK_STORETIMESTAMP_HH#define CLICK_STORETIMESTAMP_HH#include <click/element.hh>CLICK_DECLS/*=cStoreTimestamp([I<keywords> OFFSET, TAIL])=s measurement, analysisstore packet timestamps in packet data=dStoreTimestamp stores each packet's timestamp annotation somewhere in itsdata.  Supply exactly one of the OFFSET and TAIL keywords.Keyword arguments are:=over 8=item OFFSETInteger.  Store the timestamp starting OFFSET bytes into the packet.  Thepacket will be extended, if necessary, so that it's at least OFFSET+8 byteslong.=item TAILBoolean.  If true, the timestamp will be tacked on to the end of the packet.=back=aSetTimestamp */class StoreTimestamp : public Element { public:    StoreTimestamp();    ~StoreTimestamp();    const char *class_name() const	{ return "StoreTimestamp"; }    const char *processing() const	{ return AGNOSTIC; }    int configure(Vector<String> &, ErrorHandler *);    Packet *simple_action(Packet *);      private:    int _offset;    };CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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