TunStats

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

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

    • @since 8.0

    Declaration

    Swift

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

    • @since 8.0

    Declaration

    Swift

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

    • @since 8.0

    Declaration

    Swift

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

    • @since 8.0

    Declaration

    Swift

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

    • @since 8.0

    Declaration

    Swift

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

    • @since 8.0

    Declaration

    Swift

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

    • @since 8.0

    Declaration

    Swift

    var droppedIncoming: Int64