Home
last modified time | relevance | path

Searched refs:networkInterface (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelMulticastTest.java232 NetworkInterface networkInterface, ProtocolFamily protocolFamily) throws Exception { in check_joinAnySource() argument
239 receiverChannel.join(group, networkInterface); in check_joinAnySource()
242 …createChannelAndSendMulticastMessage(group, localAddress.getPort(), msg, networkInterface, protoco… in check_joinAnySource()
252 group2, localAddress.getPort(), msg2, networkInterface, protocolFamily); in check_joinAnySource()
418 NetworkInterface networkInterface) throws Exception { in check_joinAnySource_multiple_joins() argument
424 MembershipKey membershipKey1 = dc.join(group, networkInterface); in check_joinAnySource_multiple_joins()
429 MembershipKey membershipKey1_2 = dc.join(group, networkInterface); in check_joinAnySource_multiple_joins()
444 NetworkInterface networkInterface, ProtocolFamily protocolFamily) throws Exception { in check_joinAnySource_multicastLoopOption() argument
452 dc.setOption(StandardSocketOptions.IP_MULTICAST_IF, networkInterface); in check_joinAnySource_multicastLoopOption()
454 dc.join(group, networkInterface); in check_joinAnySource_multicastLoopOption()
[all …]
DDatagramChannelTest.java301 NetworkInterface networkInterface = networkInterfaces.nextElement(); in getNonLoopbackNetworkInterfaceAddress() local
302 if (networkInterface.isLoopback() || !networkInterface.isUp()) { in getNonLoopbackNetworkInterfaceAddress()
305 Enumeration<InetAddress> inetAddresses = networkInterface.getInetAddresses(); in getNonLoopbackNetworkInterfaceAddress()
DMembershipKeyTest.java122 assertEquals(NETWORK_INTERFACE, key.networkInterface()); in test_networkInterface()
124 assertEquals(NETWORK_INTERFACE, key.networkInterface()); in test_networkInterface()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DMulticastSocketTest.java327 NetworkInterface networkInterface, InetAddress group, InetAddress group2) in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface() argument
332 if (networkInterface != null) { in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
333 sendingSocket.setNetworkInterface(networkInterface); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
341 receivingSocket.joinGroup(groupAddress, networkInterface); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
357 if (networkInterface != null) { in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
358 sendingSocket.setNetworkInterface(networkInterface); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
365 receivingSocket.joinGroup(groupAddress, networkInterface); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
470 NetworkInterface networkInterface, InetAddress group) throws Exception { in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface_multiple_joins() argument
475 mss.joinGroup(groupSockAddr, networkInterface); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface_multiple_joins()
478 mss.joinGroup(groupSockAddr, networkInterface); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface_multiple_joins()
[all …]
DInetAddressTest.java372 NetworkInterface networkInterface = networkInterfaces.nextElement(); in test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface() local
373 Enumeration<InetAddress> addresses = networkInterface.getInetAddresses(); in test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface()
377 loopbackInterface = networkInterface; in test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface()
/libcore/ojluni/src/main/java/java/net/
DPlainDatagramSocketImpl.java175 NetworkInterface networkInterface) { in makeGroupReq() argument
176 int gr_interface = (networkInterface != null) ? networkInterface.getIndex() : 0; in makeGroupReq()
DAbstractPlainDatagramSocketImpl.java402 NetworkInterface networkInterface = NetworkInterface.getByIndex(niIndex); in getNIFirstAddress() local
403 Enumeration<InetAddress> addressesEnum = networkInterface.getInetAddresses(); in getNIFirstAddress()
/libcore/ojluni/src/main/java/java/nio/channels/
DMembershipKey.java167 public abstract NetworkInterface networkInterface(); in networkInterface() method in MembershipKey
/libcore/ojluni/src/main/java/sun/nio/ch/
DMembershipRegistry.java62 if (key.networkInterface().equals(interf)) { in checkMembership()
DMembershipKeyImpl.java161 public NetworkInterface networkInterface() { in networkInterface() method in MembershipKeyImpl
/libcore/api/
Dcurrent.txt6833 method public abstract java.net.NetworkInterface networkInterface();