Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/
Dnat_socket_factory.cc116 result = socket_->Connect(server_addr_.IsNil() ? addr : server_addr_); in Connect()
137 if (server_addr_.IsNil() || type_ == SOCK_STREAM) { in SendTo()
146 int result = socket_->SendTo(buf.get(), encoded_size, server_addr_); in SendTo()
163 if (server_addr_.IsNil() || type_ == SOCK_STREAM) { in RecvFrom()
174 RTC_DCHECK(remote_addr == server_addr_); in RecvFrom()
242 if (server_addr_.IsNil()) { in OnConnectEvent()
252 if (type_ == SOCK_STREAM && !server_addr_.IsNil() && !connected_) { in OnReadEvent()
272 socket_ = sf_->CreateInternalSocket(family_, type_, addr, &server_addr_); in BindInternal()
280 server_addr_.Clear(); in BindInternal()
322 SocketAddress server_addr_; // address of the NAT server member in rtc::NATSocket
/external/webrtc/p2p/base/
Dstun_port.cc42 : port_(port), server_addr_(addr), start_time_(start_time) {} in StunBindingRequest()
44 const rtc::SocketAddress& server_addr() const { return server_addr_; } in server_addr()
60 port_->OnStunBindingRequestSucceeded(this->Elapsed(), server_addr_, addr); in OnResponse()
66 new StunBindingRequest(port_, server_addr_, start_time_), in OnResponse()
83 server_addr_, attr ? attr->number() : STUN_ERROR_GLOBAL_FAILURE, in OnErrorResponse()
91 new StunBindingRequest(port_, server_addr_, start_time_), in OnErrorResponse()
100 server_addr_, SERVER_NOT_REACHABLE_ERROR, in OnTimeout()
113 const rtc::SocketAddress server_addr_; member in cricket::StunBindingRequest