Records
-
class FakeWatcherImpl -
class IsGloballyRoutable_IPv4AddressAndDefaultRoute_Test -
class IsGloballyRoutable_IPv6GlobalAddressAndDefaultRoute_Test -
class IsGloballyRoutable_IPv6LinkLocal_Test -
class IsGloballyRoutable_Loopback_Test -
class IsGloballyRoutable_NoAddresses_Test -
class IsGloballyRoutable_NoDefaultRoutes_Test -
class IsGloballyRoutable_Offline_Test -
class PropertiesMap_DuplicateAdded_Test -
class PropertiesMap_DuplicateExisting_Test -
class PropertiesMap_InvalidAdded_Test -
class PropertiesMap_InvalidChanged_Test -
class PropertiesMap_InvalidEvent_Test -
class PropertiesMap_InvalidExisting_Test -
class PropertiesMap_MissingId_Test -
class PropertiesMap_Success_Test -
class PropertiesMap_UnknownChanged_Test -
class PropertiesMap_UnknownRemoved_Test -
class ReachabilityWatcherTest -
class ReachabilityWatcherTest_Basic_Test -
class ReachabilityWatcherTest_ChannelClose_Test -
class ReachabilityWatcherTest_MalformedEvent_Test -
class Update_InvalidAddress_Test -
class Update_MismatchedID_Test -
class Update_MissingID_Test -
class Update_Success_Test -
class Verify_InvalidAddress_Test -
class Verify_MissingAddresses_Test -
class Verify_MissingID_Test -
class Verify_Success_Test
Functions
-
fuchsia::net::Ipv4Address ToFIDL (const std::array<uint8_t, 4> & bytes)Defined at line 30 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.cc
-
fuchsia::net::Ipv6Address ToFIDL (const std::array<uint8_t, 16> & bytes)Defined at line 36 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.cc
-
void InitAddress (fuchsia::net::interfaces::Address & addr, const std::array<uint8_t, 4> & bytes)Defined at line 42 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.cc
-
template <typename T, typename... Ts>void AppendAddresses (std::vector<fuchsia::net::interfaces::Address> & addresses, T bytes, Ts... byte_arrays)Defined at line 43 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.h
-
void InitAddress (fuchsia::net::interfaces::Address & addr, const std::array<uint8_t, 16> & bytes)Defined at line 50 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.cc
-
template <typename... Ts>std::vector<fuchsia::net::interfaces::Address> Addresses (Ts... byte_arrays)Creates a vector of addresses by initializing each address using |byte_arrays|.
Note that each element in the parameter pack |byte_arrays| must have a type convertible to |const
std::array
<uint8
_t, 4>
&
| or |const std::array
<uint8
_t, 16>
&
|.
Thes function exists mostly to work around the fact that it's not possible to use an initializer
list to initialize the return type of this function since |fuchsia::net::interfaces::Address| is
move-only.
Defined at line 57 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.h
-
void AppendAddresses (std::vector<fuchsia::net::interfaces::Address> & addresses)Defined at line 58 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.cc
-
void SetMutableProperties (fuchsia::net::interfaces::Properties & propertiesbool onlinebool has_default_ipv4_routebool has_default_ipv6_routestd::vector<fuchsia::net::interfaces::Address> addresses)Defined at line 60 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.cc
Variables
const std::array<uint8_t, 4> kIPv4Address1
Defined at line 22 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.h
const std::array<uint8_t, 4> kIPv4Address2
Defined at line 23 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.h
const std::array<uint8_t, 16> kIPv6Address1
Defined at line 24 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.h
const std::array<uint8_t, 16> kIPv6Address2
Defined at line 26 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.h
const std::array<uint8_t, 16> kIPv6LLAddress
Defined at line 28 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.h
const uint8_t kIPv4PrefixLength
Defined at line 30 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.h
const uint8_t kIPv6PrefixLength
Defined at line 31 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.h
const char[7] kName
Defined at line 33 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.h
const zx::duration kInitialBackoffDelay
Defined at line 35 of file ../../src/connectivity/network/lib/net_interfaces/cpp/test_common.h