java.lang.Object
org.jnetpcap.PcapIf.PcapAddr<T>
- Type Parameters:
T
- the generic socket address subclass type
- Enclosing class:
PcapIf
The struct pcap_addr structure containing network interfaces/devices
addresses.
-
Method Summary
Modifier and TypeMethodDescriptionThe broadcast address corresponding tosocketAddress()
, if the interface supports broadcasts.The destination address corresponding tosocketAddress()
if the interface is a point-to-point interface.netmask()
The netmask corresponding tosocketAddress()
if the interface supports netmasks.A family specific socket address for this interface.toString()
String representation of the structure field values.
-
Method Details
-
broadcast
The broadcast address corresponding tosocketAddress()
, if the interface supports broadcasts.- Returns:
- optional broadcast address interface
-
destination
The destination address corresponding tosocketAddress()
if the interface is a point-to-point interface.- Returns:
- the optional destination address of a point-to-point interface
-
netmask
The netmask corresponding tosocketAddress()
if the interface supports netmasks.- Returns:
- interface's optional netmask address
-
socketAddress
A family specific socket address for this interface.- Returns:
- network family specific interface address
-
toString
String representation of the structure field values.
-