Skip to content
Commit 727a2459 authored by Johan Hedberg's avatar Johan Hedberg
Browse files

net: buf: Add net_buf_reserve() API



This API allows initializing the buffer with a given headroom. This
prepares the way for eventually removing the 'reserve_head' parameter
from the net_buf_get APIs, but can already now be useful in some
scenarios where the headroom is desired to be different than some
higher level API sets it to be.

Change-Id: Iffbe5761fdf3d2ad8cb4b8437b1074cf42ea9c6c
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent e03151ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment