zephyr/include
Johan Hedberg f801c1ca8e net: buf: Add net_buf_id() API
Add a net_buf_id() API which translates a buffer into a zero-based
index, based on its placement in the buffer pool. This can be useful
if you want to associate an external array of meta-data contexts with
the buffers of a pool.

The added value of this API is slightly limited at the moment, since
the net_buf API allows custom user-data sizes for each pool (i.e. the
user data can be used instead of a separately allocated meta-data
array). However, there's some refactoring coming soon which will unify
all net_buf structs to have the same fixed (and typically small)
amount of user data. In such cases it may be desirable to have
external user data in order not to inflate all buffers in the system
because of a single pool needing the extra memory.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2017-11-01 12:08:27 +02:00
..
arch cleanup: rename fiber/task -> thread 2017-10-30 18:41:15 -04:00
bluetooth Bluetooth: Add support for decoding new address types 2017-10-05 13:14:08 +03:00
crypto
debug
dfu
display
drivers drivers: clock_control: provide support for stm32f0. 2017-10-23 12:31:47 +02:00
dt-bindings dts: Add Kinetis SIM clock bindings 2017-10-20 12:28:11 -05:00
fs subsys: fs: consolidate elm FAT kconfig options 2017-10-03 08:43:50 -04:00
linker linker: use quotes with OUTPUT_ARCH macro 2017-10-31 12:32:34 -04:00
logging cleanup: rename fiber/task -> thread 2017-10-30 18:41:15 -04:00
misc sys: slist, dlist: Improve "not thread safe" docstrings 2017-10-17 17:39:15 -04:00
net net: buf: Add net_buf_id() API 2017-11-01 12:08:27 +02:00
shell
toolchain kernel: abolish __syscall_inline 2017-10-03 16:16:03 -04:00
usb doc: Fix misspellings in header/doxygen comments 2017-10-17 19:40:29 -04:00
zephyr
adc.h drivers: adc: add system call handlers 2017-10-30 13:20:19 -07:00
aio_comparator.h drivers: aio_comparator: add system calls 2017-10-30 13:20:19 -07:00
atomic.h
cache.h
clock_control.h
console.h
counter.h drivers: counter: add syscall handlers 2017-10-30 13:20:19 -07:00
crc16.h
device.h
disk_access.h
dma.h drivers: dma: remove deprecated API functions 2017-09-22 07:50:20 -04:00
eth.h
flash.h drivers: flash: add system calls 2017-10-30 13:20:19 -07:00
fs.h
gpio.h drivers: gpio: add system call handlers 2017-10-30 13:20:19 -07:00
i2c.h drivers: i2c: add system call handlers 2017-10-30 13:20:19 -07:00
i2s.h doc: replace UTF-8 chars 2017-10-03 20:03:57 -04:00
init.h
ipm.h drivers: ipm: add system calls 2017-10-30 13:20:19 -07:00
irq.h
irq_offload.h
json.h lib: json: move json.h to include/ 2017-10-03 14:50:14 -04:00
kernel.h userspace: remove some driver object types 2017-10-30 13:20:19 -07:00
kernel_version.h
led_strip.h drivers: led_strip: add public API for addressable LED strips 2017-10-28 13:23:30 -04:00
pinmux.h drivers: pinmux: add system call handlers 2017-10-30 13:20:19 -07:00
power.h
pthread.h
pwm.h drivers: pwm: add system call handlers 2017-10-30 13:20:19 -07:00
random.h drivers: random: add random_get_entropy sys call 2017-10-30 13:20:19 -07:00
rtc.h drivers: rtc: add system calls 2017-10-30 13:20:19 -07:00
sensor.h cleanup: rename fiber/task -> thread 2017-10-30 18:41:15 -04:00
shared_irq.h
spi.h drivers: spi: add system call handlers 2017-10-30 13:20:19 -07:00
spi_legacy.h
sw_isr_table.h sw_isr_table.h: fix includes 2017-10-27 16:08:54 -04:00
sys_clock.h
sys_io.h
syscall.h kernel: allow system call with 64-bit return val 2017-10-12 16:25:00 -07:00
toolchain.h
uart.h drivers: uart: add system call handlers 2017-10-30 13:20:19 -07:00
watchdog.h
zephyr.h