Lines Matching refs:local_addr_
117 return local_addr_;
126 local_addr_ = addr;
130 if (!local_addr_.IsNil()) {
134 local_addr_ = addr;
135 int result = server_->Bind(this, &local_addr_);
137 local_addr_.Clear();
151 if (!local_addr_.IsNil() && bound_) {
153 server_->Unbind(local_addr_, this);
174 server_->LookupConnection(local_addr_, remote_addr_);
185 server_->RemoveConnection(remote_addr_, local_addr_);
186 server_->RemoveConnection(local_addr_, remote_addr_);
198 VirtualSocket* socket = server_->LookupConnection(local_addr_,
205 server_->RemoveConnection(local_addr_, data->addr);
218 local_addr_.Clear();
295 if (local_addr_.IsNil()) {
315 socket->SetLocalAddress(local_addr_);
370 //ASSERT(!local_addr_.IsAny());
390 LOG(LS_VERBOSE) << "Socket at " << local_addr_ << " is not listening";
429 if (local_addr_.IsNil()) {
459 server_->AddConnection(remote_addr_, local_addr_, this);
467 if (local_addr_.IsNil()) {
468 local_addr_ = EmptySocketAddressWithFamily(addr.ipaddr().family());
469 int result = server_->Bind(this, &local_addr_);
471 local_addr_.Clear();
501 SocketAddress local_addr_;
832 VirtualSocket* recipient = LookupConnection(socket->local_addr_,
892 Packet* p = new Packet(data, data_size, sender->local_addr_);