struct tapi_ping_report

Overview

Statistics report of ping tool More…

#include <tapi_ping.h>

struct tapi_ping_report {
    // fields

    unsigned int transmitted;
    unsigned int received;
    unsigned int lost_percentage;
    bool with_rtt;
    tapi_ping_rtt_stats rtt;
};

Detailed Documentation

Statistics report of ping tool

Fields

unsigned int transmitted

Number of transmitted packets

unsigned int received

Number of received packets

unsigned int lost_percentage

Packet loss (percentage)

bool with_rtt

true if rtt stats were produced by ping tool. false if they were not (because the packet_size was too small), in this case the rtt field contains irrelevant data and should not be addressed.

tapi_ping_rtt_stats rtt

RTT statistics