Package jpcap

Class NetworkInterfaceAddress

java.lang.Object
jpcap.NetworkInterfaceAddress

public class NetworkInterfaceAddress extends Object
This class represents a network address assigned to a network interface.
Author:
kfujii
  • Field Details

    • address

      public InetAddress address
      Address of the network interface
    • subnet

      public InetAddress subnet
      Subnet mask of the network interface
    • broadcast

      public InetAddress broadcast
      Broadcast address of the network interface. May be null.
    • destination

      public InetAddress destination
      Destination address of the network interface (for P2P connection). May be null.
  • Constructor Details

    • NetworkInterfaceAddress

      public NetworkInterfaceAddress(byte[] address, byte[] subnet, byte[] broadcast, byte[] destination)