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

◆ nrf_wifi_osal_nbuf_data_pull()

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

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

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

Decreases 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.