HomeSort by relevance Sort by last modified time
    Searched refs:netIf (Results 1 - 8 of 8) sorted by null

  /libcore/ojluni/src/main/java/java/net/
AbstractPlainDatagramSocketImpl.java 191 * @param netIf specifies the local interface to receive multicast
198 protected void joinGroup(SocketAddress mcastaddr, NetworkInterface netIf)
202 join(((InetSocketAddress)mcastaddr).getAddress(), netIf);
205 protected abstract void join(InetAddress inetaddr, NetworkInterface netIf)
211 * @param netIf specified the local interface to leave the group at
216 protected void leaveGroup(SocketAddress mcastaddr, NetworkInterface netIf)
220 leave(((InetSocketAddress)mcastaddr).getAddress(), netIf);
223 protected abstract void leave(InetAddress inetaddr, NetworkInterface netIf)
MulticastSocket.java 370 * @param netIf specifies the local interface to receive multicast
385 public void joinGroup(SocketAddress mcastaddr, NetworkInterface netIf)
406 getImpl().joinGroup(mcastaddr, netIf);
418 * @param netIf specifies the local interface or <i>null</i> to defer
432 public void leaveGroup(SocketAddress mcastaddr, NetworkInterface netIf)
453 getImpl().leaveGroup(mcastaddr, netIf);
544 * @param netIf the interface
550 public void setNetworkInterface(NetworkInterface netIf)
554 getImpl().setOption(SocketOptions.IP_MULTICAST_IF2, netIf);
DatagramSocketImpl.java 221 * @param netIf specifies the local interface to receive multicast
228 NetworkInterface netIf)
234 * @param netIf specified the local interface to leave the group at
240 NetworkInterface netIf)
PlainDatagramSocketImpl.java 178 protected void join(InetAddress inetaddr, NetworkInterface netIf) throws IOException {
183 IoBridge.setSocketOption(fd, JAVA_MCAST_JOIN_GROUP, makeGroupReq(inetaddr, netIf));
186 protected void leave(InetAddress inetaddr, NetworkInterface netIf)
192 IoBridge.setSocketOption(fd, JAVA_MCAST_LEAVE_GROUP, makeGroupReq(inetaddr, netIf));
  /libcore/luni/src/test/java/libcore/java/net/
InetAddressTest.java 254 final NetworkInterface netIf = NetworkInterface.getByName("dummy0");
255 if (netIf == null) {
260 assertFalse(inetAddress.isReachable(netIf, 256, 500));
  /libcore/ojluni/src/main/java/sun/nio/ch/
DatagramSocketAdaptor.java 407 NetworkInterface netIf) throws IOException {}
410 NetworkInterface netIf) throws IOException {}
  /frameworks/base/services/net/java/android/net/ip/
IpReachabilityMonitor.java 233 NetworkInterface netIf = NetworkInterface.getByName(ifName);
234 mInterfaceIndex = netIf.getIndex();
  /prebuilts/sdk/24/
android.jar 

Completed in 5684 milliseconds