net: buf: Make a net_buf_move(&buf)
API
#72798
Labels
area: Networking Buffers
net_buf/net_buf_simple API & implementation
Feature Request
A request for a new feature
We sometimes do an implicit move of netbufs.
In that case, the best we do is leave a comment, and maybe
NULL
out the original variable, like thisIt would be nice to have a proper API to do this in
net/buf.h
, something likeIt could be defined like so
The text was updated successfully, but these errors were encountered: