forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: buf: Add locking or sealing or typing mechanism
Once a `type_id` has been set, all actions made through the API (R.I.P code that casts buf->data) will fail. This is meant to add typing information to net_buf's as they go through the layers of networking stacks. My understanding is that the actual net stack uses packets which are typed better than net bufs. Maybe that's what we should do instead. Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
- Loading branch information
1 parent
e21a121
commit 2071914
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters