zephyr/subsys
Jordan Yates 7be105b86a net: buf: net_buf_remove_* API
Adds a new family of `struct net_buf` operations that remove data from
the end of the buffer.

The semantics of `net_buf_remove_mem` have been chosen to match those of
`net_buf_pull_mem`, i.e. the return value is a pointer to the memory
that was removed.

The opposite of this function, `net_buf_remove`, would need to return
the old end of the data buffer to be useful. However this value is
always an invalid target for reading or writing data to (It points to
the middle of unused data).The existance of the function would be
misleading, therefore it is not implemented.

Fixes #31069.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2021-01-05 14:31:13 +02:00
..
bluetooth Bluetooth: host: direction: Add public API to set CTE TX params for adv. 2021-01-05 09:38:53 +01:00
canbus drivers: can: rework zcan_frame and zcan_filter 2020-12-17 11:07:53 +01:00
console
cpp
debug debug: analyzer: add support for thread runtime stats 2020-12-14 13:00:47 -05:00
dfu dfu: mcuboot: add shell module 2020-12-14 11:24:57 +01:00
disk disk: sdhc: Convert drivers to new DT device macros 2020-12-15 15:17:59 -06:00
emul drivers: sensors: bmi160: Fix issue with sample read 2020-12-01 17:58:06 -05:00
fb
fs fs: littlefs: define mount point structures for file systems 2020-12-27 18:16:20 +01:00
jwt
logging logging: Reduce missinglog_strdup() on SPARC 2020-12-14 11:23:34 +01:00
lorawan
mgmt mgmt: updatehub: Kconfig: Drop NET_CONFIG_SETTINGS option 2020-12-14 11:21:06 +01:00
net net: buf: net_buf_remove_* API 2021-01-05 14:31:13 +02:00
power power: Reducing the scope of a private function 2021-01-04 09:02:23 -05:00
random random: ctr_drbg: Fix the error path in sys_csrand_get 2020-12-01 10:20:06 -06:00
settings settings: fix possible unaligned write while a line coping 2020-12-04 17:10:47 +01:00
shell power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
stats
storage devicetree: flash-partitions: expose helper macros 2020-12-27 18:16:20 +01:00
testsuite kernel: subsys: lib: drivers: Use k_heap instead of z_mem_pool wrappers 2020-12-07 21:50:14 -05:00
timing timing: fix timing_stop() ref counting 2021-01-04 12:15:30 +01:00
tracing systemview: Use common function to get sysview thread name 2020-11-21 08:29:26 -05:00
usb usb: dfu: add separate pid for dfu mode 2020-12-20 13:04:45 -05:00
CMakeLists.txt
Kconfig