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

ParametersDescription
ptrPacketThe packet.
dataSourceThe address of the data on ts medium.
datatypeDescriptor of the data type (dynamic memory on PIC, in a network FIFO, in static PIC RAM).
lenLength of the data.

Returns

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

Remarks

None.