diff options
Diffstat (limited to 'plugins-root/check_icmp.d/check_icmp_helpers.h')
-rw-r--r-- | plugins-root/check_icmp.d/check_icmp_helpers.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/plugins-root/check_icmp.d/check_icmp_helpers.h b/plugins-root/check_icmp.d/check_icmp_helpers.h index 3e798f72..68c39b4a 100644 --- a/plugins-root/check_icmp.d/check_icmp_helpers.h +++ b/plugins-root/check_icmp.d/check_icmp_helpers.h | |||
@@ -20,7 +20,6 @@ typedef struct rta_host { | |||
20 | unsigned char icmp_type, icmp_code; /* type and code from errors */ | 20 | unsigned char icmp_type, icmp_code; /* type and code from errors */ |
21 | unsigned short flags; /* control/status flags */ | 21 | unsigned short flags; /* control/status flags */ |
22 | 22 | ||
23 | double rta; /* measured RTA */ | ||
24 | double rtmax; /* max rtt */ | 23 | double rtmax; /* max rtt */ |
25 | double rtmin; /* min rtt */ | 24 | double rtmin; /* min rtt */ |
26 | 25 | ||
@@ -28,20 +27,10 @@ typedef struct rta_host { | |||
28 | double jitter_max; /* jitter rtt maximum */ | 27 | double jitter_max; /* jitter rtt maximum */ |
29 | double jitter_min; /* jitter rtt minimum */ | 28 | double jitter_min; /* jitter rtt minimum */ |
30 | 29 | ||
31 | double EffectiveLatency; | ||
32 | double mos; /* Mean opinion score */ | ||
33 | double score; /* score */ | ||
34 | |||
35 | time_t last_tdiff; | 30 | time_t last_tdiff; |
36 | unsigned int last_icmp_seq; /* Last ICMP_SEQ to check out of order pkts */ | 31 | unsigned int last_icmp_seq; /* Last ICMP_SEQ to check out of order pkts */ |
37 | unsigned char pl; /* measured packet loss */ | ||
38 | 32 | ||
39 | mp_state_enum rta_status; // check result for RTA checks | 33 | bool found_out_of_order_packets; |
40 | mp_state_enum jitter_status; // check result for Jitter checks | ||
41 | mp_state_enum mos_status; // check result for MOS checks | ||
42 | mp_state_enum score_status; // check result for score checks | ||
43 | mp_state_enum pl_status; // check result for packet loss checks | ||
44 | mp_state_enum order_status; // check result for packet order checks | ||
45 | 34 | ||
46 | struct rta_host *next; | 35 | struct rta_host *next; |
47 | } ping_target; | 36 | } ping_target; |