161 |
#define LEVEL_NAME_FULL "full" |
#define LEVEL_NAME_FULL "full" |
162 |
#define LEVEL_NAME_SUMMARY "summary" |
#define LEVEL_NAME_SUMMARY "summary" |
163 |
|
|
164 |
|
#define ATTEMPT_COUNT 3 |
165 |
|
|
166 |
/** ------------------------------------------------- Special purpose macros */ |
/** ------------------------------------------------- Special purpose macros */ |
167 |
|
|
168 |
|
|
482 |
/** Defines a ICMP object */ |
/** Defines a ICMP object */ |
483 |
typedef struct myicmp { |
typedef struct myicmp { |
484 |
int type; /**< ICMP type used */ |
int type; /**< ICMP type used */ |
485 |
|
int count; /**< ICMP echo requests count */ |
486 |
int timeout; /**< The timeout in seconds to wait for response */ |
int timeout; /**< The timeout in seconds to wait for response */ |
487 |
int is_available; /**< TRUE if the server is available */ |
int is_available; /**< TRUE if the server is available */ |
488 |
double response; /**< ICMP ECHO response time */ |
double response; /**< ICMP ECHO response time */ |