TCPIP_IPV6_ArrayPutHelper Function
C
unsigned short TCPIP_IPV6_ArrayPutHelper(
IPV6_PACKET * pkt,
const void * dataSource,
uint8_t dataType,
unsigned short len
);
Description
This is a helper function for writing data to a packet.
Preconditions
TCPIP_IPV6_Initialize() is required. TCPIP_IPV6_InterfaceIsReady should be true.
Parameters
Parameters | Description |
---|---|
ptrPacket | The packet. |
dataSource | The address of the data on ts medium. |
datatype | Descriptor of the data type (dynamic memory on PIC, in a network FIFO, in static PIC RAM). |
len | Length of the data. |
Returns
Unsigned short - The number of bytes of data written.
Remarks
None.