java.lang.Object
org.jnetpcap.SockAddr
org.jnetpcap.SockAddr.Inet6SockAddr
- Enclosing class:
SockAddr
The structure of
sockaddr_in6
, used for IPv6 sockets.-
Nested Class Summary
Nested classes/interfaces inherited from class org.jnetpcap.SockAddr
SockAddr.Inet6SockAddr, SockAddr.InetSockAddr, SockAddr.IpxSockAddr, SockAddr.IrdaSockAddr, SockAddr.LinkSockAddr, SockAddr.PacketSockAddr
-
Method Summary
Methods inherited from class org.jnetpcap.SockAddr
data, family, familyConstant, isFamily, totalLength
-
Method Details
-
address
public byte[] address()IPv6 address.- Returns:
- address field value
-
flowInfo
public int flowInfo()IPv6 flow information.- Returns:
- 32 bit field value
-
port
public int port()Transport layer port number.- Returns:
- 16 bit port field value
-
scopeId
public int scopeId()Scope ID (interface for link-local addresses).- Returns:
- 32 bit scope ID field value
-
toString
String representation of the structure fields.
-