Package jpcap
Class NetworkInterfaceAddress
- java.lang.Object
-
- jpcap.NetworkInterfaceAddress
-
public class NetworkInterfaceAddress extends java.lang.ObjectThis class represents a network address assigned to a network interface.- Author:
- kfujii
-
-
Field Summary
Fields Modifier and Type Field Description java.net.InetAddressaddressAddress of the network interfacejava.net.InetAddressbroadcastBroadcast address of the network interface.java.net.InetAddressdestinationDestination address of the network interface (for P2P connection).java.net.InetAddresssubnetSubnet mask of the network interface
-
Constructor Summary
Constructors Constructor Description NetworkInterfaceAddress(byte[] address, byte[] subnet, byte[] broadcast, byte[] destination)
-
-
-
Field Detail
-
address
public java.net.InetAddress address
Address of the network interface
-
subnet
public java.net.InetAddress subnet
Subnet mask of the network interface
-
broadcast
public java.net.InetAddress broadcast
Broadcast address of the network interface. May be null.
-
destination
public java.net.InetAddress destination
Destination address of the network interface (for P2P connection). May be null.
-
-