/system/connectivity/shill/net/ |
mock_rtnl_handler.h | 42 const IPAddress& local, 43 const IPAddress& broadcast, 44 const IPAddress& peer)); 46 const IPAddress& local));
|
/external/webrtc/webrtc/base/ |
socketaddress_unittest.cc | 17 #include "webrtc/base/ipaddress.h" 39 EXPECT_EQ(IPAddress(), addr.ipaddr()); 45 SocketAddress addr(IPAddress(0x01020304), 5678); 47 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 56 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 64 IPAddress tocheck(kTestV6Addr); 77 EXPECT_EQ(IPAddress(0xFFFFFFFFU), addr.ipaddr()); 86 EXPECT_EQ(IPAddress(), addr.ipaddr()); 96 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 104 SocketAddress addr(IPAddress(0x88888888), 9999) [all...] |
socketaddress.cc | 51 SetIP(IPAddress(ip_as_host_order_integer)); 55 SocketAddress::SocketAddress(const IPAddress& ip, int port) { 67 ip_ = IPAddress(); 92 ip_ = IPAddress(ip_as_host_order_integer); 96 void SocketAddress::SetIP(const IPAddress& ip) { 107 ip_ = IPAddress(); 113 ip_ = IPAddress(ip_as_host_order_integer); 117 void SocketAddress::SetResolvedIP(const IPAddress& ip) { 131 const IPAddress& SocketAddress::ipaddr() const { 282 IPAddress ip [all...] |
network_unittest.cc | 105 IPAddress ip; 154 IPAddress(0x12345600U), 24); 157 EXPECT_EQ(IPAddress(0x12345600U), ipv4_network1.prefix()); 164 IPAddress(0x12345600U), 24, ADAPTER_TYPE_ETHERNET); 166 IPAddress(0x010000U), 24, ADAPTER_TYPE_ETHERNET); 175 IPAddress(0x12345600U), 24); 177 IPAddress(0x12345600U), 24); 199 IPAddress ip = (*it)->GetBestIP(); 261 IPAddress(0x12345600U), 24); 263 IPAddress(0x00010000U), 16) [all...] |
win32_unittest.cc | 44 WinPing::PingResult result = ping.Ping(IPAddress(INADDR_LOOPBACK), 20, 50, 1, 48 WinPing::PingResult v6result = ping.Ping(IPAddress(in6addr_loopback), 20, 55 IPAddress(INADDR_LOOPBACK), 0, 50, 1, false)); 57 IPAddress(INADDR_LOOPBACK), 20, 0, 1, false)); 59 IPAddress(INADDR_LOOPBACK), 20, 50, 0, false)); 63 IPAddress ipv6;
|
/frameworks/base/core/java/android/net/ |
DhcpInfo.java | 26 public int ipAddress; 42 ipAddress = source.ipAddress; 55 str.append("ipaddr "); putAddress(str, ipAddress); 77 dest.writeInt(ipAddress); 91 info.ipAddress = in.readInt();
|
/system/connectivity/shill/ |
mock_device_info.h | 33 class IPAddress; 55 const IPAddress& peer, 67 const IPAddress& excluded_address)); 70 const IPAddress& address)); 72 bool(int interface_index, IPAddress* address)); 75 std::vector<IPAddress>* address_list,
|
mock_ip_address_store.h | 32 MOCK_METHOD1(AddUnique, void(const IPAddress& ip)); 36 MOCK_METHOD0(GetRandomIP, IPAddress());
|
socket_info.cc | 22 const IPAddress& local_ip_address, 24 const IPAddress& remote_ip_address, 41 local_ip_address_(IPAddress::kFamilyUnknown), 43 remote_ip_address_(IPAddress::kFamilyUnknown),
|
socket_info_reader.cc | 95 IPAddress ip_address(IPAddress::kFamilyUnknown); 135 const string& input, IPAddress* ip_address, uint16_t* port) { 148 IPAddress* ip_address) { 153 IPAddress::Family family; 155 IPAddress::GetAddressLength(IPAddress::kFamilyIPv4)) { 156 family = IPAddress::kFamilyIPv4; 158 IPAddress::GetAddressLength(IPAddress::kFamilyIPv6)) [all...] |
connection_unittest.cc | 92 local_address_(IPAddress::kFamilyIPv4), 93 broadcast_address_(IPAddress::kFamilyIPv4), 94 gateway_address_(IPAddress::kFamilyIPv4), 95 default_address_(IPAddress::kFamilyIPv4), 96 local_ipv6_address_(IPAddress::kFamilyIPv6) {} 108 properties_.address_family = IPAddress::kFamilyIPv4; 113 ipv6_properties_.address_family = IPAddress::kFamilyIPv6; 145 const IPAddress trusted_ip, 146 const IPAddress gateway) { 150 const IPAddress& GetLocalAddress(ConnectionRefPtr connection) [all...] |
connection_diagnostics_unittest.cc | 61 const shill::IPAddress kIPv4LocalAddress("100.200.43.22"); 62 const shill::IPAddress kIPv4ServerAddress("8.8.8.8"); 63 const shill::IPAddress kIPv6ServerAddress("fe80::1aa9:5ff:7ebf:14c5"); 64 const shill::IPAddress kIPv4GatewayAddress("192.168.1.1"); 65 const shill::IPAddress kIPv6GatewayAddress("fee2::11b2:53f:13be:125e"); 160 ASSERT_EQ(IPAddress::kFamilyIPv4, kIPv4LocalAddress.family()); 161 ASSERT_EQ(IPAddress::kFamilyIPv4, kIPv4ServerAddress.family()); 162 ASSERT_EQ(IPAddress::kFamilyIPv4, kIPv4GatewayAddress.family()); 163 ASSERT_EQ(IPAddress::kFamilyIPv6, kIPv6ServerAddress.family()); 164 ASSERT_EQ(IPAddress::kFamilyIPv6, kIPv6GatewayAddress.family()) [all...] |
routing_table.cc | 117 IPAddress::Family family, 128 IPAddress::Family family, 131 << " family " << IPAddress::GetAddressFamilyName(family); 154 const IPAddress& gateway_address, 179 IPAddress default_address(gateway_address.family()); 199 IPAddress::Family address_family = ipconfig->properties().address_family; 207 IPAddress destination_address(address_family); 208 IPAddress source_address(address_family); // Left as default. 209 IPAddress gateway_address(address_family); 223 IPAddress::GetPrefixLengthFromMask(address_family, route.netmask)) [all...] |
mock_connection.h | 44 MOCK_METHOD1(RequestHostRoute, bool(const IPAddress& destination)); 47 MOCK_CONST_METHOD0(local, const IPAddress&()); 48 MOCK_CONST_METHOD0(gateway, const IPAddress&());
|
/external/avahi/avahi-sharp/ |
AddressResolver.cs | 38 private IPAddress address; 45 public IPAddress Address 50 public HostAddressArgs (string host, IPAddress address) 63 private IPAddress address; 67 private IPAddress currentAddress; 106 public IPAddress Address 116 public AddressResolver (Client client, IPAddress address) : this (client, -1, Protocol.Unspecified, 121 public AddressResolver (Client client, int iface, Protocol proto, IPAddress address, LookupFlags flags)
|
Utility.cs | 88 public static IntPtr AddressToPtr (IPAddress address) 98 public static IPAddress PtrToAddress (IntPtr ptr) 100 IPAddress address = null; 105 address = IPAddress.Parse (Utility.PtrToString (addrPtr));
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
MessageProcessor.java | 78 private InetAddress ipAddress; 109 * @param ipAddress -- ip address where I am listening for incoming requests. 113 protected MessageProcessor( InetAddress ipAddress, int port, String transport, 116 this.initialize(ipAddress, port, transactionStack); 127 public final void initialize( InetAddress ipAddress, int port, 131 this.savedIpAddress = ipAddress.getHostAddress(); 132 this.ipAddress = ipAddress; 135 this.sentByHostPort.setHost(new Host(ipAddress.getHostAddress())); 220 return this.ipAddress; [all...] |
/external/autotest/client/site_tests/network_WlanHasIP/ |
network_WlanHasIP.py | 34 ipaddress = socket.inet_ntoa(fcntl.ioctl( 40 ipaddress = None 42 return ipaddress
|
/frameworks/base/core/tests/coretests/src/android/net/ |
StaticIpConfigurationTest.java | 38 private static final InetAddress GATEWAY = IpAddress("192.0.2.1"); 39 private static final InetAddress OFFLINKGATEWAY = IpAddress("192.0.2.129"); 40 private static final InetAddress DNS1 = IpAddress("8.8.8.8"); 41 private static final InetAddress DNS2 = IpAddress("8.8.4.4"); 42 private static final InetAddress DNS3 = IpAddress("4.2.2.2"); 45 private static InetAddress IpAddress(String addr) { 50 assertNull(s.ipAddress); 70 s.ipAddress = ADDR; 106 s.ipAddress = ADDR; 130 s.ipAddress = new LinkAddress(DNS1, 32) [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
SubjectAlternativeNameTest.java | 47 byte[] ipAddress = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 }; 48 String decoded = formatIpAddress(ipAddress); 52 private String formatIpAddress(byte[] ipAddress) throws Exception { 54 .addSubjectAltNameIpAddress(ipAddress) 62 assertEquals(GeneralName.iPAddress, subjectAlternativeName.get(0));
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
dhcpssdk.h | 75 typedef DWORD (WINAPI *LPDHCP_NEWPKT)(LPBYTE *Packet,DWORD *PacketSize,DWORD IpAddress,LPVOID Reserved,LPVOID *PktContext,LPBOOL ProcessIt); 76 typedef DWORD (WINAPI *LPDHCP_DROP_SEND)(LPBYTE *Packet,DWORD *PacketSize,DWORD ControlCode,DWORD IpAddress,LPVOID Reserved,LPVOID PktContext); 77 typedef DWORD (WINAPI *LPDHCP_PROB)(LPBYTE Packet,DWORD PacketSize,DWORD ControlCode,DWORD IpAddress,DWORD AltAddress,LPVOID Reserved,LPVOID PktContext); 78 typedef DWORD (WINAPI *LPDHCP_GIVE_ADDRESS)(LPBYTE Packet,DWORD PacketSize,DWORD ControlCode,DWORD IpAddress,DWORD AltAddress,DWORD AddrType,DWORD LeaseTime,LPVOID Reserved,LPVOID PktContext); 80 typedef DWORD (WINAPI *LPDHCP_DELETE_CLIENT)(DWORD IpAddress,LPBYTE HwAddress,ULONG HwAddressLength,DWORD Reserved,DWORD ClientType);
|
/external/autotest/server/site_tests/network_StressServoEthernetPlug/ |
network_StressServoEthernetPlug.py | 14 ETH_IP = 'ipaddress' 66 'ipaddress': <ipaddress>, 82 ipaddress = None 84 ipaddress = result.groups()[0] 85 eth_dict[iface] = {self.ETH_MAC: hwaddr, self.ETH_IP: ipaddress}
|
/external/avahi/avahi-sharp/en/Avahi/ |
AddressResolver.xml | 17 <MemberSignature Language="C#" Value="public AddressResolver (Avahi.Client client, System.Net.IPAddress address);" /> 21 <Parameter Name="address" Type="System.Net.IPAddress" /> 65 <MemberSignature Language="C#" Value="public System.Net.IPAddress Address { get; };" /> 68 <ReturnType>System.Net.IPAddress</ReturnType> 89 <MemberSignature Language="C#" Value="public AddressResolver (Avahi.Client client, int iface, Avahi.Protocol proto, System.Net.IPAddress address, Avahi.LookupFlags flags);" /> 95 <Parameter Name="address" Type="System.Net.IPAddress" />
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/ipaddr/ |
ipaddr_test.py | 72 self.assertRaises(ValueError, ipaddr.IPAddress, ip_str) 176 v4addr = ipaddr.IPAddress('1.1.1.1') 178 v6addr = ipaddr.IPAddress('::1') 179 v6net = ipaddr.IPAddress('::1') 192 v4addr = ipaddr.IPAddress('1.1.1.1') 194 v6addr = ipaddr.IPAddress('::1') 478 ipaddr.IPAddress('1.1.1.1')) 480 ipaddr.IPAddress('1.1.1.1')) 482 ipaddr.IPAddress('1.1.1.1')) 487 ipaddr.IPAddress('::1') [all...] |
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpSessionHeadersTest.java | 61 for (String ipAddress : ipAddresses) { 62 InetAddress inetAddress = InetAddress.getByName(ipAddress); 64 assertEquals(ipAddress, session.getHeaders().get("remote-addr")); 65 assertEquals(ipAddress, session.getHeaders().get("http-client-ip"));
|