Class LinuxNetworkIFJNA

All Implemented Interfaces:
NetworkIF

@ThreadSafe public final class LinuxNetworkIFJNA extends LinuxNetworkIF
JNA-based Linux network interface implementation.
  • Method Details

    • getNetworks

      public static List<NetworkIF> getNetworks(boolean includeLocalInterfaces)
      Gets network interfaces on this machine
      Parameters:
      includeLocalInterfaces - include local interfaces in the result
      Returns:
      A list of NetworkIF objects representing the interfaces