Searched refs:GetBestIP (Results 1 – 14 of 14) sorted by relevance
/external/webrtc/p2p/base/ |
D | tcp_port.cc | 191 AddAddress(rtc::SocketAddress(Network()->GetBestIP(), DISCARD_PORT), in PrepareAddress() 192 rtc::SocketAddress(Network()->GetBestIP(), 0), in PrepareAddress() 294 rtc::SocketAddress(Network()->GetBestIP(), 0), min_port(), max_port(), in TryCreateServerSocket() 464 } else if (IPIsAny(port_->Network()->GetBestIP())) { in OnConnect() 569 rtc::SocketAddress(port()->Network()->GetBestIP(), 0), in CreateOutgoingTcpSocket()
|
D | turn_port.cc | 356 << " local: " << Network()->GetBestIP().family(); in PrepareAddress() 387 rtc::SocketAddress(Network()->GetBestIP(), 0), min_port(), max_port()); in CreateTurnClientSocket() 409 rtc::SocketAddress(Network()->GetBestIP(), 0), server_address_.address, in CreateTurnClientSocket() 476 } else if (IPIsAny(Network()->GetBestIP())) { in OnSocketConnect() 824 !resolver_->GetResolvedAddress(Network()->GetBestIP().family(), in OnResolveResult()
|
D | tcp_port_unittest.cc | 151 ASSERT_EQ(kLocalAddr.ipaddr(), network->GetBestIP()); in TEST_F()
|
D | stun_port.cc | 219 rtc::SocketAddress(Network()->GetBestIP(), 0), min_port(), max_port()); in Init() 449 input, Network()->GetBestIP().family(), &resolved)) { in OnResolveResult()
|
D | port.cc | 594 rtc::IPAddress ip = network_->GetBestIP(); in IsCompatibleAddress()
|
D | turn_port_unittest.cc | 952 ASSERT_EQ(kLocalAddr1.ipaddr(), network->GetBestIP()); in TEST_F()
|
D | port_unittest.cc | 176 rtc::SocketAddress addr(Network()->GetBestIP(), min_port()); in PrepareAddress()
|
/external/webrtc/rtc_base/ |
D | network_unittest.cc | 300 IPAddress ip = (*it)->GetBestIP(); in TEST_F() 997 EXPECT_EQ(ipv6_network.GetBestIP(), IPAddress()); in TEST_F() 998 EXPECT_TRUE(IPIsUnspec(ipv6_network.GetBestIP())); in TEST_F() 1002 EXPECT_EQ(ipv6_network.GetBestIP(), IPAddress()); in TEST_F() 1009 EXPECT_EQ(ipv6_network.GetBestIP(), static_cast<IPAddress>(ip)); in TEST_F() 1015 EXPECT_EQ(ipv6_network.GetBestIP(), static_cast<IPAddress>(ip)); in TEST_F() 1021 EXPECT_EQ(ipv6_network.GetBestIP(), static_cast<IPAddress>(ip)); in TEST_F() 1072 if (network->GetBestIP().family() == AF_INET) { in TEST_F() 1074 } else if (network->GetBestIP().family() == AF_INET6 && in TEST_F() 1075 !IPIsLoopback(network->GetBestIP())) { in TEST_F()
|
D | network.h | 348 IPAddress GetBestIP() const; 352 IPAddress ip() const { return GetBestIP(); } in ip()
|
D | network.cc | 74 IPAddress ip_a = a->GetBestIP(); in SortNetworks() 75 IPAddress ip_b = b->GetBestIP(); in SortNetworks() 451 *ipaddr = ipv6_network->GetBestIP(); in GetDefaultLocalAddress() 988 IPAddress Network::GetBestIP() const { in GetBestIP() function in rtc::Network
|
D | nat_unittest.cc | 248 const IPAddress& ip = (*it)->GetBestIP(); in TestPhysicalInternal()
|
/external/webrtc/p2p/client/ |
D | basic_port_allocator.cc | 90 int a_family = GetAddressFamilyPriority(a->Network()->GetBestIP().family()); in ComparePort() 91 int b_family = GetAddressFamilyPriority(b->Network()->GetBestIP().family()); in ComparePort() 730 if (rtc::IPIsLinkLocal(network->GetBestIP())) { in GetNetworks() 793 networks[i]->GetBestIP().family() == AF_INET6) { in DoAllocate() 799 networks[i]->GetBestIP().family() == AF_INET6 && in DoAllocate() 1238 rtc::SocketAddress(network_->GetBestIP(), 0), in Init() 1274 if (!((network == network_) && (previous_best_ip_ == network->GetBestIP()))) { in DisableEquivalentPhases() 1342 previous_best_ip_ = network_->GetBestIP(); in Start() 1525 int local_ip_family = network_->GetBestIP().family(); in CreateTurnPort() 1531 << " Local address: " << network_->GetBestIP().ToSensitiveString(); in CreateTurnPort()
|
D | basic_port_allocator_unittest.cc | 309 port->Network()->GetBestIP() == client_addr.ipaddr(); in CountPorts()
|
/external/webrtc/p2p/stunprober/ |
D | stun_prober.cc | 566 if (srflx_addr.ipaddr() == net->GetBestIP()) { in GetStats() 568 stats.host_ip = net->GetBestIP().ToString(); in GetStats()
|