Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
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 known-issues: update rule for TCF summary line 2016-09-16 11:31:27 -07:00
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 iot/dns: Use a k_sem for the DNS rx routine 2016-12-16 19:14:53 +01:00
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 checkpatch: ignore CONST_STRUCT warnings 2016-11-11 22:12:22 +00:00
.gitattributes First commit 2015-04-10 16:44:37 -07:00
.gitignore testcases: instruct git to ignore *log and outdir-* 2016-06-14 22:01:34 +00:00
.gitreview Add a .gitreview file 2016-02-20 14:25:01 +00:00
.mailmap mailmap: added axy (for Anas Nashif) 2016-12-21 13:49:59 +00:00
Kbuild kernel: move kernel code to kernel/ directly 2016-12-19 14:59:35 -05:00
Kconfig kconfig: Do not put architecture in the title 2016-03-14 16:50:51 -04:00
Kconfig.zephyr usb: move usb subsystem to subsys/usb and cleanup header inclusion 2016-10-31 19:21:42 +00:00
LICENSE add top level Apache 2.0 license file 2016-02-05 20:24:37 -05:00
LICENSING.rst LICENSING: clarify licenses of imported / reused code 2016-11-11 01:36:14 +00:00
MAINTAINERS MAINTAINERS: Add entry for SPI and NETWORKING 2016-12-23 12:08:41 +01:00
Makefile kernel: move kernel code to kernel/ directly 2016-12-19 14:59:35 -05:00
Makefile.inc kernel: remove NANOKERNEL and MICROKERNEL configs 2016-12-14 13:45:52 +00:00
defaults.tc testcases: catch more fatal kernel error messages 2016-11-11 13:21:16 +00:00
release-notes.rst release-note: initial import with 1.6 release notes 2016-12-03 00:06:23 -05:00
zephyr-env.sh win-build: corrects scripts_path for windows build. 2016-10-15 15:09:54 +00:00