Package jpcap

Class NetworkInterface

java.lang.Object
jpcap.NetworkInterface

public class NetworkInterface extends Object
This class represents a network interface.
Author:
kfujii
  • Field Details

    • name

      public String name
      Name of the network interface
    • description

      public String description
      Description about the network interface (e.g., "3Com ..."). May be null.
    • loopback

      public boolean loopback
      TRUE if this is a loopback interface
    • mac_address

      public byte[] mac_address
      Ethernet MAC address of the network interface
    • addresses

      public NetworkInterfaceAddress[] addresses
      Network addresses assigned the network interface. May be null if it is a non-IP (e.g. NetBios) address.
  • Constructor Details