Home
last modified time | relevance | path

Searched refs:server_addr_ (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/base/
Dnatsocketfactory.cc96 socket_ = sf_->CreateInternalSocket(family_, type_, addr, &server_addr_); in Bind()
104 server_addr_.Clear(); in Bind()
119 result = socket_->Connect(server_addr_.IsNil() ? addr : server_addr_); in Connect()
140 if (server_addr_.IsNil() || type_ == SOCK_STREAM) { in SendTo()
150 int result = socket_->SendTo(buf.get(), encoded_size, server_addr_); in SendTo()
164 if (server_addr_.IsNil() || type_ == SOCK_STREAM) { in RecvFrom()
175 ASSERT(remote_addr == server_addr_); in RecvFrom()
236 if (server_addr_.IsNil()) { in OnConnectEvent()
246 if (type_ == SOCK_STREAM && !server_addr_.IsNil() && !connected_) { in OnReadEvent()
296 SocketAddress server_addr_; // address of the NAT server member in rtc::NATSocket
/external/webrtc/webrtc/p2p/base/
Dstunport.cc39 : port_(port), server_addr_(addr), deadline_(deadline) { in StunBindingRequest()
46 const rtc::SocketAddress& server_addr() const { return server_addr_; } in server_addr()
62 port_->OnStunBindingRequestSucceeded(server_addr_, addr); in OnResponse()
69 new StunBindingRequest(port_, server_addr_, deadline_), in OnResponse()
85 port_->OnStunBindingOrResolveRequestFailed(server_addr_); in OnErrorResponse()
90 new StunBindingRequest(port_, server_addr_, deadline_), in OnErrorResponse()
100 port_->OnStunBindingOrResolveRequestFailed(server_addr_); in OnTimeout()
105 const rtc::SocketAddress server_addr_; member in cricket::StunBindingRequest
Drelayport.cc217 server_addr_.push_front(addr); in AddServerAddress()
219 server_addr_.push_back(addr); in AddServerAddress()
255 if (index < server_addr_.size()) in ServerAddress()
256 return &server_addr_[index]; in ServerAddress()
Drelayport.h108 std::deque<ProtocolAddress> server_addr_; variable