Searched refs:InterfaceAddress (Results 1 – 14 of 14) sorted by relevance
/external/webrtc/rtc_base/ |
D | ip_address.h | 132 class RTC_EXPORT InterfaceAddress : public IPAddress { 134 InterfaceAddress() : ipv6_flags_(IPV6_ADDRESS_FLAG_NONE) {} in InterfaceAddress() function 136 explicit InterfaceAddress(IPAddress ip) in InterfaceAddress() function 139 InterfaceAddress(IPAddress addr, int ipv6_flags) in InterfaceAddress() function 142 InterfaceAddress(const in6_addr& ip6, int ipv6_flags) in InterfaceAddress() function 145 InterfaceAddress(const InterfaceAddress& other) = default; 146 const InterfaceAddress& operator=(const InterfaceAddress& other); 148 bool operator==(const InterfaceAddress& other) const; 149 bool operator!=(const InterfaceAddress& other) const; 163 InterfaceAddress* out);
|
D | ip_address.cc | 199 bool InterfaceAddress::operator==(const InterfaceAddress& other) const { in operator ==() 204 bool InterfaceAddress::operator!=(const InterfaceAddress& other) const { in operator !=() 208 const InterfaceAddress& InterfaceAddress::operator=( in operator =() 209 const InterfaceAddress& other) { in operator =() 215 std::string InterfaceAddress::ToString() const { in ToString() 299 bool IPFromString(absl::string_view str, int flags, InterfaceAddress* out) { in IPFromString() 305 *out = InterfaceAddress(ip, flags); in IPFromString()
|
D | ifaddrs_converter.cc | 21 InterfaceAddress* ip, in ConvertIfAddrsToIPAddress() 25 *ip = InterfaceAddress(IPAddress( in ConvertIfAddrsToIPAddress() 36 *ip = InterfaceAddress( in ConvertIfAddrsToIPAddress()
|
D | network.h | 463 void AddIP(const InterfaceAddress& ip) { ips_.push_back(ip); } in AddIP() 464 void AddIP(const IPAddress& ip) { ips_.push_back(rtc::InterfaceAddress(ip)); } in AddIP() 468 bool SetIPs(const std::vector<InterfaceAddress>& ips, bool already_changed); 470 const std::vector<InterfaceAddress>& GetIPs() const { return ips_; } in GetIPs() 588 std::vector<InterfaceAddress> ips_;
|
D | network.cc | 69 std::vector<InterfaceAddress> ips; 148 bool IsIgnoredIPv6(bool allow_mac_based_ipv6, const InterfaceAddress& ip) { in IsIgnoredIPv6() 382 const std::vector<InterfaceAddress>& addresses = network->GetIPs(); in MergeNetworkList() 391 for (const InterfaceAddress& address : addresses) { in MergeNetworkList() 520 if (absl::c_any_of(ips, [&](const InterfaceAddress& existing_ip) { in GetNetworkFromAddress() 610 InterfaceAddress ip; in ConvertIfAddrs() 817 if (IsIgnoredIPv6(allow_mac_based_ipv6_, InterfaceAddress(ip))) { in CreateNetworks() 1116 bool Network::SetIPs(const std::vector<InterfaceAddress>& ips, bool changed) { in SetIPs() 1121 for (const InterfaceAddress& ip : ips) { in SetIPs() 1143 InterfaceAddress selected_ip, link_local_ip, ula_ip; in GetBestIP() [all …]
|
D | ifaddrs_converter.h | 32 InterfaceAddress* ipaddress,
|
D | network_unittest.cc | 692 UnorderedElementsAre(InterfaceAddress(check_ip), in TEST_F() 693 InterfaceAddress(ip))); in TEST_F() 696 EXPECT_THAT(network->GetIPs(), Not(Contains(InterfaceAddress(ip)))); in TEST_F() 739 EXPECT_THAT(network->GetIPs(), Not(Contains(InterfaceAddress(ip)))); in TEST_F() 1067 EXPECT_THAT(list2[0]->GetIPs(), UnorderedElementsAre(InterfaceAddress(ip1), in TEST_F() 1068 InterfaceAddress(ip2))); in TEST_F() 1120 InterfaceAddress ip; in TEST_F() 1165 InterfaceAddress ip, link_local; in TEST_F() 1289 InterfaceAddress ip1; in TEST_F()
|
D | ip_address_unittest.cc | 949 InterfaceAddress addr1(kIPv6PublicAddr, IPV6_ADDRESS_FLAG_TEMPORARY); in TEST() 956 InterfaceAddress addr2 = addr1; in TEST() 962 InterfaceAddress addr3(addr1); in TEST() 968 InterfaceAddress addr4(kIPv6PublicAddr, IPV6_ADDRESS_FLAG_DEPRECATED); in TEST() 977 InterfaceAddress addr5(kIPv6LinkLocalAddr, IPV6_ADDRESS_FLAG_TEMPORARY); in TEST()
|
/external/rust/crates/nix/src/ |
D | ifaddrs.rs | 20 pub struct InterfaceAddress { struct 83 impl InterfaceAddress { impl 85 fn from_libc_ifaddrs(info: &libc::ifaddrs) -> InterfaceAddress { in from_libc_ifaddrs() argument 93 let mut addr = InterfaceAddress { in from_libc_ifaddrs() 131 type Item = InterfaceAddress; 136 Some(InterfaceAddress::from_libc_ifaddrs(ifaddr)) in next()
|
/external/webrtc/p2p/base/ |
D | tcp_port.cc | 370 port_->Network()->GetIPs(), [this](const rtc::InterfaceAddress& addr) { in TCPConnection() 464 [socket_address](const rtc::InterfaceAddress& addr) { in OnConnect()
|
D | tcp_port_unittest.cc | 191 networks_.back().AddIP(rtc::InterfaceAddress( in TEST_F()
|
D | turn_port.cc | 500 [socket_address](const rtc::InterfaceAddress& addr) { in OnSocketConnect()
|
D | turn_port_unittest.cc | 1023 networks_.back().AddIP(rtc::InterfaceAddress( in TEST_F()
|
/external/rust/crates/nix/test/sys/ |
D | test_socket.rs | 1637 ) -> Option<nix::ifaddrs::InterfaceAddress> { in loopback_address() argument
|