/system/connectivity/shill/net/ |
ip_address_unittest.cc | 49 void TestAddress(IPAddress::Family family, 54 IPAddress good_addr(family); 57 EXPECT_EQ(IPAddress::GetAddressLength(family), good_addr.GetLength()); 67 IPAddress good_addr_from_bytes(family, good_bytes); 70 IPAddress good_addr_from_string(good_string); 73 IPAddress bad_addr(family); 79 IPAddress bad_addr_from_bytes(family, bad_bytes); 83 IPAddress bad_addr_from_string(bad_string); 84 EXPECT_EQ(IPAddress::kFamilyUnknown, bad_addr_from_string.family()); 93 if (family == IPAddress::kFamilyIPv6) [all...] |
ip_address.cc | 41 const IPAddress::Family IPAddress::kFamilyUnknown = AF_UNSPEC; 43 const IPAddress::Family IPAddress::kFamilyIPv4 = AF_INET; 45 const IPAddress::Family IPAddress::kFamilyIPv6 = AF_INET6; 48 const char IPAddress::kFamilyNameUnknown[] = "Unknown"; 50 const char IPAddress::kFamilyNameIPv4[] = "IPv4"; 52 const char IPAddress::kFamilyNameIPv6[] = "IPv6"; 54 IPAddress::IPAddress(Family family, const ByteString& address [all...] |
ip_address.h | 29 class SHILL_EXPORT IPAddress { 39 explicit IPAddress(Family family); 40 // Constructs an IPAddress object given a standard string representation of an 42 explicit IPAddress(std::string ip_string); 44 // Constructs an IPAddress object from a sockaddr_in or sockaddr_in6 47 explicit IPAddress(const sockaddr* address_struct, size_t size); 49 IPAddress(Family family, const ByteString& address); 50 IPAddress(Family family, const ByteString& address, unsigned int prefix); 51 ~IPAddress(); 54 IPAddress(const IPAddress& b [all...] |
/external/webrtc/webrtc/base/ |
ipaddress.h | 50 class IPAddress { 52 IPAddress() : family_(AF_UNSPEC) { 56 explicit IPAddress(const in_addr& ip4) : family_(AF_INET) { 61 explicit IPAddress(const in6_addr& ip6) : family_(AF_INET6) { 65 explicit IPAddress(uint32_t ip_in_host_byte_order) : family_(AF_INET) { 70 IPAddress(const IPAddress& other) : family_(other.family_) { 74 virtual ~IPAddress() {} 76 const IPAddress & operator=(const IPAddress& other) [all...] |
socket_unittest.h | 62 const IPAddress kIPv4Loopback; 63 const IPAddress kIPv6Loopback; 66 void ConnectInternal(const IPAddress& loopback); 67 void ConnectWithDnsLookupInternal(const IPAddress& loopback, 69 void ConnectFailInternal(const IPAddress& loopback); 71 void ConnectWithDnsLookupFailInternal(const IPAddress& loopback); 72 void ConnectWithClosedSocketInternal(const IPAddress& loopback); 73 void ConnectWhileNotClosedInternal(const IPAddress& loopback); 74 void ServerCloseDuringConnectInternal(const IPAddress& loopback); 75 void ClientCloseDuringConnectInternal(const IPAddress& loopback) [all...] |
ipaddress.cc | 28 #include "webrtc/base/ipaddress.h" 49 uint32_t IPAddress::v4AddressAsHostOrderInteger() const { 57 bool IPAddress::IsNil() const { 61 size_t IPAddress::Size() const { 72 bool IPAddress::operator==(const IPAddress &other) const { 85 bool IPAddress::operator!=(const IPAddress &other) const { 89 bool IPAddress::operator >(const IPAddress &other) const [all...] |
ipaddress_unittest.cc | 12 #include "webrtc/base/ipaddress.h" 105 bool AreEqual(const IPAddress& addr, 106 const IPAddress& addr2) { 132 IPAddress addr(0); // Intentionally make it v4. 140 IPAddress addr; 148 IPAddress addr; 158 IPAddress addr, expected; 161 IPAddress truncated = TruncateIP(addr, truncate_length); 166 IPAddress addr; 181 IPAddress addr(v4addr) [all...] |
ifaddrs_converter.cc | 22 IPAddress* mask) { 25 *ip = IPAddress( 27 *mask = IPAddress( 39 *mask = IPAddress(
|
ifaddrs_converter.h | 20 #include "webrtc/base/ipaddress.h" 24 // This class converts native interface addresses to our internal IPAddress 32 InterfaceAddress* ipaddress, 33 IPAddress* mask);
|
/system/connectivity/shill/ |
connection_info.h | 32 IPAddress original_source_ip_address, 34 IPAddress original_destination_ip_address, 36 IPAddress reply_source_ip_address, 38 IPAddress reply_destination_ip_address, 56 const IPAddress& original_source_ip_address() const { 60 const IPAddress& original_source_ip_address) { 69 const IPAddress& original_destination_ip_address() const { 73 const IPAddress& original_destination_ip_address) { 84 const IPAddress& reply_source_ip_address() const { 88 const IPAddress& reply_source_ip_address) [all...] |
connection_info_unittest.cc | 65 IPAddress(IPAddress::kFamilyIPv4, 68 IPAddress(IPAddress::kFamilyIPv4, 71 IPAddress(IPAddress::kFamilyIPv4, 74 IPAddress(IPAddress::kFamilyIPv4, 86 IPAddress(IPAddress::kFamilyIPv4 [all...] |
ip_address_store.cc | 28 // This is a less than comparison so that IPAddress can be stored in a set. 31 bool IPAddressLTIgnorePrefix::operator () (const IPAddress& lhs, 32 const IPAddress& rhs) const { 41 void IPAddressStore::AddUnique(const IPAddress& ip) { 45 void IPAddressStore::Remove(const IPAddress& ip) { 53 bool IPAddressStore::Contains(const IPAddress& ip) const { 65 IPAddress IPAddressStore::GetRandomIP() { 67 return IPAddress(IPAddress::kFamilyUnknown);
|
arp_packet.h | 31 ArpPacket(const IPAddress& local_ip, const IPAddress& remote_ip, 45 const IPAddress& local_ip_address() const { return local_ip_address_; } 46 void set_local_ip_address(const IPAddress& address) { 50 const IPAddress& remote_ip_address() const { return remote_ip_address_; } 51 void set_remote_ip_address(const IPAddress& address) { 78 IPAddress local_ip_address_; 79 IPAddress remote_ip_address_;
|
connection_info.cc | 27 original_source_ip_address_(IPAddress::kFamilyUnknown), 29 original_destination_ip_address_(IPAddress::kFamilyUnknown), 31 reply_source_ip_address_(IPAddress::kFamilyUnknown), 33 reply_destination_ip_address_(IPAddress::kFamilyUnknown), 40 IPAddress original_source_ip_address, 42 IPAddress original_destination_ip_address, 44 IPAddress reply_source_ip_address, 46 IPAddress reply_destination_ip_address,
|
routing_table_entry.h | 34 : dst(IPAddress::kFamilyUnknown), 35 src(IPAddress::kFamilyUnknown), 36 gateway(IPAddress::kFamilyUnknown), 43 RoutingTableEntry(const IPAddress& dst_in, 44 const IPAddress& src_in, 45 const IPAddress& gateway_in, 58 RoutingTableEntry(const IPAddress& dst_in, 59 const IPAddress& src_in, 60 const IPAddress& gateway_in, 74 RoutingTableEntry(const IPAddress& dst_in [all...] |
socket_info_unittest.cc | 50 IPAddress(IPAddress::kFamilyIPv4, 53 IPAddress(IPAddress::kFamilyIPv4, 66 IPAddress(IPAddress::kFamilyIPv4, 69 IPAddress(IPAddress::kFamilyIPv4, 81 IPAddress ip_address1(IPAddress::kFamilyIPv4 [all...] |
ip_address_store.h | 28 bool operator () (const IPAddress& lhs, const IPAddress& rhs) const; 41 typedef std::set<IPAddress, IPAddressLTIgnorePrefix> IPAddresses; 47 virtual void AddUnique(const IPAddress& ip); 48 virtual void Remove(const IPAddress& ip); 50 virtual bool Contains(const IPAddress& ip) const; 55 virtual IPAddress GetRandomIP();
|
ip_address_store_unittest.cc | 40 IPAddress StringToIPv4Address(const string& address_string) { 41 IPAddress ip_address(IPAddress::kFamilyIPv4); 56 IPAddress ip_0_0_0_0 = StringToIPv4Address(kIPAddress_0_0_0_0); 57 IPAddress ip_8_8_8_8 = StringToIPv4Address(kIPAddress_8_8_8_8); 58 IPAddress ip_7_7_7_7 = StringToIPv4Address(kIPAddress_7_7_7_7);
|
mock_routing_table.h | 37 IPAddress::Family family, 40 const IPAddress& gateway_address, 48 IPAddress::Family family, 52 const IPAddress& local_address, 53 const IPAddress& remote_address, 60 MOCK_METHOD5(RequestRouteToHost, bool(const IPAddress& addresss,
|
socket_info.h | 62 const IPAddress& local_ip_address, 64 const IPAddress& remote_ip_address, 84 const IPAddress& local_ip_address() const { return local_ip_address_; } 85 void set_local_ip_address(const IPAddress& local_ip_address) { 92 const IPAddress& remote_ip_address() const { return remote_ip_address_; } 93 void set_remote_ip_address(const IPAddress& remote_ip_address) { 115 IPAddress local_ip_address_; 117 IPAddress remote_ip_address_;
|
routing_table_unittest.cc | 219 IPAddress(arg->family(), 223 (arg->HasAttribute(RTA_SRC) && IPAddress(arg->family(), 227 (arg->HasAttribute(RTA_GATEWAY) && IPAddress(arg->family(), 293 IPAddress default_address(IPAddress::kFamilyIPv4); 296 IPAddress gateway_address0(IPAddress::kFamilyIPv4); 339 IPAddress gateway_address1(IPAddress::kFamilyIPv4); 390 IPAddress::kFamilyIPv4 [all...] |
/external/dhcpcd-6.8.2/ |
dhcpcd-embedded.c | 37 "define 1 request ipaddress subnet_mask", 40 "define 33 request array ipaddress static_routes", 41 "define 3 request array ipaddress routers", 43 "define 4 array ipaddress time_servers", 44 "define 5 array ipaddress ien116_name_servers", 45 "define 6 array ipaddress domain_name_servers", 46 "define 7 array ipaddress log_servers", 47 "define 8 array ipaddress cookie_servers", 48 "define 9 array ipaddress lpr_servers", 49 "define 10 array ipaddress impress_servers" [all...] |
dhcpcd-definitions.conf | 11 define 1 request ipaddress subnet_mask 18 define 33 request array ipaddress static_routes 19 define 3 request array ipaddress routers 21 define 4 array ipaddress time_servers 22 define 5 array ipaddress ien116_name_servers 23 define 6 array ipaddress domain_name_servers 24 define 7 array ipaddress log_servers 25 define 8 array ipaddress cookie_servers 26 define 9 array ipaddress lpr_servers 27 define 10 array ipaddress impress_server [all...] |
/external/avahi/avahi-sharp/en/Avahi/ |
HostAddressArgs.xml | 13 <MemberSignature Language="C#" Value="public HostAddressArgs (string host, System.Net.IPAddress address);" /> 17 <Parameter Name="address" Type="System.Net.IPAddress" /> 39 <MemberSignature Language="C#" Value="public System.Net.IPAddress Address { get; };" /> 42 <ReturnType>System.Net.IPAddress</ReturnType>
|
/frameworks/base/core/java/android/net/ |
StaticIpConfiguration.java | 49 public LinkAddress ipAddress; 62 ipAddress = source.ipAddress; 70 ipAddress = null; 85 if (ipAddress != null) { 86 RouteInfo connectedRoute = new RouteInfo(ipAddress, null, iface); 107 if (ipAddress != null) { 108 lp.addLinkAddress(ipAddress); 124 if (ipAddress != null ) str.append(ipAddress).append(" ") [all...] |