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>.

  • Field Details

    • insi_fport

      public int insi_fport
      Foreign port.
    • insi_lport

      public int insi_lport
      Local port.
    • insi_gencnt

      public long insi_gencnt
      Generation count of this instance.
    • insi_flags

      public int insi_flags
      Generic IP/datagram flags.
    • insi_flow

      public int insi_flow
    • insi_vflag

      public byte insi_vflag
      INI_IPV4 or INI_IPV6.
    • insi_ip_ttl

      public byte insi_ip_ttl
      Time to live proto.
    • rfu_1

      public int rfu_1
      Reserved.
    • insi_faddr

      public SystemB.InsiAddr insi_faddr
      Foreign host table entry.
    • insi_laddr

      public SystemB.InsiAddr insi_laddr
      Local host table entry.
    • insi_v4

      public byte insi_v4
      IPv4 type of service.
    • insi_v6

      public byte[] insi_v6
      IPv6 info (in6_hlim, in6_cksum, in6_ifindex, in6_hops).
  • Constructor Details

    • InSockInfo

      public InSockInfo()
  • Method Details

    • read

      public void read()
      Description copied from class: Structure
      Reads the fields of the struct from native memory
      Overrides:
      read in class Structure