Searched refs:netIf (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/java/net/ |
D | MulticastSocket.java | 387 public void joinGroup(SocketAddress mcastaddr, NetworkInterface netIf) in joinGroup() argument 408 getImpl().joinGroup(mcastaddr, netIf); in joinGroup() 434 public void leaveGroup(SocketAddress mcastaddr, NetworkInterface netIf) in leaveGroup() argument 455 getImpl().leaveGroup(mcastaddr, netIf); in leaveGroup() 552 public void setNetworkInterface(NetworkInterface netIf) in setNetworkInterface() argument 556 getImpl().setOption(SocketOptions.IP_MULTICAST_IF2, netIf); in setNetworkInterface()
|
D | AbstractPlainDatagramSocketImpl.java | 219 protected void joinGroup(SocketAddress mcastaddr, NetworkInterface netIf) in joinGroup() argument 223 join(((InetSocketAddress)mcastaddr).getAddress(), netIf); in joinGroup() local 226 protected abstract void join(InetAddress inetaddr, NetworkInterface netIf) in join() argument 237 protected void leaveGroup(SocketAddress mcastaddr, NetworkInterface netIf) in leaveGroup() argument 241 leave(((InetSocketAddress)mcastaddr).getAddress(), netIf); in leaveGroup() local 244 protected abstract void leave(InetAddress inetaddr, NetworkInterface netIf) in leave() argument
|
D | PlainDatagramSocketImpl.java | 180 protected void join(InetAddress inetaddr, NetworkInterface netIf) throws IOException { in join() argument 185 IoBridge.setSocketOption(fd, JAVA_MCAST_JOIN_GROUP, makeGroupReq(inetaddr, netIf)); in join() 188 protected void leave(InetAddress inetaddr, NetworkInterface netIf) in leave() argument 194 IoBridge.setSocketOption(fd, JAVA_MCAST_LEAVE_GROUP, makeGroupReq(inetaddr, netIf)); in leave()
|
D | DatagramSocketImpl.java | 228 NetworkInterface netIf) in joinGroup() argument 240 NetworkInterface netIf) in leaveGroup() argument
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | InetAddressTest.java | 269 final NetworkInterface netIf = NetworkInterface.getByName("fake0"); in test_isReachable_neverThrows() local 270 if (netIf == null) { in test_isReachable_neverThrows() 275 assertFalse(inetAddress.isReachable(netIf, 256, 500)); in test_isReachable_neverThrows()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | DatagramSocketAdaptor.java | 405 NetworkInterface netIf) throws IOException {} 408 NetworkInterface netIf) throws IOException {}
|