Package jpcap
Class NetworkInterfaceAddress
- java.lang.Object
-
- jpcap.NetworkInterfaceAddress
-
public class NetworkInterfaceAddress extends java.lang.Object
This class represents a network address assigned to a network interface.- Author:
- kfujii
-
-
Field Summary
Fields Modifier and Type Field Description java.net.InetAddress
address
Address of the network interfacejava.net.InetAddress
broadcast
Broadcast address of the network interface.java.net.InetAddress
destination
Destination address of the network interface (for P2P connection).java.net.InetAddress
subnet
Subnet 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.
-
-