📄 wififragment.hh
字号:
#ifndef CLICK_WIFIFRAGMENT_HH#define CLICK_WIFIFRAGMENT_HH#include <click/element.hh>#include <clicknet/ether.h>#include <click/etheraddress.hh>#include <click/hashmap.hh>CLICK_DECLS/*=cWifiFragment=s WifiReassembles 802.11 fragments.=d This element reassembles 802.11 fragments and pushes the reassembledpacket out when the last fragment is received. It does not affectpackets that are not fragmented, and passes them through its outputunmodified. In accordance with the 802.11 spec, it supports a singlepacket per SA.=a WifiDecap */class WifiFragment : public Element { public: WifiFragment(); ~WifiFragment(); const char *class_name() const { return "WifiFragment"; } const char *processing() const { return PUSH; } int configure(Vector<String> &, ErrorHandler *); bool can_live_reconfigure() const { return true; } void push(int, Packet *); void add_handlers(); bool _debug; uint32_t _max_length; static String read_param(Element *e, void *thunk); static int write_param(const String &in_s, Element *e, void *vparam, ErrorHandler *errh); private:};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -