java.lang.Object
org.jnetpcap.SockAddr
org.jnetpcap.SockAddr.PacketSockAddr
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jnetpcap.SockAddr
SockAddr.Inet6SockAddr, SockAddr.InetSockAddr, SockAddr.IpxSockAddr, SockAddr.IrdaSockAddr, SockAddr.LinkSockAddr, SockAddr.PacketSockAddr
-
Field Summary
-
Method Summary
Methods inherited from class org.jnetpcap.SockAddr
data, family, familyConstant, isFamily, totalLength
-
Method Details
-
address
public byte[] address()Hardware address.- Returns:
- address field value
-
hardwareLength
public int hardwareLength()Hardware length.- Returns:
- the int
-
hardwareType
public int hardwareType()Hardware type.- Returns:
- haType field value
-
interfaceIndex
public int interfaceIndex()Interface index.- Returns:
- ifIndex field value
-
packetType
public int packetType()Packet type.- Returns:
- pktType field value
-
protocol
public int protocol()Protocol (e.g., ETH_P_ALL, ETH_P_IP) .- Returns:
- protocol field value
-
toString
-