Home
last modified time | relevance | path

Searched refs:related_address (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dcandidate.h149 const rtc::SocketAddress & related_address() const { in related_address() function
153 const rtc::SocketAddress & related_address) { in set_related_address() argument
154 related_address_ = related_address; in set_related_address()
Dstunport.cc444 rtc::SocketAddress related_address = socket_->GetLocalAddress(); in OnStunBindingRequestSucceeded() local
446 if (!MaybeSetDefaultLocalAddress(&related_address) || in OnStunBindingRequestSucceeded()
450 related_address = rtc::EmptySocketAddressWithFamily( in OnStunBindingRequestSucceeded()
451 related_address.family()); in OnStunBindingRequestSucceeded()
454 AddAddress(stun_reflected_addr, socket_->GetLocalAddress(), related_address, in OnStunBindingRequestSucceeded()
Dturnport.cc697 rtc::SocketAddress related_address = stun_address; in OnAllocateSuccess() local
701 related_address = rtc::EmptySocketAddressWithFamily(stun_address.family()); in OnAllocateSuccess()
707 related_address, // Related address. in OnAllocateSuccess()
Dport.h310 const rtc::SocketAddress& related_address,
Dport.cc227 const rtc::SocketAddress& related_address, in AddAddress() argument
254 c.set_related_address(related_address); in AddAddress()
Dport_unittest.cc2175 EXPECT_TRUE(udpport->Candidates()[0].related_address().IsNil()); in TEST_F()
2187 EXPECT_EQ(stunport->Candidates()[0].related_address(), in TEST_F()
2200 relayport->Candidates()[0].related_address()); in TEST_F()
2210 turnport->Candidates()[0].related_address().ipaddr()); in TEST_F()
/external/webrtc/webrtc/p2p/client/
Dportallocator_unittest.cc292 rtc::IPAddress related_address = host_candidate_addr; in CheckDisableAdapterEnumeration() local
294 related_address = in CheckDisableAdapterEnumeration()
297 EXPECT_EQ(related_address, in CheckDisableAdapterEnumeration()
298 candidates_[total_candidates].related_address().ipaddr()); in CheckDisableAdapterEnumeration()
306 candidates_[total_candidates].related_address().ipaddr()); in CheckDisableAdapterEnumeration()
314 candidates_[total_candidates].related_address().ipaddr()); in CheckDisableAdapterEnumeration()
947 candidates_[0].related_address(), in TEST_F()
983 candidates_[0].related_address(), in TEST_F()
1182 EXPECT_EQ(candidates_[2].related_address(), candidates_[1].address()); in TEST_F()
1251 EXPECT_NE(candidates_[2].related_address(), candidates_[1].address()); in TEST_F()
[all …]
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp.cc1037 SocketAddress related_address; in ParseCandidate() local
1042 related_address.SetIP(fields[++current_position]); in ParseCandidate()
1052 related_address.SetPort(port); in ParseCandidate()
1102 candidate->set_related_address(related_address); in ParseCandidate()
1762 if (!it->related_address().IsNil()) { in BuildCandidate()
1764 << it->related_address().ipaddr().ToString() << " " in BuildCandidate()
1766 << it->related_address().PortAsString() << " "; in BuildCandidate()