Ping request arguments data structure.
For forward compatibility this structure should be initialized using MMPING_ARGS_DEFAULT. For example:
#define MMPING_ARGS_DEFAULT
Initializer for mmping_args.
Ping request arguments data structure.
Definition at line 76 of file mmping.h.
#include <mmping.h>
◆ ping_count
| uint32_t mmping_args::ping_count |
This specifies the number of ping requests to send before terminating the session.
If this is zero or exceeds MMPING_MAX_COUNT then it it will be set to MMPING_MAX_COUNT.
Definition at line 89 of file mmping.h.
◆ ping_interval_ms
| uint32_t mmping_args::ping_interval_ms |
The time interval between ping requests (in milliseconds)
Definition at line 83 of file mmping.h.
◆ ping_size
| uint32_t mmping_args::ping_size |
Specifies the data packet size in bytes excluding 8 bytes ICMP header.
Definition at line 91 of file mmping.h.
◆ ping_src
String representation of the local IP address.
Definition at line 79 of file mmping.h.
◆ ping_target
String representation of the IP address of the ping target.
Definition at line 81 of file mmping.h.
The documentation for this struct was generated from the following file: