#include <wscout_gui_ieee802_11_header.hh>
Public Types | |
enum | { before_addresses_spacing = 16, default_spacing = 4, max_duration_len = 16, max_desc_len = 32 } |
enum | { protocol = Proto } |
typedef std::pair < protocol::id, const void * > | next_header |
enum | { header_margin = 2 } |
Public Member Functions | |
IEEE80211Header (QWidget *parent=0) | |
virtual next_header | setup (const void *header, size_t caplen, const Trace &trace, const pcapxx::frame_descriptor &desc) |
QBoxLayout * | layout () |
Static Public Member Functions | |
static AbstractHeader * | allocator () |
static void | registerProtocol () |
Protected Member Functions | |
void | setColor (const QColor fore, const QColor back) |
Classes | |
struct | ieee80211_hooks |
typedef std::pair<protocol::id, const void*> wscout::gui::AbstractHeader::next_header [inherited] |
Identify this header's next header.
The first element specifies the next header's protocol. The second one points to the next header's beginning of data.
If there is no next protocol, use protocol::NONE. If the next protocol is unknown, use protocol::UNKNOWN.
anonymous enum [inherited] |
wscout::gui::IEEE80211Header::IEEE80211Header | ( | QWidget * | parent = 0 |
) |
IEEE80211Header::next_header wscout::gui::IEEE80211Header::setup | ( | const void * | header, | |
size_t | caplen, | |||
const Trace & | trace, | |||
const pcapxx::frame_descriptor & | desc | |||
) | [virtual] |
Abstract method definition from AbstractHeader.
Implements wscout::gui::AbstractHeader.
References wscout::protocol::NONE, and wscout::protocol::UNKNOWN.
void wscout::gui::IEEE80211Header::setColor | ( | const QColor | fore, | |
const QColor | back | |||
) | [inline, protected] |
Set this header's colors.
AbstractHeader * wscout::gui::HeaderBase< Exact, Proto >::allocator | ( | ) | [inline, static, inherited] |
Allocate an instance of Exact
using new
.
Referenced by wscout::gui::HeaderBase< Exact, Proto >::registerProtocol().
void wscout::gui::HeaderBase< Exact, Proto >::registerProtocol | ( | ) | [inline, static, inherited] |
QBoxLayout * wscout::gui::HeaderFrame::layout | ( | ) | [inline, inherited] |
This protocol header widget's layout.
Referenced by wscout::gui::IEEE80211BeaconHeader::IEEE80211BeaconHeader(), IEEE80211Header(), wscout::gui::IPv4Header::IPv4Header(), wscout::gui::IPv6Header::IPv6Header(), wscout::gui::LLCHeader::LLCHeader(), wscout::gui::PcapHeader::PcapHeader(), and wscout::gui::PHYHeader< Exact, Proto >::PHYHeader().