Home
last modified time | relevance | path

Searched refs:local_address_ (Results 1 – 7 of 7) sorted by relevance

/external/openscreen/platform/impl/
Dstream_socket_posix.cc38 local_address_(local_endpoint) {} in StreamSocketPosix()
45 local_address_(local_address), in StreamSocketPosix()
83 SocketAddressPosix new_remote_address = local_address_.value(); in Accept()
94 std::make_unique<StreamSocketPosix>(local_address_.value(), in Accept()
100 if (!local_address_.has_value()) { in Bind()
112 if (bind(handle_.fd, local_address_.value().address(), in Bind()
113 local_address_.value().size()) != 0) { in Bind()
152 if (local_address_.has_value()) { in Connect()
163 local_address_.emplace(reinterpret_cast<struct sockaddr&>(address)); in Connect()
199 if (!local_address_.has_value()) { in local_address()
[all …]
Dstream_socket_posix.h75 absl::optional<SocketAddressPosix> local_address_; variable
/external/openscreen/platform/test/
Dmock_tls_connection.h18 : local_address_(local_address), remote_address_(remote_address) {} in MockTlsConnection()
27 IPEndpoint GetLocalEndpoint() const override { return local_address_; } in GetLocalEndpoint()
43 const IPEndpoint local_address_; variable
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Devaluate_args_test.cc31 local_address_ = "255.255.255.255"; in SetUp()
35 endpoint_ = CreateEvalArgsMockEndpoint(local_address_.c_str(), local_port_, in SetUp()
43 std::string local_address_; member in grpc_core::EvaluateArgsTest
51 EXPECT_EQ(src_address, local_address_); in TEST_F()
/external/webrtc/test/scenario/
Dnetwork_node.cc93 endpoint_->SendPacket(local_address_, remote_address_, buffer, in SendRtp()
103 endpoint_->SendPacket(local_address_, remote_address_, buffer, in SendRtcp()
126 local_address_ = rtc::SocketAddress(endpoint_->GetPeerLocalAddress(), 0); in Connect()
Dnetwork_node.h78 rtc::SocketAddress local_address_ RTC_GUARDED_BY(mutex_);
/external/webrtc/p2p/base/
Dport_unittest.cc1015 virtual SocketAddress GetLocalAddress() const { return local_address_; } in GetLocalAddress()
1050 SocketAddress local_address_; member in cricket::FakeAsyncPacketSocket
1548 socket->local_address_ = kLocalAddr1; in TEST_F()