Lines Matching refs:UDPPort

39   StunBindingRequest(UDPPort* port,  in StunBindingRequest()
112 UDPPort* port_;
118 UDPPort::AddressResolver::AddressResolver(rtc::PacketSocketFactory* factory) in AddressResolver()
121 UDPPort::AddressResolver::~AddressResolver() { in ~AddressResolver()
131 void UDPPort::AddressResolver::Resolve(const rtc::SocketAddress& address) { in Resolve()
141 &UDPPort::AddressResolver::OnResolveResult); in Resolve()
146 bool UDPPort::AddressResolver::GetResolvedAddress( in GetResolvedAddress()
157 void UDPPort::AddressResolver::OnResolveResult( in OnResolveResult()
168 UDPPort::UDPPort(rtc::Thread* thread, in UDPPort() function in cricket::UDPPort
187 UDPPort::UDPPort(rtc::Thread* thread, in UDPPort() function in cricket::UDPPort
214 bool UDPPort::Init() { in Init()
224 socket_->SignalReadPacket.connect(this, &UDPPort::OnReadPacket); in Init()
226 socket_->SignalSentPacket.connect(this, &UDPPort::OnSentPacket); in Init()
227 socket_->SignalReadyToSend.connect(this, &UDPPort::OnReadyToSend); in Init()
228 socket_->SignalAddressReady.connect(this, &UDPPort::OnLocalAddressReady); in Init()
229 requests_.SignalSendPacket.connect(this, &UDPPort::OnSendPacket); in Init()
233 UDPPort::~UDPPort() { in ~UDPPort()
238 void UDPPort::PrepareAddress() { in PrepareAddress()
245 void UDPPort::MaybePrepareStunCandidate() { in MaybePrepareStunCandidate()
256 Connection* UDPPort::CreateConnection(const Candidate& address, in CreateConnection()
294 int UDPPort::SendTo(const void* data, in SendTo()
317 void UDPPort::UpdateNetworkCost() { in UpdateNetworkCost()
322 rtc::DiffServCodePoint UDPPort::StunDscpValue() const { in StunDscpValue()
326 int UDPPort::SetOption(rtc::Socket::Option opt, int value) { in SetOption()
334 int UDPPort::GetOption(rtc::Socket::Option opt, int* value) { in GetOption()
338 int UDPPort::GetError() { in GetError()
342 bool UDPPort::HandleIncomingPacket(rtc::AsyncPacketSocket* socket, in HandleIncomingPacket()
352 bool UDPPort::SupportsProtocol(const std::string& protocol) const { in SupportsProtocol()
356 ProtocolType UDPPort::GetProtocol() const { in GetProtocol()
360 void UDPPort::GetStunStats(absl::optional<StunStats>* stats) { in GetStunStats()
364 void UDPPort::set_stun_keepalive_delay(const absl::optional<int>& delay) { in set_stun_keepalive_delay()
368 void UDPPort::OnLocalAddressReady(rtc::AsyncPacketSocket* socket, in OnLocalAddressReady()
385 void UDPPort::PostAddAddress(bool is_final) { in PostAddAddress()
389 void UDPPort::OnReadPacket(rtc::AsyncPacketSocket* socket, in OnReadPacket()
413 void UDPPort::OnSentPacket(rtc::AsyncPacketSocket* socket, in OnSentPacket()
418 void UDPPort::OnReadyToSend(rtc::AsyncPacketSocket* socket) { in OnReadyToSend()
422 void UDPPort::SendStunBindingRequests() { in SendStunBindingRequests()
433 void UDPPort::ResolveStunAddress(const rtc::SocketAddress& stun_addr) { in ResolveStunAddress()
436 resolver_->SignalDone.connect(this, &UDPPort::OnResolveResult); in ResolveStunAddress()
444 void UDPPort::OnResolveResult(const rtc::SocketAddress& input, int error) { in OnResolveResult()
466 void UDPPort::SendStunBindingRequest(const rtc::SocketAddress& stun_addr) { in SendStunBindingRequest()
486 bool UDPPort::MaybeSetDefaultLocalAddress(rtc::SocketAddress* addr) const { in MaybeSetDefaultLocalAddress()
503 void UDPPort::OnStunBindingRequestSucceeded( in OnStunBindingRequestSucceeded()
540 void UDPPort::OnStunBindingOrResolveRequestFailed( in OnStunBindingOrResolveRequestFailed()
558 void UDPPort::MaybeSetPortCompleteOrError() { in MaybeSetPortCompleteOrError()
590 void UDPPort::OnSendPacket(const void* data, size_t size, StunRequest* req) { in OnSendPacket()
601 bool UDPPort::HasCandidateWithAddress(const rtc::SocketAddress& addr) const { in HasCandidateWithAddress()
642 : UDPPort(thread, in StunPort()