Home
last modified time | relevance | path

Searched refs:local_endpoint_ (Results 1 – 11 of 11) sorted by relevance

/external/openscreen/platform/impl/
Dudp_socket_posix.cc72 local_endpoint_(local_endpoint), in UdpSocketPosix()
75 OSP_DCHECK(local_endpoint_.address.IsV4() || local_endpoint_.address.IsV6()); in UdpSocketPosix()
129 return local_endpoint_.address.IsV4(); in IsIPv4()
133 return local_endpoint_.address.IsV6(); in IsIPv6()
137 if (local_endpoint_.port == 0) { in GetLocalEndpoint()
140 switch (local_endpoint_.address.version()) { in GetLocalEndpoint()
148 local_endpoint_.address = in GetLocalEndpoint()
151 local_endpoint_.port = ntohs(address.sin_port); in GetLocalEndpoint()
163 local_endpoint_.address = in GetLocalEndpoint()
166 local_endpoint_.port = ntohs(address.sin6_port); in GetLocalEndpoint()
[all …]
Dudp_socket_posix.h80 mutable IPEndpoint local_endpoint_; variable
/external/openscreen/cast/standalone_receiver/
Dcast_service.cc46 : local_endpoint_(DetermineEndpoint(config.interface)), in CastService()
50 local_endpoint_.address, in CastService()
72 connection_factory_->Listen(local_endpoint_, kDefaultListenOptions); in CastService()
76 info.port = local_endpoint_.port; in CastService()
Dcast_service.h76 const IPEndpoint local_endpoint_; variable
/external/libchrome/mojo/public/cpp/platform/
Dplatform_channel.h57 return local_endpoint_; in COMPONENT_EXPORT()
64 return std::move(local_endpoint_); in COMPONENT_EXPORT()
109 PlatformChannelEndpoint local_endpoint_; in COMPONENT_EXPORT()
Dplatform_channel.cc156 local_endpoint_ = PlatformChannelEndpoint(std::move(local_handle)); in PlatformChannel()
/external/cronet/net/test/embedded_test_server/
Dembedded_test_server.cc353 result = listen_socket_->GetLocalAddress(&local_endpoint_); in InitializeAndListen()
360 port_ = local_endpoint_.port(); in InitializeAndListen()
366 base_url_ = GURL("https://" + local_endpoint_.ToString()); in InitializeAndListen()
369 base::StringPrintf("https://localhost:%d", local_endpoint_.port())); in InitializeAndListen()
372 base_url_ = GURL("http://" + local_endpoint_.ToString()); in InitializeAndListen()
710 *address_list = AddressList(local_endpoint_); in GetAddressList()
715 return local_endpoint_.address().ToString(); in GetIPLiteralString()
Dembedded_test_server.h582 IPEndPoint local_endpoint_; variable
/external/cronet/net/dns/
Daddress_sorter_posix_unittest.cc80 *address = local_endpoint_; in GetLocalAddress()
144 local_endpoint_ = IPEndPoint(it->second, 39874 /* arbitrary port */); in Connect()
159 IPEndPoint local_endpoint_; member in net::__anon837dd9630111::TestUDPClientSocket
/external/openscreen/cast/streaming/
Denvironment.h144 IPEndpoint local_endpoint_{};
Dsender_unittest.cc125 local_endpoint_ = IPEndpoint{IPAddress(hextets), 2344}; in SimulatedNetworkPipe()
128 const IPEndpoint& local_endpoint() const { return local_endpoint_; } in local_endpoint()
138 remote_->OnReceivedPacket(local_endpoint_, FakeClock::now(), in StartPacketTransmission()
148 IPEndpoint local_endpoint_; member in openscreen::cast::__anon49ccb09e0111::SimulatedNetworkPipe