zephyr/include
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
..
app_memory userspace: fix k_mem_partition definition 2020-11-18 08:02:08 -05:00
arch arch: arm64: mmu: support using MT_NS attribute 2020-12-17 08:08:00 -05:00
audio device: Const-ify all device driver instance pointers 2020-09-02 13:48: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 subsys: canopen: Add a wrapper to avoid passing device to CO_init 2020-09-02 13:48:13 +02:00
cmsis_rtos_v1
cmsis_rtos_v2
console device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
crypto device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
data doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
debug debug: analyzer: add support for thread runtime stats 2020-12-14 13:00:47 -05:00
devicetree fs: provide access to DT-defined mount structures 2020-12-27 18:16:20 +01:00
dfu dfu: img_util: Add flash integrity check 2020-09-03 17:56:02 +02:00
disk device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
display device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
drivers gpio: add driver for emulated GPIO 2020-12-27 18:15:33 +01:00
dt-bindings include/de-bindings: create a irq.h for devicetree 2020-12-16 08:47:36 -05:00
fs fs: provide access to DT-defined mount structures 2020-12-27 18:16:20 +01:00
linker power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
logging doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
lorawan lorawan,lora: fix C++ compilation/linking errors 2020-10-15 11:08:07 +02:00
mgmt doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
net net: buf: net_buf_remove_* API 2021-01-05 14:31:13 +02:00
posix include/posix: fix extern "C" placement 2020-10-13 10:05:30 -05:00
power power: rename _pm_power_state_ -> pm_power_state 2021-01-04 09:02:23 -05:00
random random: Add syscalls for random subsystem 2020-07-08 21:05:36 -04:00
settings settings: disallow modifying the content of a static subtree name 2020-07-27 19:03:44 +02:00
shell shell: api description update 2020-12-02 08:07:55 -05:00
stats
storage storage/flash_map: Added function for get erased byte value 2020-10-30 15:53:38 +01:00
sys doc: add kernel stack macros to stack apis 2020-12-18 12:18:50 +01:00
timing timing: do not repeatedly do init()/start()/stop() 2020-11-11 23:55:49 -05:00
toolchain sparc: Add compiler and linker tool support 2020-11-13 14:53:55 -08:00
tracing tracing: trace mutex/semaphore using dedicated calls 2020-08-24 13:21:12 +02:00
usb doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
zephyr zephyr: introduce z_max_align_t 2020-11-17 11:44:16 +02:00
cache.h syscalls: Add system call for cache flush & invalidate 2020-08-04 17:26:45 -04:00
device.h device: support generating defines from devicetree nodes with no label 2020-12-27 18:19:27 +01:00
devicetree.h devicetree: flash-partitions: expose helper macros 2020-12-27 18:16:20 +01:00
ec_host_cmd.h include: remove enum build assert 2020-10-02 11:44:39 +02:00
emul.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
exc_handle.h
fatal.h
generated_dts_board.h
init.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
irq_nextlevel.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
irq_offload.h irq: Change offload API to take a constant parameter 2020-09-02 13:48:13 +02:00
irq.h irq: Change dynamic API to take a constant parameter 2020-09-02 13:48:13 +02:00
kernel_includes.h lib: Remove sys_mem_pool implementation 2020-12-07 21:50:14 -05:00
kernel_structs.h power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
kernel_version.h
kernel.h kernel/k_malloc: add k_aligned_alloc 2020-12-27 18:17:07 +01:00
mempool_heap.h kernel: Remove z_mem_pool wrapper internals 2020-12-07 21:50:14 -05:00
ptp_clock.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
sched_priq.h
shared_irq.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
spinlock.h Revert "kernel: fix usage of KERNEL_COHERENCE macro" 2020-12-08 14:27:27 -05:00
sw_isr_table.h irq: Change dynamic API to take a constant parameter 2020-09-02 13:48:13 +02:00
sys_clock.h kernel/sys_clock.h: Remove deprecated macros 2020-10-04 14:12:27 -07:00
syscall_handler.h kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
syscall.h
timeout_q.h kernel: timer: update _timeout API for const correctness 2020-10-02 11:29:14 +02:00
toolchain.h ARC: toolchain: handle difference in macros for MWDT and ARC GNU 2020-09-05 10:22:56 -05:00
wait_q.h
zephyr.h