public final class PcapIpV4Address extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Inet4Address |
getAddress() |
Inet4Address |
getBroadcastAddress() |
Inet4Address |
getDestinationAddress() |
Inet4Address |
getNetmask() |
int |
hashCode() |
protected Inet4Address |
ntoInetAddress(NativeMappings.sockaddr sa) |
String |
toString() |
protected Inet4Address ntoInetAddress(NativeMappings.sockaddr sa)
public Inet4Address getAddress()
getAddress
in interface PcapAddress
public Inet4Address getNetmask()
getNetmask
in interface PcapAddress
public Inet4Address getBroadcastAddress()
getBroadcastAddress
in interface PcapAddress
public Inet4Address getDestinationAddress()
getDestinationAddress
in interface PcapAddress
Copyright © 2011–2016 Pcap4J.org. All rights reserved.