Searched refs:interfaceName (Results 1 - 6 of 6) sorted by relevance
/libcore/luni/src/main/java/java/net/ |
H A D | NetworkInterface.java | 102 * @throws NullPointerException if {@code interfaceName == null}. 104 public static NetworkInterface getByName(String interfaceName) throws SocketException { argument 105 if (interfaceName == null) { 106 throw new NullPointerException("interfaceName == null"); 108 if (!isValidInterfaceName(interfaceName)) { 112 return getByNameInternal(interfaceName, readIfInet6Lines()); 116 * Similar to {@link #getByName(String)} except that {@code interfaceName} 119 private static NetworkInterface getByNameInternal(String interfaceName, argument 121 int interfaceIndex = readIntFile("/sys/class/net/" + interfaceName + "/ifindex"); 125 collectIpv6Addresses(interfaceName, interfaceInde 145 collectIpv6Addresses(String interfaceName, int interfaceIndex, List<InetAddress> addresses, List<InterfaceAddress> interfaceAddresses, String[] ifInet6Lines) argument 189 collectIpv4Address(String interfaceName, List<InetAddress> addresses, List<InterfaceAddress> interfaceAddresses) argument 218 isValidInterfaceName(String interfaceName) argument [all...] |
/libcore/luni/src/main/java/android/system/ |
H A D | Os.java | 219 /** @hide */ public static InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException { return Libcore.os.ioctlInetAddress(fd, cmd, interfaceName); } argument
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | ForwardingOs.java | 98 public InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException { return os.ioctlInetAddress(fd, cmd, interfaceName); } argument
|
H A D | Os.java | 90 public InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException; argument
|
H A D | Posix.java | 92 public native InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws ErrnoException; argument
|
/libcore/luni/src/main/native/ |
H A D | libcore_io_Posix.cpp | 362 ScopedUtfChars interfaceName(env, javaInterfaceName); 363 if (interfaceName.c_str() == NULL) { 367 strncpy(req.ifr_name, interfaceName.c_str(), sizeof(req.ifr_name));
|
Completed in 105 milliseconds