![]() |
Kea 2.2.0
|
Classes | |
| class | AbstractScen |
| Abstract Scenario class. More... | |
| class | AvalancheScen |
| Avalanche Scenario class. More... | |
| class | BasePerfSocket |
| Socket wrapper structure. More... | |
| class | BasicScen |
| Basic Scenario class. More... | |
| class | CommandOptions |
| Command Options. More... | |
| class | CustomCounter |
| Custom Counter. More... | |
| struct | EnumClassHash |
| class | ExchangeStats |
| Exchange Statistics. More... | |
| class | InvalidLimits |
| class | InvalidProbValue |
| class | LocalizedOption |
| DHCP option at specific offset. More... | |
| class | PacketStorage |
| Represents a list of packets with a sequential and random access to list elements. More... | |
| class | PerfPkt4 |
| PerfPkt4 (DHCPv4 packet) More... | |
| class | PerfPkt6 |
| PerfPkt6 (DHCPv6 packet) More... | |
| class | PerfSocket |
| Socket wrapper structure. More... | |
| class | PktTransform |
| Read and write raw data to DHCP packets. More... | |
| class | RateControl |
| A message sending rate control class for perfdhcp. More... | |
| class | Receiver |
| A receiving DHCP packets class. More... | |
| class | StatsMgr |
| Statistics Manager. More... | |
| class | SumNotOne |
| class | TestControl |
| Test Control class. More... | |
| class | UniformRandomIntegerGenerator |
| Uniform random integer generator. More... | |
| class | WeightedRandomIntegerGenerator |
| Weighted random integer generator. More... | |
Typedefs | |
| typedef boost::shared_ptr< CustomCounter > | CustomCounterPtr |
| typedef std::map< std::string, CustomCounterPtr > | CustomCountersMap |
| Map containing custom counters. More... | |
| typedef CustomCountersMap::const_iterator | CustomCountersMapIterator |
| Iterator for CustomCountersMap. More... | |
| typedef std::map< ExchangeType, ExchangeStatsPtr > | ExchangesMap |
| Map containing all specified exchange types. More... | |
| typedef ExchangesMap::const_iterator | ExchangesMapIterator |
| Iterator pointing to ExchangesMap. More... | |
| typedef boost::shared_ptr< ExchangeStats > | ExchangeStatsPtr |
| Pointer to ExchangeStats. More... | |
| typedef boost::shared_ptr< PerfPkt4 > | PerfPkt4Ptr |
| typedef boost::shared_ptr< PerfPkt6 > | PerfPkt6Ptr |
| typedef boost::shared_ptr< StatsMgr > | StatsMgrPtr |
| Pointer to Statistics Manager;. More... | |
Enumerations | |
| enum class | ExchangeType { DO , RA , RNA , RLA , SA , RR , RN , RL } |
| DHCP packet exchange types. More... | |
| enum class | Scenario { BASIC , AVALANCHE } |
Functions | |
| int | dhcpVersion (ExchangeType const exchange_type) |
| Get the DHCP version that fits the exchange type. More... | |
| std::ostream & | operator<< (std::ostream &os, ExchangeType xchg_type) |
| Return name of the exchange. More... | |
Variables | |
| const int | LONG_OPT_SCENARIO = 300 |
| const char *const * | perfdhcp_config_report = isc::detail::config_report |
| typedef boost::shared_ptr<CustomCounter> isc::perfdhcp::CustomCounterPtr |
Definition at line 128 of file bin/perfdhcp/stats_mgr.h.
| typedef std::map<std::string, CustomCounterPtr> isc::perfdhcp::CustomCountersMap |
Map containing custom counters.
Definition at line 131 of file bin/perfdhcp/stats_mgr.h.
| typedef CustomCountersMap::const_iterator isc::perfdhcp::CustomCountersMapIterator |
Iterator for CustomCountersMap.
Definition at line 134 of file bin/perfdhcp/stats_mgr.h.
| typedef std::map<ExchangeType, ExchangeStatsPtr> isc::perfdhcp::ExchangesMap |
Map containing all specified exchange types.
Definition at line 689 of file bin/perfdhcp/stats_mgr.h.
| typedef ExchangesMap::const_iterator isc::perfdhcp::ExchangesMapIterator |
Iterator pointing to ExchangesMap.
Definition at line 692 of file bin/perfdhcp/stats_mgr.h.
| typedef boost::shared_ptr<ExchangeStats> isc::perfdhcp::ExchangeStatsPtr |
Pointer to ExchangeStats.
Definition at line 686 of file bin/perfdhcp/stats_mgr.h.
| typedef boost::shared_ptr<PerfPkt4> isc::perfdhcp::PerfPkt4Ptr |
Definition at line 128 of file perf_pkt4.h.
| typedef boost::shared_ptr<PerfPkt6> isc::perfdhcp::PerfPkt6Ptr |
Definition at line 127 of file perf_pkt6.h.
| typedef boost::shared_ptr<StatsMgr> isc::perfdhcp::StatsMgrPtr |
Pointer to Statistics Manager;.
Definition at line 1252 of file bin/perfdhcp/stats_mgr.h.
|
strong |
DHCP packet exchange types.
Definition at line 32 of file bin/perfdhcp/stats_mgr.h.
|
strong |
| Enumerator | |
|---|---|
| BASIC | |
| AVALANCHE | |
Definition at line 20 of file command_options.h.
| int isc::perfdhcp::dhcpVersion | ( | ExchangeType const | exchange_type | ) |
Get the DHCP version that fits the exchange type.
| exchange_type | exchange type that will determine the version |
| isc::BadValue | exchange type is unrecognized |
Definition at line 32 of file bin/perfdhcp/stats_mgr.cc.
References DO, isc_throw, RA, RL, RLA, RN, RNA, RR, and SA.
Referenced by isc::perfdhcp::ExchangeStats::receivedLeases().
| std::ostream & isc::perfdhcp::operator<< | ( | std::ostream & | os, |
| ExchangeType | xchg_type | ||
| ) |
Return name of the exchange.
Function returns name of the specified exchange type. This function is mainly for logging purposes.
| os | output stream to use. |
| xchg_type | exchange type. |
Definition at line 50 of file bin/perfdhcp/stats_mgr.cc.
| const int isc::perfdhcp::LONG_OPT_SCENARIO = 300 |
Definition at line 217 of file command_options.cc.
| const char* const* isc::perfdhcp::perfdhcp_config_report = isc::detail::config_report |
Definition at line 42 of file command_options.cc.