Searched refs:niIndex (Results 1 – 2 of 2) sorted by relevance
400 static InetAddress getNIFirstAddress(int niIndex) throws SocketException { in getNIFirstAddress() argument401 if (niIndex > 0) { in getNIFirstAddress()402 NetworkInterface networkInterface = NetworkInterface.getByIndex(niIndex); in getNIFirstAddress()
580 Integer niIndex in getNetworkInterface() local582 if (niIndex == 0) { in getNetworkInterface()587 return NetworkInterface.getByIndex(niIndex); in getNetworkInterface()