beacontracker.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 66 行
HH
66 行
#ifndef CLICK_BEACONTRACKER_HH#define CLICK_BEACONTRACKER_HH#include <click/element.hh>#include <clicknet/ether.h>#include <click/etheraddress.hh>#include <click/dequeue.hh>CLICK_DECLS/*=cBeaconTracker=s Wifi, Wireless StationTracks beacon from an Access Point=d=h stats read onlyThe percent of probes received.=h reset read/writeClear the list of access points. */class BeaconTracker : public Element { public: BeaconTracker(); ~BeaconTracker(); const char *class_name() const { return "BeaconTracker"; } const char *processing() const { return AGNOSTIC; } int configure(Vector<String> &, ErrorHandler *); bool can_live_reconfigure() const { return true; } Packet *simple_action(Packet *); struct beacon_t { Timestamp rx; uint16_t seq; }; DEQueue<beacon_t> _beacons; int _beacon_int; struct timeval _start; void trim(); void add_handlers(); void reset(); bool _debug; int _track; private: class WirelessInfo *_winfo;};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?