TCPIP_IPV6_Flush Function
C
int TCPIP_IPV6_Flush(
IPV6_PACKET * pkt
);
Description
This function flushes an IP TX packet. Determines the link-layer address, if necessary and calculates the upper-layer checksum, if necessary.
Preconditions
TCPIP_IPV6_Initialize() should be called. TCPIP_IPV6_InterfaceIsReady should be true.
Parameters
Parameters | Description |
---|---|
ptrPacket | The packet to flush. |
Returns
1 - If the packet has been transmitted.
0 - If the packet has been queued.
< 0 - If the packet has been discarded for some error.
Remarks
None.