Searched defs:networkInterface (Results 1 - 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DMulticastSocket.java274 NetworkInterface networkInterface = NetworkInterface.getByInetAddress(address);
275 if (networkInterface == null) {
278 impl.setOption(SocketOptions.IP_MULTICAST_IF2, networkInterface.getIndex());
284 * {@code networkInterface}.
288 public void setNetworkInterface(NetworkInterface networkInterface) throws SocketException { argument
290 if (networkInterface == null) {
291 throw new SocketException("networkInterface == null");
294 impl.setOption(SocketOptions.IP_MULTICAST_IF2, networkInterface.getIndex());
H A DPlainDatagramSocketImpl.java119 private static StructGroupReq makeGroupReq(InetAddress gr_group, NetworkInterface networkInterface) { argument
120 int gr_interface = (networkInterface != null) ? networkInterface.getIndex() : 0;
H A DInetAddress.java660 * @param networkInterface
675 public boolean isReachable(NetworkInterface networkInterface, final int ttl, final int timeout) throws IOException { argument
681 if (networkInterface == null) {
687 List<InetAddress> sourceAddresses = Collections.list(networkInterface.getInetAddresses());

Completed in 76 milliseconds