Represents a ping request configuration.
Public Attributes#
Source address of the ping.
Destination address to ping.
Callback function to report replies (can be NULL if not needed).
Callback function to report statistics (can be NULL if not needed).
A pointer to the callback application-specific context.
Data size (# of bytes) excludes IPv6/ICMPv6 header. Zero for default.
Number of ping messages to send. Zero to use default.
Ping tx interval in milliseconds. Zero to use default.
Time in milliseconds to wait for final reply after sending final request.
Hop limit (used if mAllowZeroHopLimit
is false). Zero for default.
Indicates whether hop limit is zero.
Allow looping back pings to multicast address that device is subscribed to.
Public Attribute Documentation#
mReplyCallback#
otPingSenderReplyCallback otPingSenderConfig::mReplyCallback
Callback function to report replies (can be NULL if not needed).
mStatisticsCallback#
otPingSenderStatisticsCallback otPingSenderConfig::mStatisticsCallback
Callback function to report statistics (can be NULL if not needed).
mCallbackContext#
void* otPingSenderConfig::mCallbackContext
A pointer to the callback application-specific context.
mSize#
uint16_t otPingSenderConfig::mSize
Data size (# of bytes) excludes IPv6/ICMPv6 header. Zero for default.
mInterval#
uint32_t otPingSenderConfig::mInterval
Ping tx interval in milliseconds. Zero to use default.
mTimeout#
uint16_t otPingSenderConfig::mTimeout
Time in milliseconds to wait for final reply after sending final request.
Zero to use default.
mHopLimit#
uint8_t otPingSenderConfig::mHopLimit
Hop limit (used if mAllowZeroHopLimit
is false). Zero for default.
mMulticastLoop#
bool otPingSenderConfig::mMulticastLoop
Allow looping back pings to multicast address that device is subscribed to.