Searched refs:InterfaceAddress (Results 1 – 14 of 14) sorted by relevance
/external/webrtc/rtc_base/ |
D | ip_address.h | 130 class RTC_EXPORT InterfaceAddress : public IPAddress { 132 InterfaceAddress() : ipv6_flags_(IPV6_ADDRESS_FLAG_NONE) {} in InterfaceAddress() function 134 explicit InterfaceAddress(IPAddress ip) in InterfaceAddress() function 137 InterfaceAddress(IPAddress addr, int ipv6_flags) in InterfaceAddress() function 140 InterfaceAddress(const in6_addr& ip6, int ipv6_flags) in InterfaceAddress() function 143 InterfaceAddress(const InterfaceAddress& other) = default; 144 const InterfaceAddress& operator=(const InterfaceAddress& other); 146 bool operator==(const InterfaceAddress& other) const; 147 bool operator!=(const InterfaceAddress& other) const; 161 InterfaceAddress* out);
|
D | ifaddrs_converter.cc | 21 InterfaceAddress* ip, in ConvertIfAddrsToIPAddress() 25 *ip = InterfaceAddress(IPAddress( in ConvertIfAddrsToIPAddress() 36 *ip = InterfaceAddress( in ConvertIfAddrsToIPAddress()
|
D | ip_address.cc | 201 bool InterfaceAddress::operator==(const InterfaceAddress& other) const { in operator ==() 206 bool InterfaceAddress::operator!=(const InterfaceAddress& other) const { in operator !=() 210 const InterfaceAddress& InterfaceAddress::operator=( in operator =() 211 const InterfaceAddress& other) { in operator =() 217 std::string InterfaceAddress::ToString() const { in ToString() 301 bool IPFromString(const std::string& str, int flags, InterfaceAddress* out) { in IPFromString() 307 *out = InterfaceAddress(ip, flags); in IPFromString()
|
D | network.h | 355 void AddIP(const InterfaceAddress& ip) { ips_.push_back(ip); } in AddIP() 356 void AddIP(const IPAddress& ip) { ips_.push_back(rtc::InterfaceAddress(ip)); } in AddIP() 360 bool SetIPs(const std::vector<InterfaceAddress>& ips, bool already_changed); 362 const std::vector<InterfaceAddress>& GetIPs() const { return ips_; } in GetIPs() 457 std::vector<InterfaceAddress> ips_;
|
D | network.cc | 53 std::vector<InterfaceAddress> ips; 134 bool IsIgnoredIPv6(const InterfaceAddress& ip) { in IsIgnoredIPv6() 335 const std::vector<InterfaceAddress>& addresses = network->GetIPs(); in MergeNetworkList() 337 for (const InterfaceAddress& address : addresses) { in MergeNetworkList() 464 if (absl::c_any_of(ips, [&](const InterfaceAddress& existing_ip) { in GetNetworkFromAddress() 503 InterfaceAddress ip; in ConvertIfAddrs() 699 if (IsIgnoredIPv6(InterfaceAddress(ip))) { in CreateNetworks() 970 bool Network::SetIPs(const std::vector<InterfaceAddress>& ips, bool changed) { in SetIPs() 975 for (const InterfaceAddress& ip : ips) { in SetIPs() 997 InterfaceAddress selected_ip, ula_ip; in GetBestIP() [all …]
|
D | ifaddrs_converter.h | 32 InterfaceAddress* ipaddress,
|
D | network_unittest.cc | 599 UnorderedElementsAre(InterfaceAddress(check_ip), in TEST_F() 600 InterfaceAddress(ip))); in TEST_F() 603 EXPECT_THAT((*it)->GetIPs(), Not(Contains(InterfaceAddress(ip)))); in TEST_F() 644 EXPECT_THAT((*it)->GetIPs(), Not(Contains(InterfaceAddress(ip)))); in TEST_F() 936 EXPECT_EQ(list2[0]->GetIPs()[0], InterfaceAddress(ip1)); in TEST_F() 937 EXPECT_EQ(list2[0]->GetIPs()[1], InterfaceAddress(ip2)); in TEST_F() 985 InterfaceAddress ip; in TEST_F() 1092 InterfaceAddress ip1; in TEST_F()
|
D | ip_address_unittest.cc | 954 InterfaceAddress addr1(kIPv6PublicAddr, IPV6_ADDRESS_FLAG_TEMPORARY); in TEST() 961 InterfaceAddress addr2 = addr1; in TEST() 967 InterfaceAddress addr3(addr1); in TEST() 973 InterfaceAddress addr4(kIPv6PublicAddr, IPV6_ADDRESS_FLAG_DEPRECATED); in TEST() 982 InterfaceAddress addr5(kIPv6LinkLocalAddr, IPV6_ADDRESS_FLAG_TEMPORARY); in TEST()
|
/external/rust/crates/nix/src/ |
D | ifaddrs.rs | 18 pub struct InterfaceAddress { struct 45 impl InterfaceAddress { argument 47 fn from_libc_ifaddrs(info: &libc::ifaddrs) -> InterfaceAddress { in from_libc_ifaddrs() argument 51 let mut addr = InterfaceAddress { in from_libc_ifaddrs() 89 type Item = InterfaceAddress; 94 Some(InterfaceAddress::from_libc_ifaddrs(ifaddr)) in next()
|
/external/webrtc/p2p/base/ |
D | tcp_port.cc | 368 port_->Network()->GetIPs(), [this](const rtc::InterfaceAddress& addr) { in TCPConnection() 452 [socket_address](const rtc::InterfaceAddress& addr) { in OnConnect()
|
D | tcp_port_unittest.cc | 174 networks_.back().AddIP(rtc::InterfaceAddress( in TEST_F()
|
D | turn_port.cc | 467 [socket_address](const rtc::InterfaceAddress& addr) { in OnSocketConnect()
|
D | turn_port_unittest.cc | 977 networks_.back().AddIP(rtc::InterfaceAddress( in TEST_F()
|
/external/rust/crates/nix/test/sys/ |
D | test_socket.rs | 1163 fn loopback_address(family: AddressFamily) -> Option<nix::ifaddrs::InterfaceAddress> { in loopback_address() argument
|