Class SystemB.InSockInfo
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.mac.SystemB.InSockInfo
- Enclosing interface:
SystemB
@FieldOrder({"insi_fport","insi_lport","insi_gencnt","insi_flags","insi_flow","insi_vflag","insi_ip_ttl","rfu_1","insi_faddr","insi_laddr","insi_v4","insi_v6"})
public static class SystemB.InSockInfo
extends Structure
Internet socket information.
Corresponds to struct in_sockinfo in <sys/proc_info.h>.
-
Nested Class Summary
Nested classes/interfaces inherited from class Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionForeign host table entry.intGeneric IP/datagram flags.intintForeign port.longGeneration count of this instance.byteTime to live proto.Local host table entry.intLocal port.byteIPv4 type of service.byte[]IPv6 info (in6_hlim, in6_cksum, in6_ifindex, in6_hops).byteINI_IPV4 or INI_IPV6.intReserved.Fields inherited from class Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
insi_fport
public int insi_fportForeign port. -
insi_lport
public int insi_lportLocal port. -
insi_gencnt
public long insi_gencntGeneration count of this instance. -
insi_flags
public int insi_flagsGeneric IP/datagram flags. -
insi_flow
public int insi_flow -
insi_vflag
public byte insi_vflagINI_IPV4 or INI_IPV6. -
insi_ip_ttl
public byte insi_ip_ttlTime to live proto. -
rfu_1
public int rfu_1Reserved. -
insi_faddr
Foreign host table entry. -
insi_laddr
Local host table entry. -
insi_v4
public byte insi_v4IPv4 type of service. -
insi_v6
public byte[] insi_v6IPv6 info (in6_hlim, in6_cksum, in6_ifindex, in6_hops).
-
-
Constructor Details
-
InSockInfo
public InSockInfo()
-
-
Method Details
-
read
-