Skip to content
Commit dd09cbc1 authored by Johan Hedberg's avatar Johan Hedberg Committed by Johan Hedberg
Browse files

net: buf: Redesigned API with split data and meta-data



Redesign of the net_buf_simple and net_buf structs, where the data
payload portion is split to a separately allocated chunk of memory. In
practice this means that buf->__buf becomes a pointer from having just
been a marker (empty array) for where the payload begins right after
the meta-data.

Fixes #3283

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