7 #ifndef AVALANCHE_SCEN_H
8 #define AVALANCHE_SCEN_H
26 return static_cast<std::size_t
>(t);
81 #endif // AVALANCHE_SCEN_H
ExchangeType
DHCP packet exchange types.
std::size_t operator()(T t) const
std::unordered_map< ExchangeType, std::unordered_map< uint32_t, int >, EnumClassHash > retransmissions_
A map xchg type -> (a map of trans id -> retransmissions count.
int total_resent_
Total number of resent packets.
int resendPackets(ExchangeType xchg_type)
\brief Resend packets.
int run() override
brief\ Run performance test.
Defines the logger used by the top-level component of kea-dhcp-ddns.
std::unordered_map< ExchangeType, std::unordered_map< uint32_t, boost::posix_time::ptime >, EnumClassHash > start_times_
A map xchg type -> (a map of trans id -> time of sending first packet.
Avalanche Scenario class.
Socket wrapper structure.
AvalancheScen(CommandOptions &options, BasePerfSocket &socket)
Default and the only constructor of AvalancheScen.