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

📄 wifiseq.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CLICK_WIFISEQ_HH#define CLICK_WIFISEQ_HH#include <click/element.hh>#include <clicknet/ether.h>#include <click/etheraddress.hh>CLICK_DECLS/*=cWifiSeq()=s WifiSets the 802.11 sequence number in a packet.=dArguments are:=over 8=item OFFSETHow many bytes in the packet to put the seuqnce number. Default is 22.=item BYTESHow many bytes the sequence number should use. Values can be 2 or 4. Default is 2.=item SHIFTHow many bits to shift the sequence number before setting the value in the packet.Default is 4.=back 8=h seq read/writeSets or reads the next sequence number=a WifiEncap */class WifiSeq : public Element { public:    WifiSeq();  ~WifiSeq();  const char *class_name() const	{ return "WifiSeq"; }  const char *processing() const	{ return AGNOSTIC; }  void notify_noutpus(int n) { set_noutputs(n); }  int configure(Vector<String> &, ErrorHandler *);  bool can_live_reconfigure() const	{ return true; }  Packet *simple_action(Packet *);  void add_handlers();  static String read_param(Element *, void *);  static int write_param(const String &in_s, Element *e, void *vparam,			 ErrorHandler *errh);  Packet *apply_seq(Packet *);  void reset();  bool _debug;  u_int32_t _seq;  u_int32_t _offset;  u_int32_t _shift;  u_int32_t _bytes;};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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