![]() |
Speedify SDK for Desktop/Embedded 17.3.0
|
Contains stats regarding the TUN, for use in session stats. More...
#include <types.h>
Data Fields | |
| uint64_t | packetsIn |
| Number of packets read from TUN. | |
| uint64_t | packetsOut |
| Number of packets written to TUN. | |
| uint64_t | bytesIn |
| Number of bytes read from TUN. | |
| uint64_t | bytesOut |
| Number of bytes written to TUN. | |
| uint64_t | bufferWaits |
| Number of buffer full waits. | |
| uint64_t | packetWaits |
| Number of packet pool waits. | |
| uint64_t | readQueue |
| Size of the read queue. | |
| uint64_t | droppedIncoming |
| Number of incoming packets dropped. | |
| bool | segmentationOffloadActive |
| Whether the TUN is currently exchanging super-packets with the kernel. | |
| bool | segmentationOffloadConfirmed |
| Whether the peer has advertised that its tun can write super-packets. | |
| bool | segmentationOffloadUnavailable |
| Whether this kernel refused the TUN framing the offload needs. | |
| uint64_t | segmentedPacketsIn |
| Number of super-packets read from the TUN. | |
| uint64_t | segmentedPacketsOut |
| Number of super-packets written to the TUN. | |
| uint64_t | segmentedPacketsDropped |
| Number of super-packets dropped because this TUN could not write them. | |
Contains stats regarding the TUN, for use in session stats.
| uint64_t SpeedifySDK_TunStats::bufferWaits |
Number of buffer full waits.
| uint64_t SpeedifySDK_TunStats::bytesIn |
Number of bytes read from TUN.
| uint64_t SpeedifySDK_TunStats::bytesOut |
Number of bytes written to TUN.
| uint64_t SpeedifySDK_TunStats::droppedIncoming |
Number of incoming packets dropped.
| uint64_t SpeedifySDK_TunStats::packetsIn |
Number of packets read from TUN.
| uint64_t SpeedifySDK_TunStats::packetsOut |
Number of packets written to TUN.
| uint64_t SpeedifySDK_TunStats::packetWaits |
Number of packet pool waits.
| uint64_t SpeedifySDK_TunStats::readQueue |
Size of the read queue.
| bool SpeedifySDK_TunStats::segmentationOffloadActive |
Whether the TUN is currently exchanging super-packets with the kernel.
The state, as opposed to the segmentationOffload setting, which is only the request. False while the setting is on means it was asked for and did not take: see segmentationOffloadUnavailable and segmentationOffloadConfirmed for which half failed. The counters below cannot answer this – an offload that never applied and one that applied and found nothing to merge both read as zero.
| bool SpeedifySDK_TunStats::segmentationOffloadConfirmed |
Whether the peer has advertised that its tun can write super-packets.
Reports the peer's capability only: it can be true while this end's own setting is off.
| bool SpeedifySDK_TunStats::segmentationOffloadUnavailable |
Whether this kernel refused the TUN framing the offload needs.
Sticky for the life of the process, and the reason an enabled setting can read inactive with nothing else wrong.
| uint64_t SpeedifySDK_TunStats::segmentedPacketsDropped |
Number of super-packets dropped because this TUN could not write them.
| uint64_t SpeedifySDK_TunStats::segmentedPacketsIn |
Number of super-packets read from the TUN.
| uint64_t SpeedifySDK_TunStats::segmentedPacketsOut |
Number of super-packets written to the TUN.