Searched refs:v4_address (Results 1 – 10 of 10) sorted by relevance
/external/openscreen/platform/impl/ |
D | socket_address_posix_unittest.cc | 15 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/ |
D | service_info_unittest.cc | 32 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()
|
D | service_info.h | 70 IPAddress v4_address; member 102 return lhs.v4_address == rhs.v4_address && lhs.v6_address == rhs.v6_address &&
|
D | service_info.cc | 132 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/ |
D | receiver_chooser.cc | 74 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/ |
D | mdns_responder_service.cc | 282 {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()
|
D | mdns_responder_service.h | 112 IPAddress v4_address; member
|
/external/openscreen/cast/sender/ |
D | cast_platform_client_unittest.cc | 35 receiver_.v4_address = IPAddress{192, 168, 0, 17}; in SetUp()
|
D | cast_app_discovery_service_impl_unittest.cc | 33 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/ |
D | stun_unittest.cc | 53 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()
|