TCPIP_ICMPV6_EchoRequestSend Function

C

bool TCPIP_ICMPV6_EchoRequestSend(TCPIP_NET_HANDLE netH, IPV6_ADDR * targetAddr, uint16_t sequenceNumber, uint16_t identifier, uint32_t packetSize); 

Returns

  • true - if the query request was successfully sent

  • false - otherwise (interface not ready for transmission, allocation error, etc.)

Description

This function allows a stack client to send an ICMPv6 Echo request message to a remote host. The supplied sequence number and identifier will be used in the query message. The user will be notified by the result of the query using a notification handle registered by using the TCPIP_ICMPV6_CallbackRegister function.

Remarks

None.

Preconditions

The TCP/IP Stack is initialized and up and running. IPv6 and ICMPv6 are initialized.