Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dipaddress.h125 class InterfaceAddress : public IPAddress {
127 InterfaceAddress() : ipv6_flags_(IPV6_ADDRESS_FLAG_NONE) {} in InterfaceAddress() function
129 InterfaceAddress(IPAddress ip) in InterfaceAddress() function
132 InterfaceAddress(IPAddress addr, int ipv6_flags) in InterfaceAddress() function
135 InterfaceAddress(const in6_addr& ip6, int ipv6_flags) in InterfaceAddress() function
138 const InterfaceAddress & operator=(const InterfaceAddress& other);
140 bool operator==(const InterfaceAddress& other) const;
141 bool operator!=(const InterfaceAddress& other) const;
145 const InterfaceAddress& addr);
154 InterfaceAddress* out);
Dipaddress.cc198 bool InterfaceAddress::operator==(const InterfaceAddress &other) const { in operator ==()
203 bool InterfaceAddress::operator!=(const InterfaceAddress &other) const { in operator !=()
207 const InterfaceAddress& InterfaceAddress::operator=( in operator =()
208 const InterfaceAddress& other) { in operator =()
214 std::ostream& operator<<(std::ostream& os, const InterfaceAddress& ip) { in operator <<()
272 InterfaceAddress* out) { in IPFromString()
278 *out = InterfaceAddress(ip, flags); in IPFromString()
Dnetwork.cc66 std::vector<InterfaceAddress> ips;
123 bool IsIgnoredIPv6(const InterfaceAddress& ip) { in IsIgnoredIPv6()
261 const std::vector<InterfaceAddress>& addresses = network->GetIPs(); in MergeNetworkList()
263 for (const InterfaceAddress& address : addresses) { in MergeNetworkList()
401 InterfaceAddress ip; in ConvertIfAddrs()
856 bool Network::SetIPs(const std::vector<InterfaceAddress>& ips, bool changed) { in SetIPs()
861 for (const InterfaceAddress& ip : ips) { in SetIPs()
883 InterfaceAddress selected_ip, ula_ip; in GetBestIP()
885 for (const InterfaceAddress& ip : ips_) { in GetBestIP()
Dnetwork.h325 void AddIP(const InterfaceAddress& ip) { ips_.push_back(ip); } in AddIP()
329 bool SetIPs(const std::vector<InterfaceAddress>& ips, bool already_changed);
331 const std::vector<InterfaceAddress>& GetIPs() const { return ips_;} in GetIPs()
365 std::vector<InterfaceAddress> ips_;
Difaddrs_converter.cc21 InterfaceAddress* ip, in ConvertIfAddrsToIPAddress()
36 *ip = InterfaceAddress( in ConvertIfAddrsToIPAddress()
Difaddrs_converter.h32 InterfaceAddress* ipaddress,
Dipaddress_unittest.cc918 InterfaceAddress addr1(kIPv6PublicAddr, in TEST()
926 InterfaceAddress addr2 = addr1; in TEST()
932 InterfaceAddress addr3(addr1); in TEST()
938 InterfaceAddress addr4(kIPv6PublicAddr, in TEST()
948 InterfaceAddress addr5(kIPv6LinkLocalAddr, in TEST()
Dnetwork_unittest.cc878 InterfaceAddress ip; in TEST_F()