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#
mSource#
otIp6Address otPingSenderConfig::mSource
Source address of the ping.
104
of file include/openthread/ping_sender.h
mDestination#
otIp6Address otPingSenderConfig::mDestination
Destination address to ping.
105
of file include/openthread/ping_sender.h
mReplyCallback#
otPingSenderReplyCallback otPingSenderConfig::mReplyCallback
Callback function to report replies (can be NULL if not needed).
106
of file include/openthread/ping_sender.h
mStatisticsCallback#
otPingSenderStatisticsCallback otPingSenderConfig::mStatisticsCallback
Callback function to report statistics (can be NULL if not needed).
108
of file include/openthread/ping_sender.h
mCallbackContext#
void* otPingSenderConfig::mCallbackContext
A pointer to the callback application-specific context.
109
of file include/openthread/ping_sender.h
mSize#
uint16_t otPingSenderConfig::mSize
Data size (# of bytes) excludes IPv6/ICMPv6 header. Zero for default.
110
of file include/openthread/ping_sender.h
mCount#
uint16_t otPingSenderConfig::mCount
Number of ping messages to send. Zero to use default.
111
of file include/openthread/ping_sender.h
mInterval#
uint32_t otPingSenderConfig::mInterval
Ping tx interval in milliseconds. Zero to use default.
112
of file include/openthread/ping_sender.h
mTimeout#
uint16_t otPingSenderConfig::mTimeout
Time in milliseconds to wait for final reply after sending final request.
Zero to use default.
113
of file include/openthread/ping_sender.h
mHopLimit#
uint8_t otPingSenderConfig::mHopLimit
Hop limit (used if mAllowZeroHopLimit
is false). Zero for default.
115
of file include/openthread/ping_sender.h
mAllowZeroHopLimit#
bool otPingSenderConfig::mAllowZeroHopLimit
Indicates whether hop limit is zero.
116
of file include/openthread/ping_sender.h
mMulticastLoop#
bool otPingSenderConfig::mMulticastLoop
Allow looping back pings to multicast address that device is subscribed to.
117
of file include/openthread/ping_sender.h