TunStats

public struct TunStats

\brief Contains stats regarding the TUN, for use in session stats

  • @since 8.0
  • \brief Number of packets read from TUN

    • @since 8.0

    Declaration

    Swift

    public var packetsIn: Int64
  • \brief Number of packets written to TUN

    • @since 8.0

    Declaration

    Swift

    public var packetsOut: Int64
  • \brief Number of bytes read from TUN

    • @since 8.0

    Declaration

    Swift

    public var bytesIn: Int64
  • \brief Number of bytes written to TUN

    • @since 8.0

    Declaration

    Swift

    public var bytesOut: Int64
  • \brief Number of buffer full waits

    • @since 8.0

    Declaration

    Swift

    public var bufferWaits: Int64
  • \brief Number of packet pool waits

    • @since 8.0

    Declaration

    Swift

    public var packetWaits: Int64
  • \brief Size of the read queue

    • @since 8.0

    Declaration

    Swift

    public var readQueue: Int64
  • \brief Number of incoming packets dropped

    • @since 8.0

    Declaration

    Swift

    public var droppedIncoming: Int64