Home
last modified time | relevance | path

Searched refs:port_ (Results 1 – 25 of 25) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dturnport.cc74 TurnPort* port_; member in cricket::TurnAllocateRequest
88 TurnPort* port_; member in cricket::TurnRefreshRequest
106 TurnPort* port_; member in cricket::TurnCreatePermissionRequest
125 TurnPort* port_; member in cricket::TurnChannelBindRequest
139 TurnPort* port() { return port_; } in port()
171 TurnPort* port_; member in cricket::TurnEntry
1027 port_(port) { in TurnAllocateRequest()
1037 if (!port_->hash().empty()) { in Prepare()
1038 port_->AddRequestAuthInfo(request); in Prepare()
1043 LOG_J(LS_INFO, port_) << "TURN allocate request sent" in OnSent()
[all …]
Drelayport.cc82 RelayPort* port() { return port_; } in port()
130 RelayPort* port_; member in cricket::RelayEntry
453 : port_(port), ext_addr_(ext_addr), in RelayEntry()
490 socket = port_->socket_factory()->CreateUdpSocket( in Connect()
491 rtc::SocketAddress(port_->ip(), 0), in Connect()
492 port_->min_port(), port_->max_port()); in Connect()
496 socket = port_->socket_factory()->CreateClientTcpSocket( in Connect()
497 rtc::SocketAddress(port_->ip(), 0), ra->address, in Connect()
498 port_->proxy(), port_->user_agent(), opts); in Connect()
518 for (size_t i = 0; i < port_->options().size(); ++i) { in Connect()
[all …]
Dstunport.cc39 : port_(port), server_addr_(addr), deadline_(deadline) { in StunBindingRequest()
62 port_->OnStunBindingRequestSucceeded(server_addr_, addr); in OnResponse()
68 port_->requests_.SendDelayed( in OnResponse()
69 new StunBindingRequest(port_, server_addr_, deadline_), in OnResponse()
70 port_->stun_keepalive_delay()); in OnResponse()
85 port_->OnStunBindingOrResolveRequestFailed(server_addr_); in OnErrorResponse()
89 port_->requests_.SendDelayed( in OnErrorResponse()
90 new StunBindingRequest(port_, server_addr_, deadline_), in OnErrorResponse()
91 port_->stun_keepalive_delay()); in OnErrorResponse()
97 << port_->GetLocalAddress().ToSensitiveString() in OnTimeout()
[all …]
Dport.cc767 : port_(port), in Connection()
802 ASSERT(local_candidate_index_ < port_->Candidates().size()); in local_candidate()
803 return port_->Candidates()[local_candidate_index_]; in local_candidate()
813 IceRole role = port_->GetIceRole(); in priority()
872 rtc::PacketOptions options(port_->DefaultDscpValue()); in OnSendStunPacket()
873 auto err = port_->SendTo( in OnSendStunPacket()
887 if (!port_->GetStunMessage(data, size, addr, msg.accept(), &remote_ufrag)) { in OnReadPacket()
923 port_->SendBindingErrorResponse(msg.get(), addr, in OnReadPacket()
963 if (!port_->MaybeIceRoleConflict(remote_addr, msg, remote_ufrag)) { in HandleBindingRequest()
970 port_->SendBindingResponse(msg, remote_addr); in HandleBindingRequest()
[all …]
Dport.h425 Port* port() { return port_; } in port()
426 const Port* port() const { return port_; } in port()
602 Port* port_; variable
Dport_unittest.cc221 port_(p1), in TestChannel()
226 port_->SignalPortComplete.connect(this, &TestChannel::OnPortComplete); in TestChannel()
227 port_->SignalUnknownAddress.connect(this, &TestChannel::OnUnknownAddress); in TestChannel()
228 port_->SignalDestroyed.connect(this, &TestChannel::OnSrcPortDestroyed); in TestChannel()
236 void Start() { port_->PrepareAddress(); } in Start()
238 conn_ = port_->CreateConnection(remote_candidate, Port::ORIGIN_MESSAGE); in CreateConnection()
260 conn_ = port_->CreateConnection(c, Port::ORIGIN_MESSAGE); in AcceptConnection()
262 port_->SendBindingResponse(remote_request_.get(), remote_address_); in AcceptConnection()
291 ASSERT_EQ(port_.get(), port); in OnUnknownAddress()
320 Port* destroyed_src = port_.release(); in OnSrcPortDestroyed()
[all …]
/external/webrtc/webrtc/base/
Dsocketaddress.cc68 port_ = 0; in Clear()
73 return hostname_.empty() && IPIsUnspec(ip_) && 0 == port_; in IsNil()
77 return (!IPIsAny(ip_)) && (0 != port_); in IsComplete()
83 port_ = addr.port_; in operator =()
124 port_ = static_cast<uint16_t>(port); in SetPort()
136 return port_; in port()
165 ost << port_; in PortAsString()
238 return port_ < addr.port_; in operator <()
247 return (port_ == addr.port_); in EqualPorts()
253 h ^= port_ | (port_ << 16); in Hash()
[all …]
Dhttpcommon-inl.h56 port_ = static_cast<uint16_t>(::strtoul(colon + 1, NULL, 10)); in do_set_address()
60 port_ = HttpDefaultPort(secure_); in do_set_address()
93 if (port_ != HttpDefaultPort(secure_)) { in do_get_address()
96 sprintfn(port, arraysize(port), format, port_); in do_get_address()
Dhttprequest.h49 int port() { return port_; } in port()
50 void set_port(int port) { port_ = port; } in set_port()
78 int port_; variable
Dhttprequest.cc53 port_(80), in HttpRequest()
81 bool transparent_proxy = (port_ == 80) && ((proxy_.type == PROXY_HTTPS) || in Send()
89 SocketAddress server(host_, port_); in Send()
Dhttpcommon.h210 : host_(host), port_(port), secure_(HTTP_SECURE_PORT == port) { in host_()
217 port_ = HTTP_DEFAULT_PORT; in clear()
247 void set_port(uint16_t val) { port_ = val; } in set_port()
248 uint16_t port() const { return port_; } in port()
281 uint16_t port_; variable
Dsocketaddress.h182 uint16_t port_; variable
/external/libmojo/mojo/edk/system/
Dmessage_pipe_dispatcher.cc67 port_(port), in MessagePipeDispatcher()
74 port_, in MessagePipeDispatcher()
79 node_controller_->SetPortObserver(port_, nullptr); in Fuse()
80 node_controller_->SetPortObserver(other->port_, nullptr); in Fuse()
85 port0 = port_; in Fuse()
93 port1 = other->port_; in Fuse()
110 << " [port=" << port_.name() << "]"; in Close()
142 int rv = node_controller_->SendMessage(port_, message->TakePortsMessage()); in WriteMessage()
145 << " [port=" << port_.name() << "; rv=" << rv in WriteMessage()
190 port_, in ReadMessage()
[all …]
Dmessage_pipe_dispatcher.h101 const ports::PortRef port_; variable
/external/libmojo/mojo/edk/system/ports/
Dport_ref.cc20 : name_(name), port_(port) { in PortRef()
24 : name_(other.name_), port_(other.port_) { in PortRef()
30 port_ = other.port_; in operator =()
Dport_ref.h31 Port* port() const { return port_.get(); } in port()
34 scoped_refptr<Port> port_; variable
Dnode.cc46 explicit LockedPort(Port* port) : port_(port) { in LockedPort()
47 port_->lock.AssertAcquired(); in LockedPort()
50 Port* get() const { return port_; } in get()
51 Port* operator->() const { return port_; } in operator ->()
54 Port* const port_; member in mojo::edk::ports::Node::LockedPort
/external/google-breakpad/src/common/mac/
DMachIPC.mm172 &port_);
178 port_,
179 port_,
194 port_);
204 &port_);
210 port_,
211 port_,
219 : port_(receive_port),
226 mach_port_deallocate(mach_task_self(), port_);
241 out_message->head.msgh_local_port = port_;
[all …]
DMachIPC.h269 mach_port_t GetPort() const { return port_; } in GetPort()
274 mach_port_t port_; variable
/external/webrtc/webrtc/p2p/client/
Dfakeportallocator.h97 port_(), running_(false), in FakePortAllocatorSession()
103 if (!port_) { in StartGettingPorts()
104 port_.reset(TestUDPPort::Create(worker_thread_, factory_, &network_, in StartGettingPorts()
107 AddPort(port_.get()); in StartGettingPorts()
136 rtc::scoped_ptr<cricket::Port> port_; variable
Dbasicportallocator.h127 PortData() : port_(NULL), sequence_(NULL), state_(STATE_INIT) {} in PortData()
129 : port_(port), sequence_(seq), state_(STATE_INIT) { in PortData()
132 Port* port() { return port_; } in port()
156 Port* port_; variable
/external/webrtc/webrtc/examples/peerconnection/client/linux/
Dmain_wnd.cc133 port_ = buffer; in GtkMainWnd()
250 gtk_entry_set_text(GTK_ENTRY(port_edit_), port_.c_str()); in SwitchToConnectUI()
339 port_ = gtk_entry_get_text(GTK_ENTRY(port_edit_)); in OnClicked()
340 int port = port_.length() ? atoi(port_.c_str()) : 0; in OnClicked()
Dmain_wnd.h111 std::string port_; variable
/external/webrtc/webrtc/examples/peerconnection/client/
Dmain_wnd.h195 std::string port_; variable
Dmain_wnd.cc76 port_ = buffer; in MainWnd()
476 ::SetWindowTextA(edit2_, port_.c_str()); in CreateChildWindows()