zephyr/include
Michael Scott db577f00b1 net: buf: add linearize, append_bytes and skip APIs to net_buf
This change moves the logic for linearize and append_bytes from
the net_pkt sources into the net_buf sources where it can be
made available to layers which to not depend on net_pkt.  It also,
adds a new net_buf_skip() function which can be used to iterated
through a list of net_buf (freeing the buffers as it goes).

For the append_bytes function to be generic in nature, a net_buf
allocator callback was created.  Callers of append_bytes pass in
the callback which determines where the resulting net_buf is
allocated from.

Also, the dst buffer in linearize is now cleared prior to copy
(this was an addition from the code moved from net_pkt).

In order to preserve existing callers, the original functions are
left in the net_pkt layer, but now merely act as wrappers.

Signed-off-by: Michael Scott <mike@foundries.io>
2018-08-06 10:43:46 +03:00
..
app_memory userspace: compartmentalized app memory organization 2018-07-25 12:02:01 -07:00
arch syscall: Move arch specific syscall code into its own header 2018-08-02 22:06:49 -05:00
audio drivers: codec: APIs for Audio Codecs 2018-07-17 09:57:18 -04:00
bluetooth Bluetooth: Add support for fixed passkeys 2018-08-01 16:13:21 +03:00
crypto
debug obj_tracing: Declare object trace list for queue 2018-07-27 07:51:26 -04:00
dfu subsys: dfu: boot: Remove unused ver query code. 2018-02-21 18:53:42 -05:00
display
drivers include: drivers: gpio: Turn functions generic - esp32 2018-07-15 16:13:36 -04:00
dt-bindings gpio: doc: Be explicit about how EDGE and DOUBLE_EDGE work together 2018-06-12 11:51:14 -04:00
fs subsys: fs: Add the support for multiple instances of fs 2018-05-08 08:53:01 -04:00
linker userspace: compartmentalized app memory organization 2018-07-25 12:02:01 -07:00
logging logging: fix multi-file module support 2018-08-02 19:18:05 +02:00
mgmt subsys: mgmt: Fix broken OTA firmware update 2018-07-18 14:32:06 +02:00
misc userspace: compartmentalized app memory organization 2018-07-25 12:02:01 -07:00
net net: buf: add linearize, append_bytes and skip APIs to net_buf 2018-08-06 10:43:46 +03:00
nvs subsys: fs: Add Non Volatile Storage (NVS) for zephyr 2018-05-15 10:29:16 +02:00
posix posix: add pthread_key and pthread_once APIs 2018-07-19 08:46:33 -04:00
random
settings settings: fix typo in header file 2018-06-12 22:49:12 -04:00
shell subsys: mgmt: Shell transport for SMP (mcumgr). 2018-02-20 22:07:52 +01:00
toolchain toolchain: gcc: check if __weak is defined 2018-06-28 09:13:17 -05:00
usb usb: bos: Add USB BOS descriptors API 2018-06-20 15:47:00 -04:00
zephyr
adc.h
aio_comparator.h
atomic.h
base64.h lib: base64: Add statement of changes 2018-03-23 13:54:48 +01:00
cache.h
can.h doc: fix misspellings in API doxygen comments 2018-05-23 15:28:01 -05:00
clock_control.h
console.h subsys: console: Factor out fifo-based console input abstraction 2018-06-20 15:59:12 -04:00
counter.h
crc8.h crc: make crc8_ccitt() match the other CRC functions. 2018-03-10 21:49:07 -05:00
crc16.h include: improve compatibility with C++ apps. 2018-04-09 23:21:52 -04:00
crc32.h lib/crc: Add CRC32 support 2018-07-18 10:00:12 -04:00
device.h include: improve compatibility with C++ apps. 2018-04-09 23:21:52 -04:00
disk_access.h subsys: disk: Add support for multiple disk interfaces 2018-05-08 08:53:01 -04:00
dma.h dma: define and document the source and dest adjust enum. 2018-05-05 00:58:42 -04:00
entropy.h drivers: entropy: Introduce ISR-specific entropy function 2018-05-24 15:13:13 -07:00
exc_handle.h arch: introduce exc_handle.h 2018-07-31 07:47:15 -07:00
fcb.h subsys: fs: fcb: remove f_area_id from fcb structure 2018-02-07 09:51:26 -05:00
flash_map.h subsys: storage: flash_map: Fix warning 2018-02-14 14:36:52 -05:00
flash.h
fs.h lib: posix: Add Posix Style File System API support 2018-05-18 13:32:36 +03:00
gpio.h doc: fix early closing of GPIO doxygen defgroup 2018-06-04 10:55:37 -04:00
i2c.h i2c: Add new I2C Slave syscalls 2018-07-04 11:57:33 +02:00
i2s.h drivers: i2s: introduce CAVS I2S 2018-05-01 16:46:41 -04:00
init.h init.h: Fix english in comment 2018-03-26 13:17:39 -04:00
ipm.h
irq_nextlevel.h drivers: interrupts: introduce CAVS interrupt logic 2018-05-01 16:46:41 -04:00
irq_offload.h
irq.h kernel: Make irq_{un}lock() APIs into a global spinlock in SMP mode 2018-02-16 10:44:29 -05:00
json.h lib: json: add helper macro for array of array 2018-07-06 19:17:07 -04:00
kernel_includes.h Fix compile errors related to errno.h 2018-07-25 23:38:13 -04:00
kernel_version.h
kernel.h Fix compile errors related to errno.h 2018-07-25 23:38:13 -04:00
led_strip.h include: improve compatibility with C++ apps. 2018-04-09 23:21:52 -04:00
led.h drivers: led: Add system call handler support 2018-05-04 10:07:39 -07:00
pinmux.h pinmux: remove user mode access 2018-05-07 22:20:20 -04:00
power.h
ptp_clock.h driver: ptp_clock: PTP clock driver definition 2018-06-26 12:37:28 +03:00
pwm.h
ring_buffer.h
rtc.h rtc: Add prescalar configuration option 2018-05-17 13:45:08 -05:00
sched_priq.h kernel: Add the old "multi queue" scheduler algorithm as an option 2018-07-03 17:09:15 -04:00
sensor.h sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
shared_irq.h
spi.h include: improve compatibility with C++ apps. 2018-04-09 23:21:52 -04:00
spinlock.h kernel: Simple spinlock API 2018-02-16 10:44:29 -05:00
stats.h doc: fix misspellings in API doxygen comments 2018-05-23 15:28:01 -05:00
sw_isr_table.h
sys_clock.h kernel: Deprecate sys_clock_us_per_tick variable. 2018-07-20 00:03:52 -04:00
sys_io.h
syscall.h syscall: Move arch specific syscall code into its own header 2018-08-02 22:06:49 -05:00
toolchain.h
uart.h drivers: uart: Allow to pass arbitrary user data to irq callback 2018-08-02 19:20:12 +02:00
watchdog.h api: watchdog: fix wdt_install_timeout doxygen comment 2018-06-05 08:04:45 -04:00
zephyr.h