#include <senf/Ext/NetEmu/examples/80211Analyzer/PacketStatistics.hh>

Inheritance diagram for PacketStatistics:

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
 

Detailed Description

Definition at line 30 of file PacketStatistics.hh.

Member Enumeration Documentation

◆ Type

Enumerator
RECEIVED 
CORRUPT 
DATA 
CTRL 
MNGT 
OTHER 
IPERF 
MGEN 
TIM 

Definition at line 35 of file PacketStatistics.hh.

Constructor & Destructor Documentation

◆ PacketStatistics()

PacketStatistics::PacketStatistics ( )

Definition at line 24 of file PacketStatistics.cc.

Member Function Documentation

◆ analyze()

bool PacketStatistics::analyze ( senf::AnnotationsPacket const &  ap,
std::uint16_t  payloadSize 
)

Definition at line 39 of file PacketStatistics.cc.

◆ clear()

void PacketStatistics::clear ( )
virtual

Reimplemented in FlowStatistics.

Definition at line 29 of file PacketStatistics.cc.

◆ dump()

void PacketStatistics::dump ( std::ostream &  os,
senf::ClockService::clock_type const &  actualDuration,
bool  csv 
)
virtual

Reimplemented in FlowStatistics.

Definition at line 74 of file PacketStatistics.cc.

Member Data Documentation

◆ aggregated

std::uint64_t PacketStatistics::aggregated

Definition at line 41 of file PacketStatistics.hh.

◆ airtime

senf::ClockService::clock_type PacketStatistics::airtime

Definition at line 42 of file PacketStatistics.hh.

◆ length

Accumulator PacketStatistics::length

Definition at line 39 of file PacketStatistics.hh.

◆ rate

Accumulator PacketStatistics::rate

Definition at line 38 of file PacketStatistics.hh.

◆ retries

std::uint64_t PacketStatistics::retries

Definition at line 40 of file PacketStatistics.hh.

◆ rssi

Accumulator PacketStatistics::rssi

Definition at line 37 of file PacketStatistics.hh.


The documentation for this class was generated from the following files: