Go to file
Johan Hedberg db8a5d9b80 net: buf: Add net_buf_add_mem() API
A very common pattern in code goes something like the following:

	memcpy(net_buf_add(buf, len), data, len);

To avoid having to create this kind of complex constructions every
time, this patch adds a new API which simplifies the call:

	net_buf_add_mem(buf, data, len);

Change-Id: Ic1aeae4baf88b2295d139f672d5d265db2ddbe7b
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-12-24 16:27:08 +00:00
.known-issues
arch drivers: i2c_shim: grant arc the access to i2c on I/O fabric 2016-12-22 01:22:52 +00:00
boards drivers: spi_shim: grant arc the access to spi on I/O fabric 2016-12-22 01:22:26 +00:00
doc doc: make output directory overridable 2016-12-24 13:13:31 +00:00
drivers drivers: gpio_atmel: Fix erronous if statement 2016-12-24 13:52:51 +00:00
ext ext: Update Nordic MDK header files 2016-12-20 09:14:48 -06:00
include net: buf: Add net_buf_add_mem() API 2016-12-24 16:27:08 +00:00
kernel kernel: optimize ms-to-ticks for certain tick frequencies 2016-12-21 19:50:07 +00:00
lib
misc tracing: rename CONFIG_DEBUG_TRACING_KERNEL_OBJECTS 2016-12-19 14:59:35 -05:00
samples samples: bmi160: use correct spi dev name 2016-12-24 13:35:43 +00:00
scripts compare footprint: add sanity args files 2016-12-21 13:46:56 +00:00
subsys net: buf: Add net_buf_add_mem() API 2016-12-24 16:27:08 +00:00
tests tests: add gpio driver test case 2016-12-24 16:24:26 +00:00
.checkpatch.conf
.gitattributes
.gitignore
.gitreview
.mailmap mailmap: added axy (for Anas Nashif) 2016-12-21 13:49:59 +00:00
defaults.tc
Kbuild
Kconfig
Kconfig.zephyr
LICENSE
LICENSING.rst
MAINTAINERS MAINTAINERS: Add entry for SPI and NETWORKING 2016-12-23 12:08:41 +01:00
Makefile
Makefile.inc
release-notes.rst
zephyr-env.sh