/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);
|
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...] |
/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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/GetNetByAddr/ |
GetNetByAddr.c | 43 UINT8 IpAddress[4];
66 IpAddress[0] = (UINT8)RemoteAddress[0];
67 IpAddress[1] = (UINT8)RemoteAddress[1];
68 IpAddress[2] = (UINT8)RemoteAddress[2];
69 IpAddress[3] = (UINT8)RemoteAddress[3];
70 pNetwork = getnetbyaddr ( *(uint32_t *)&IpAddress[0], AF_INET );
77 IpAddress[0],
78 IpAddress[1],
79 IpAddress[2],
80 IpAddress[3], [all...] |
/frameworks/base/core/java/android/app/admin/ |
ConnectEvent.java | 35 private final String ipAddress; 41 public ConnectEvent(String ipAddress, int port, String packageName, long timestamp) { 43 this.ipAddress = ipAddress; 48 this.ipAddress = in.readString(); 56 // ipAddress is already an address, not a host name, no DNS resolution will happen. 57 return InetAddress.getByName(ipAddress); 70 return String.format("ConnectEvent(%s, %d, %d, %s)", ipAddress, port, timestamp, 99 out.writeString(ipAddress);
|
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/ulp_components/ |
IPAddress.java | 43 public class IPAddress extends Asn1Choice { 61 "IPAddress: " + tag + " maps to both " + select0 + " and " + select); 67 public IPAddress() { 91 * Creates a new IPAddress from encoded stream. 93 public static IPAddress fromPerUnaligned(byte[] encodedBytes) { 94 IPAddress result = new IPAddress(); 100 * Creates a new IPAddress from encoded stream. 102 public static IPAddress fromPerAligned(byte[] encodedBytes) { 103 IPAddress result = new IPAddress() [all...] |
/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...] |
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();
|
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/ |
ip.py | 15 import ipaddress 42 where address is a ipaddress.IPv4Interface and broadcast 43 is an ipaddress.IPv4Address. 62 address = ipaddress.IPv4Interface(d['address']) 63 bcast = ipaddress.IPv4Address(d['bcast']) 69 address = ipaddress.IPv4Interface(d['address']) 78 address: ipaddress.IPv4Interface, The new ipaddress and netmask 80 broadcast: ipaddress.IPv4Address, The broadcast address to use for 98 address: ipaddress.IPv4Interface or ipaddress.IPv4Address [all...] |
route.py | 15 import ipaddress 51 address: ipaddress.IPv4Address, ipaddress.IPv4Network, 82 it will be a ipaddress.IPv4Network otherwise it is a 83 ipaddress.IPv4Address. 118 address = ipaddress.IPv4Address(d['address']) 119 except ipaddress.AddressValueError: 120 address = ipaddress.IPv4Network(d['address']) 141 address: ipaddress.IPv4Address, ipaddress.IPv4Network [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/ |
HttpDns.h | 23 @param[out] IpAddress On output, pointer to buffer containing IPv4 address.
35 OUT EFI_IPv4_ADDRESS *IpAddress
43 @param[out] IpAddress On output, pointer to buffer containing IPv6 address.
55 OUT EFI_IPv6_ADDRESS *IpAddress
|
/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
|
/external/autotest/frontend/client/src/autotest/moblab/rpc/ |
ConnectedDutInfo.java | 33 for (String ipAddress : configuredDuts.keySet()) { 34 configuredIpsToLabels.put(ipAddress, configuredDuts.get(ipAddress).isString().stringValue());
|
/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/ojluni/src/main/java/java/net/ |
Inet6Address.java | 192 ipaddress = new byte[INADDRSZ]; 196 byte[] ipaddress, int scope_id, boolean scope_id_set, 199 this.ipaddress = ipaddress; 209 byte[] ipaddress; field in class:Inet6Address.Inet6AddressHolder 238 System.arraycopy(addr, 0, ipaddress, 0, INADDRSZ); 258 this.scope_id = deriveNumericScope(ipaddress, nif); 268 String s = numericToTextFormat(ipaddress); 284 return Arrays.equals(this.ipaddress, that.ipaddress); [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);
|