Home
last modified time | relevance | path

Searched refs:v4_address (Results 1 – 10 of 10) sorted by relevance

/external/openscreen/platform/impl/
Dsocket_address_posix_unittest.cc15 const sockaddr_in* v4_address = in TEST() local
18 EXPECT_EQ(v4_address->sin_family, AF_INET); in TEST()
19 EXPECT_EQ(v4_address->sin_port, ntohs(80)); in TEST()
22 EXPECT_EQ(v4_address->sin_addr.s_addr, 67305985u); in TEST()
54 const sockaddr_in* v4_address = in TEST() local
57 EXPECT_EQ(v4_address->sin_family, address.sin_family); in TEST()
58 EXPECT_EQ(v4_address->sin_port, address.sin_port); in TEST()
59 EXPECT_EQ(v4_address->sin_addr.s_addr, address.sin_addr.s_addr); in TEST()
/external/openscreen/cast/common/public/
Dservice_info_unittest.cc32 EXPECT_TRUE(info.value().v4_address); in TEST()
33 EXPECT_EQ(info.value().v4_address, kAddressV4); in TEST()
50 EXPECT_TRUE(info.value().v4_address); in TEST()
51 EXPECT_EQ(info.value().v4_address, kAddressV4); in TEST()
66 EXPECT_FALSE(info.value().v4_address); in TEST()
125 info.v4_address = kAddressV4; in TEST()
Dservice_info.h70 IPAddress v4_address; member
102 return lhs.v4_address == rhs.v4_address && lhs.v6_address == rhs.v6_address &&
Dservice_info.cc132 if (!record.v4_address && address.IsV4()) { in DnsSdInstanceEndpointToServiceInfo()
133 record.v4_address = address; in DnsSdInstanceEndpointToServiceInfo()
138 if (!record.v4_address && !record.v6_address) { in DnsSdInstanceEndpointToServiceInfo()
/external/openscreen/cast/standalone_sender/
Dreceiver_chooser.cc74 if (!info.IsValid() || (!info.v4_address && !info.v6_address)) { in OnDnsWatcherUpdate()
109 OSP_DCHECK(info.v4_address); in PrintMenuAndHandleChoice()
110 std::cout << info.v4_address; in PrintMenuAndHandleChoice()
125 callback_on_stack(IPEndpoint{choice.v4_address, choice.port}); in PrintMenuAndHandleChoice()
/external/openscreen/osp/impl/
Dmdns_responder_service.cc282 {host->v4_address, service->port}, in HandleMdnsEvents()
292 {host->v4_address, service->port}, in HandleMdnsEvents()
581 host->v4_address = address; in HandleAddressEvent()
590 host->v4_address = IPAddress(); in HandleAddressEvent()
594 if (host->v4_address || host->v6_address) in HandleAddressEvent()
639 !instance.txt_info.empty() && (host->v4_address || host->v6_address)); in IsServiceReady()
Dmdns_responder_service.h112 IPAddress v4_address; member
/external/openscreen/cast/sender/
Dcast_platform_client_unittest.cc35 receiver_.v4_address = IPAddress{192, 168, 0, 17}; in SetUp()
Dcast_app_discovery_service_impl_unittest.cc33 receiver_.v4_address = fake_cast_socket_pair_.remote_endpoint.address; in SetUp()
257 receiver2.v4_address = fake_sockets2.remote_endpoint.address; in TEST_F()
/external/webrtc/api/transport/
Dstun_unittest.cc53 in_addr v4_address = expected_address.ipv4_address(); in CheckStunAddressAttribute() local
55 ASSERT_EQ(0, memcmp(&v4_address, &stun_address, sizeof(stun_address))); in CheckStunAddressAttribute()