summaryrefslogtreecommitdiffstats
path: root/plugins-root/check_icmp.d/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-root/check_icmp.d/config.h')
-rw-r--r--plugins-root/check_icmp.d/config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins-root/check_icmp.d/config.h b/plugins-root/check_icmp.d/config.h
index fc9dd5a6..8092e343 100644
--- a/plugins-root/check_icmp.d/config.h
+++ b/plugins-root/check_icmp.d/config.h
@@ -12,11 +12,12 @@
12#include <arpa/inet.h> 12#include <arpa/inet.h>
13#include <stdint.h> 13#include <stdint.h>
14#include "./check_icmp_helpers.h" 14#include "./check_icmp_helpers.h"
15#include "output.h"
15 16
16/* threshold structure. all values are maximum allowed, exclusive */ 17/* threshold structure. all values are maximum allowed, exclusive */
17typedef struct { 18typedef struct {
18 unsigned char pl; /* max allowed packet loss in percent */ 19 unsigned char pl; /* max allowed packet loss in percent */
19 time_t rta; /* roundtrip time average, microseconds */ 20 time_t rta; /* roundtrip time average, microseconds */
20 double jitter; /* jitter time average, microseconds */ 21 double jitter; /* jitter time average, microseconds */
21 double mos; /* MOS */ 22 double mos; /* MOS */
22 double score; /* Score */ 23 double score; /* Score */
@@ -77,6 +78,9 @@ typedef struct {
77 78
78 unsigned short number_of_hosts; 79 unsigned short number_of_hosts;
79 check_icmp_target_container *hosts; 80 check_icmp_target_container *hosts;
81
82 mp_output_format output_format;
83 bool output_format_is_set;
80} check_icmp_config; 84} check_icmp_config;
81 85
82check_icmp_config check_icmp_config_init(); 86check_icmp_config check_icmp_config_init();