-
Notifications
You must be signed in to change notification settings - Fork 82
/
print80211.hh
55 lines (34 loc) · 864 Bytes
/
print80211.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef CLICK_PRINT80211_HH
#define CLICK_PRINT80211_HH
#include <click/element.hh>
#include <click/string.hh>
CLICK_DECLS
/*
=c
Print80211([TAG, I<KEYWORDS>])
=s debugging
prints Aironet header contents
=d
Keyword arguments are:
=over 8
=item TIMESTAMP
Boolean. Determines whether to print each packet's timestamp in seconds since
1970. Default is false.
=back
=a
Print, IPPrint, PrintAiro */
class Print80211 : public Element { public:
Print80211();
~Print80211();
const char *class_name() const override { return "Print80211"; }
const char *port_count() const override { return PORTS_1_1; }
int configure(Vector<String> &, ErrorHandler *) CLICK_COLD;
bool can_live_reconfigure() const { return true; }
Packet *simple_action(Packet *);
private:
String _label;
bool _timestamp;
bool _verbose;
};
CLICK_ENDDECLS
#endif