|
@@ -85,7 +85,7 @@ static const size_t DHCPV6_IA_NA_OFFSET = 40;
|
|
/// - calculate how many packets must be send to satisfy desired rate,
|
|
/// - calculate how many packets must be send to satisfy desired rate,
|
|
/// - receive incoming packets from the server,
|
|
/// - receive incoming packets from the server,
|
|
/// - check the exit conditions - terminate the program if the exit criteria
|
|
/// - check the exit conditions - terminate the program if the exit criteria
|
|
-/// are fulfiled, e.g. reached maximum number of packet drops,
|
|
|
|
|
|
+/// are fulfilled, e.g. reached maximum number of packet drops,
|
|
/// - send the number of packets appropriate to satisfy the desired rate,
|
|
/// - send the number of packets appropriate to satisfy the desired rate,
|
|
/// - optionally print intermediate reports,
|
|
/// - optionally print intermediate reports,
|
|
/// - print statistics, e.g. achieved rate,
|
|
/// - print statistics, e.g. achieved rate,
|
|
@@ -282,14 +282,14 @@ protected:
|
|
|
|
|
|
/// \brief Check if test exit condtitions fulfilled.
|
|
/// \brief Check if test exit condtitions fulfilled.
|
|
///
|
|
///
|
|
- /// Method checks if the test exit conditions are fulfiled.
|
|
|
|
|
|
+ /// Method checks if the test exit conditions are fulfilled.
|
|
/// Exit conditions are checked periodically from the
|
|
/// Exit conditions are checked periodically from the
|
|
/// main loop. Program should break the main loop when
|
|
/// main loop. Program should break the main loop when
|
|
/// this method returns true. It is calling function
|
|
/// this method returns true. It is calling function
|
|
/// responsibility to break main loop gracefully and
|
|
/// responsibility to break main loop gracefully and
|
|
/// cleanup after test execution.
|
|
/// cleanup after test execution.
|
|
///
|
|
///
|
|
- /// \return true if any of the exit conditions is fulfiled.
|
|
|
|
|
|
+ /// \return true if any of the exit conditions is fulfilled.
|
|
bool checkExitConditions() const;
|
|
bool checkExitConditions() const;
|
|
|
|
|
|
/// \brief Factory function to create DHCPv6 ELAPSED_TIME option.
|
|
/// \brief Factory function to create DHCPv6 ELAPSED_TIME option.
|
|
@@ -643,7 +643,7 @@ protected:
|
|
/// \brief Send DHCPv4 DISCOVER message from template.
|
|
/// \brief Send DHCPv4 DISCOVER message from template.
|
|
///
|
|
///
|
|
/// Method sends DHCPv4 DISCOVER message from template. The
|
|
/// Method sends DHCPv4 DISCOVER message from template. The
|
|
- /// template data is exepcted to be in binary format. Provided
|
|
|
|
|
|
+ /// template data is expected to be in binary format. Provided
|
|
/// buffer is copied and parts of it are replaced with actual
|
|
/// buffer is copied and parts of it are replaced with actual
|
|
/// data (e.g. MAC address, transaction id etc.).
|
|
/// data (e.g. MAC address, transaction id etc.).
|
|
/// Copy of sent packet is stored in the stats_mgr4_ object to
|
|
/// Copy of sent packet is stored in the stats_mgr4_ object to
|