Embedded TCP/IP stack  4.7.0
fnet_ping_params_t Struct Reference

Initialization parameters for the fnet_ping_init() function. More...

Data Fields

struct fnet_sockaddr target_addr
 Socket address of the destination to ping. More...
 
fnet_size_t packet_size
 The size of the echo request, in bytes (without ICMP header).
The maximum value is limited by FNET_CFG_PING_PACKET_MAX value. More...
 
fnet_size_t packet_count
 Number of packets to be sent. More...
 
fnet_time_t timeout
 Timeout value in milliseconds, that service waits for reply on ping request. More...
 
fnet_uint8_t ttl
 IPv4 Time To Live (TTL) or IPv6 Hop Limit value.
. More...
 
fnet_uint8_t pattern
 Pattern byte to fill out the packet.
This is useful for diagnosing data-dependent problems in a network. More...
 
fnet_ping_callback_t callback
 Pointer to the callback function defined by fnet_ping_callback_t. It is called when the correct echo response is receved or timeout is occured. More...
 
void * cookie
 Optional application-specific parameter.
It's passed to the callback function as input parameter. More...
 

Detailed Description

Initialization parameters for the fnet_ping_init() function.

Definition at line 78 of file fnet_ping.h.


The documentation for this struct was generated from the following file:

© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net