#include <senf/Ext/NetEmu/examples/80211Analyzer/PacketStatistics.hh>
Public Types | |
enum | Type { RECEIVED, CORRUPT, DATA, CTRL, MNGT, OTHER, IPERF, MGEN, TIM } |
Public Member Functions | |
PacketStatistics () | |
virtual void | clear () |
bool | analyze (senf::AnnotationsPacket const &ap, std::uint16_t payloadSize) |
virtual void | dump (std::ostream &os, senf::ClockService::clock_type const &actualDuration, bool csv) |
Public Attributes | |
Accumulator | rssi |
Accumulator | rate |
Accumulator | length |
std::uint64_t | retries |
std::uint64_t | aggregated |
senf::ClockService::clock_type | airtime |
Definition at line 30 of file PacketStatistics.hh.
Enumerator | |
---|---|
RECEIVED | |
CORRUPT | |
DATA | |
CTRL | |
MNGT | |
OTHER | |
IPERF | |
MGEN | |
TIM |
Definition at line 35 of file PacketStatistics.hh.
PacketStatistics::PacketStatistics | ( | ) |
Definition at line 24 of file PacketStatistics.cc.
bool PacketStatistics::analyze | ( | senf::AnnotationsPacket const & | ap, |
std::uint16_t | payloadSize | ||
) |
Definition at line 39 of file PacketStatistics.cc.
|
virtual |
Reimplemented in FlowStatistics.
Definition at line 29 of file PacketStatistics.cc.
|
virtual |
Reimplemented in FlowStatistics.
Definition at line 74 of file PacketStatistics.cc.
std::uint64_t PacketStatistics::aggregated |
Definition at line 41 of file PacketStatistics.hh.
senf::ClockService::clock_type PacketStatistics::airtime |
Definition at line 42 of file PacketStatistics.hh.
Accumulator PacketStatistics::length |
Definition at line 39 of file PacketStatistics.hh.
Accumulator PacketStatistics::rate |
Definition at line 38 of file PacketStatistics.hh.
std::uint64_t PacketStatistics::retries |
Definition at line 40 of file PacketStatistics.hh.
Accumulator PacketStatistics::rssi |
Definition at line 37 of file PacketStatistics.hh.