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()
573 Integer niIndex in getNetworkInterface() local575 if (niIndex == 0) { in getNetworkInterface()580 return NetworkInterface.getByIndex(niIndex); in getNetworkInterface()