class LossConfig
Defined at line 483 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/wire_types.h
Provides emulated packet loss configuration.
Public Methods
void LossConfig ()
void LossConfig (const LossConfig & )
Defined at line 487 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/wire_types.h
LossConfig & operator= (const LossConfig & )
Defined at line 488 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/wire_types.h
void LossConfig (LossConfig && )
Defined at line 489 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/wire_types.h
bool has_invalid_tag ()
bool is_random_rate ()
LossConfig WithRandomRate (uint8_t val)
Rate of packet loss expressed as independent drop probability [0-100].
LossConfig & operator= (LossConfig && )
Defined at line 490 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/wire_types.h
uint8_t & random_rate ()
Rate of packet loss expressed as independent drop probability [0-100].
const uint8_t & random_rate ()
Rate of packet loss expressed as independent drop probability [0-100].
::fuchsia_netemul_network::wire::LossConfig::Tag Which ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kRandomRate | 1 |
Defined at line 492 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/wire_types.h