TCPIP_ICMP_ECHO_REQUEST Structure
C
typedef struct _tag_TCPIP_ICMP_ECHO_REQUEST {
TCPIP_NET_HANDLE netH;
IPV4_ADDR targetAddr;
uint16_t sequenceNumber;
uint16_t identifier;
uint8_t* pData;
uint16_t dataSize;
void (* callback)(const struct _tag_TCPIP_ICMP_ECHO_REQUEST* pReqData, TCPIP_ICMP_REQUEST_HANDLE icmpHandle, TCPIP_ICMP_ECHO_REQUEST_RESULT result);
} TCPIP_ICMP_ECHO_REQUEST;
Description
ICMP Request Data Structure.
This structure defines the information required for sending an ICMP request that contains user data.
Remarks
When the callback is made with an error result, the TCPIP_ICMP_ECHO_REQUEST structure may identify the request, if no reply was received (for example timeout).