Embedded TCP/IP stack
4.7.0
|
typedef void(* fnet_ping_callback_t) (fnet_error_t result, fnet_size_t packet_count, struct fnet_sockaddr *target_addr, void *cookie) |
Prototype of the PING-service callback function that is called when the PING-service has completed the requesting.
result | Result of the PING-service request, which equals to:
|
packet_count | Number of request packets to be sent, till the PING-service release. It equals to 0, when the last packet was sent. |
address | Pointer to a socket address, which equals to:
|
cookie | User-application specific parameter. It's set during the PING service initialization as part of fnet_ping_params_t. |
Definition at line 73 of file fnet_ping.h.