Google is committed to advancing racial equity for Black communities. See how.

otPingSenderConfig

#include <ping_sender.h>

This structure represents a ping request configuration.

Summary

Public attributes

mAllowZeroHopLimit
bool
Indicates whether hop limit is zero.
mCallbackContext
void *
A pointer to the callback application-specific context.
mCount
uint16_t
Number of ping messages to send. Zero to use default.
mDestination
Destination address to ping.
mHopLimit
uint8_t
Hop limit (used if mAllowZeroHopLimit is false). Zero for default.
mInterval
uint32_t
Ping tx interval in milliseconds. Zero to use default.
mReplyCallback
Callback function to report replies (can be NULL if not needed).
mSize
uint16_t
Data size (# of bytes) excludes IPv6/ICMPv6 header. Zero for default.
mStatisticsCallback
Callback function to report statistics (can be NULL if not needed).
mTimeout
uint16_t
Time in milliseconds to wait for a reply after sending out the request.

Public attributes

mAllowZeroHopLimit

bool otPingSenderConfig::mAllowZeroHopLimit

Indicates whether hop limit is zero.

mCallbackContext

void * otPingSenderConfig::mCallbackContext

A pointer to the callback application-specific context.

mCount

uint16_t otPingSenderConfig::mCount

Number of ping messages to send. Zero to use default.

mDestination

otIp6Address otPingSenderConfig::mDestination

Destination address to ping.

mHopLimit

uint8_t otPingSenderConfig::mHopLimit

Hop limit (used if mAllowZeroHopLimit is false). Zero for default.

mInterval

uint32_t otPingSenderConfig::mInterval

Ping tx interval in milliseconds. Zero to use default.

mReplyCallback

otPingSenderReplyCallback otPingSenderConfig::mReplyCallback

Callback function to report replies (can be NULL if not needed).

mSize

uint16_t otPingSenderConfig::mSize

Data size (# of bytes) excludes IPv6/ICMPv6 header. Zero for default.

mStatisticsCallback

otPingSenderStatisticsCallback otPingSenderConfig::mStatisticsCallback

Callback function to report statistics (can be NULL if not needed).

mTimeout

uint16_t otPingSenderConfig::mTimeout

Time in milliseconds to wait for a reply after sending out the request.

Zero to use default.