Searched refs:interfaceName (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/main/java/java/net/ |
D | NetworkInterface.java | 104 public static NetworkInterface getByName(String interfaceName) throws SocketException { in getByName() argument 105 if (interfaceName == null) { in getByName() 108 if (!isValidInterfaceName(interfaceName)) { in getByName() 112 return getByNameInternal(interfaceName, readIfInet6Lines()); in getByName() 119 private static NetworkInterface getByNameInternal(String interfaceName, in getByNameInternal() argument 121 int interfaceIndex = readIntFile("/sys/class/net/" + interfaceName + "/ifindex"); in getByNameInternal() 125 collectIpv6Addresses(interfaceName, interfaceIndex, addresses, interfaceAddresses, in getByNameInternal() 127 collectIpv4Address(interfaceName, addresses, interfaceAddresses); in getByNameInternal() 129 return new NetworkInterface(interfaceName, interfaceIndex, addresses, interfaceAddresses); in getByNameInternal() 145 public static void collectIpv6Addresses(String interfaceName, int interfaceIndex, in collectIpv6Addresses() argument [all …]
|
/libcore/luni/src/main/java/libcore/io/ |
D | ForwardingOs.java | 98 …eDescriptor fd, int cmd, String interfaceName) throws ErrnoException { return os.ioctlInetAddress(… in ioctlInetAddress() argument
|
D | Os.java | 90 …public InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throws Errno… in ioctlInetAddress() argument
|
D | Posix.java | 92 …public native InetAddress ioctlInetAddress(FileDescriptor fd, int cmd, String interfaceName) throw… in ioctlInetAddress() argument
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 219 …criptor fd, int cmd, String interfaceName) throws ErrnoException { return Libcore.os.ioctlInetAddr… in ioctlInetAddress() argument
|
/libcore/luni/src/main/native/ |
D | libcore_io_Posix.cpp | 362 ScopedUtfChars interfaceName(env, javaInterfaceName); in fillIfreq() local 363 if (interfaceName.c_str() == NULL) { in fillIfreq() 367 strncpy(req.ifr_name, interfaceName.c_str(), sizeof(req.ifr_name)); in fillIfreq()
|