Searched refs:theInterface (Results 1 – 3 of 3) sorted by relevance
128 NetworkInterface theInterface = null; in setUp() local131 theInterface = netifs.nextElement(); in setUp()132 if (theInterface != null) { in setUp()133 List<InterfaceAddress> addrs = theInterface in setUp()145 if (theInterface != null && interfaceAddr != null) { in setUp()146 Enumeration<InetAddress> addresses = theInterface in setUp()
449 NetworkInterface theInterface = (NetworkInterface) theInterfaces in setUp() local451 if (theInterface.getInetAddresses().hasMoreElements()) { in setUp()454 Enumeration addrs = theInterface.getInetAddresses(); in setUp()457 networkInterface1 = theInterface; in setUp()464 NetworkInterface theInterface = (NetworkInterface) theInterfaces in setUp() local466 if (theInterface.getInetAddresses().hasMoreElements()) { in setUp()469 Enumeration addrs = theInterface.getInetAddresses(); in setUp()472 networkInterface2 = theInterface; in setUp()
171 NetworkInterface theInterface = mss.getNetworkInterface(); in getNetworkInterface() local173 "network interface returned wrong network interface when not set:" + theInterface, in getNetworkInterface()174 theInterface.getInetAddresses().hasMoreElements()); in getNetworkInterface()175 InetAddress firstAddress = theInterface.getInetAddresses().nextElement(); in getNetworkInterface()635 InetAddress theInterface = mss.getInterface(); in setInterfaceLjava_net_InetAddress() local638 if (theInterface instanceof Inet6Address) { in setInterfaceLjava_net_InetAddress()641 NetworkInterface.getByInetAddress(theInterface)); in setInterfaceLjava_net_InetAddress()