TCPIP_IPV6_PutArray Macro

C

#define TCPIP_IPV6_PutArray(pkt,data,len) TCPIP_IPV6_ArrayPutHelper(pkt, data, IPV6_DATA_PIC_RAM, len)

Description

This function writes data to an outgoing packet.

Preconditions

TCPIP_IPV6_Initialize() is required. TCPIP_IPV6_InterfaceIsReady should be true. The TCPIP_IPV6_TxIsPutReady() function must have returned a value greater than or equal to len.

Members

MembersDescription
ptrPacketThe packet.
dataSourcePointer to the data to copy to the packet.
lenLength of the data.

Returns

  • unsigned short - The number of bytes of data written.

Remarks

None.