/libcore/luni/src/main/java/java/net/ |
Inet4Address.java | 51 Inet4Address(byte[] ipaddress, String hostName) { 52 super(AF_INET, ipaddress, hostName); 56 return ipaddress[0] == 0 && ipaddress[1] == 0 && ipaddress[2] == 0 && ipaddress[3] == 0; // 0.0.0.0 61 return ((ipaddress[0] & 0xff) == 169) && ((ipaddress[1] & 0xff) == 254); // 169.254/16 65 return ((ipaddress[0] & 0xff) == 127); // 127/8 74 int address = Memory.peekInt(ipaddress, 0, ByteOrder.BIG_ENDIAN) [all...] |
Inet6Address.java | 65 Inet6Address(byte[] ipaddress, String hostName, int scope_id) { 66 super(AF_INET6, ipaddress, hostName); 173 return Arrays.equals(ipaddress, Inet6Address.ANY.ipaddress); 183 if (ipaddress[i] != 0) { 191 return ((ipaddress[0] & 0xff) == 0xfe) && ((ipaddress[1] & 0xc0) == 0x80); // fe80:/10 195 return Arrays.equals(ipaddress, Inet6Address.LOOPBACK.ipaddress); 199 return ((ipaddress[0] & 0xff) == 0xff) && ((ipaddress[1] & 0x0f) == 0x0e); // ffxe:/1 [all...] |
InetAddress.java | 140 byte[] ipaddress; field in class:InetAddress 155 InetAddress(int family, byte[] ipaddress, String hostName) { 157 this.ipaddress = ipaddress; 175 return Arrays.equals(this.ipaddress, ((InetAddress) obj).ipaddress); 186 return ipaddress.clone(); 381 return Arrays.hashCode(ipaddress); 443 return makeInetAddress(address.ipaddress.clone(), hostname); 745 * Equivalent to {@code getByAddress(null, ipAddress)}. Handy for addresses wit [all...] |
/frameworks/base/core/java/android/net/ |
DhcpInfo.java | 27 public int ipAddress; 44 ipAddress = source.ipAddress; 57 str.append("ipaddr "); putAddress(str, ipAddress); 79 dest.writeInt(ipAddress); 93 info.ipAddress = in.readInt();
|
DhcpInfoInternal.java | 36 public String ipAddress; 73 info.ipAddress = convertToInt(ipAddress); 81 InetAddress inetAddress = NetworkUtils.numericToInetAddress(ipAddress); 92 if (TextUtils.isEmpty(ipAddress)) { 93 Log.e(TAG, "makeLinkAddress with empty ipAddress"); 96 return new LinkAddress(NetworkUtils.numericToInetAddress(ipAddress), prefixLength); 144 return "addr: " + ipAddress + "/" + prefixLength +
|
/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...] |
UDPMessageProcessor.java | 97 protected UDPMessageProcessor(InetAddress ipAddress, 99 super(ipAddress, port, "udp",sipStack); 108 ipAddress); 120 if ( ipAddress.getHostAddress().equals(IN_ADDR_ANY) || 121 ipAddress.getHostAddress().equals(IN6_ADDR_ANY)){
|
TLSMessageProcessor.java | 84 * @param ipAddress -- inet address where I am listening. 88 protected TLSMessageProcessor(InetAddress ipAddress, SIPTransactionStack sipStack, int port) { 89 super(ipAddress, port, "tls",sipStack);
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
SubjectAlternativeNameTest.java | 45 byte[] ipAddress = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 }; 46 String decoded = formatIpAddress(ipAddress); 50 private String formatIpAddress(byte[] ipAddress) throws Exception { 52 .addSubjectAltNameIpAddress(ipAddress) 60 assertEquals(GeneralName.iPAddress, subjectAlternativeName.get(0));
|
X509CertSelectorTest.java | 33 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "127.0.0.1"); 44 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "::ffff:127.0.0.1"); 56 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "::1"); 68 certSelector.addPathToName(GeneralName.iPAddress, "127.0.0.1"); 85 certSelector.addPathToName(GeneralName.iPAddress, "1::1"); 105 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "1::x"); 110 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "127.0.0.x"); 116 private X509Certificate newCertWithSubjectAltNameIpAddress(byte[] ipAddress) throws Exception { 118 .addSubjectAltNameIpAddress(ipAddress)
|
/external/nist-sip/java/javax/sip/ |
SipStack.java | 14 ListeningPoint createListeningPoint(String ipAddress, int port,
|
/external/dhcpcd/dhcpcd-hooks/ |
95-configured | 10 setprop dhcp.${interface}.ipaddress "${new_ip_address}"
|
/external/iproute2/ip/ |
Android.mk | 4 LOCAL_SRC_FILES := ip.c ipaddress.c ipaddrlabel.c iproute.c iprule.c \
|
Makefile | 1 IPOBJ=ip.o ipaddress.o ipaddrlabel.o iproute.o iprule.o \
|
/external/nist-sip/java/gov/nist/javax/sip/ |
ListeningPointExt.java | 29 public void sendHeartbeat(String ipAddress, int port) throws IOException ;
|
ListeningPointImpl.java | 227 String ipAddress = this.getIPAddress(); 230 sipURI.setHost(ipAddress); 246 public void sendHeartbeat(String ipAddress, int port) throws IOException { 249 targetHostPort.setHost(new Host( ipAddress));
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
GeneralName.java | 19 import org.bouncycastle.util.IPAddress; 32 * iPAddress [7] OCTET STRING, 57 public static final int iPAddress = 7; 105 * When the subjectAltName extension contains a iPAddress, the address 128 * <li>iPAddress 163 else if (tag == iPAddress) 210 case iPAddress: 273 if (IPAddress.isValidIPv6WithNetmask(ip) || IPAddress.isValidIPv6(ip)) 304 else if (IPAddress.isValidIPv4WithNetmask(ip) || IPAddress.isValidIPv4(ip) [all...] |
/external/ipsec-tools/src/libipsec/ |
policy_parse.h | 52 IPADDRESS = 268, 71 #define IPADDRESS 268
|
policy_token.l | 95 ipaddress [a-zA-Z0-9:\._][a-zA-Z0-9:\._]*(%[a-zA-Z0-9]+)? 148 {ipaddress} { 151 return(IPADDRESS);
|
policy_parse.y | 142 %token ACTION PROTOCOL MODE LEVEL LEVEL_SPECIFY IPADDRESS PORT 146 %type <val> IPADDRESS LEVEL_SPECIFY PORT 323 : IPADDRESS { 329 IPADDRESS { 334 | IPADDRESS PORT { 340 IPADDRESS PORT {
|
/external/netperf/ |
nettest_sctp.h | 33 int ipfamily; /* address family of ipaddress */ 79 int ipfamily; /* address family of ipaddress */
|
/frameworks/base/core/jni/ |
android_net_NetUtils.cpp | 65 jfieldID ipaddress; member in struct:android::fieldIds 133 env->SetObjectField(info, dhcpInfoInternalFieldIds.ipaddress, env->NewStringUTF(ipaddr)); 227 dhcpInfoInternalFieldIds.ipaddress = env->GetFieldID(dhcpInfoInternalClass, "ipAddress", "Ljava/lang/String;");
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
AdvancedWifiSettings.java | 190 String ipAddress = Utils.getWifiIpAddresses(getActivity()); 191 wifiIpAddressPref.setSummary(ipAddress == null ? 192 getActivity().getString(R.string.status_unavailable) : ipAddress);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
InetAddressTest.java | 277 byte ipAddress[] = { 127, 0, 0, 1 }; 280 InetAddress addr = InetAddress.getByAddress(addressStr, ipAddress); 281 addr = InetAddress.getByAddress(ipAddress); 284 + ipAddress.length); 292 addr = InetAddress.getByAddress(ipAddress); 295 + ipAddress.length);
|
/cts/tests/tests/net/src/android/net/cts/ |
DhcpInfoTest.java | 61 dhcpInfo.ipAddress = ipToInteger(STR_ADDR1);
|