nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_wifi_osal_nbuf_data_push()

void * nrf_wifi_osal_nbuf_data_push ( void *  nbuf,
unsigned int  size 
)

Extend the head portion of the data in a network buffer.

Parameters
nbufPointer to a network buffer.
sizeSize in bytes, of the extension.

Increases the data area of a network buffer(@nbuf) by @size bytes at the start of the area and returns the pointer to the beginning of the data area.

Returns
Updated pointer to the data in the network buffer if successful, NULL otherwise.