TCPIP_IPV6_TxIsPutReady Function

C

unsigned short TCPIP_IPV6_TxIsPutReady(
    IPV6_PACKET * pkt, 
    unsigned short count
);

Description

This function determines whether a TX packet can be written to. This function will allocate additional space to the packet to accommodate the user.

Preconditions

TCPIP_IPV6_Initialize() is required. TCPIP_IPV6_InterfaceIsReady should be true.

Parameters

ParametersDescription
ptrPacketThe packet to check.
countThe amount of writable space to check for.

Returns

  • The amount of space available - On success.

  • 0 - On failure.

Remarks

None.