zephyr/samples
Jukka Rissanen bd3908b2a9 net: nbuf: Add timeout to net_buf getters
This commit changes the net_buf getter functions in nbuf.h
by adding a timeout parameter. These function prototypes
are changed to accept a timeout parameter.
	net_nbuf_get_rx()
	net_nbuf_get_tx()
	net_nbuf_get_data()
	net_nbuf_get_reserve_rx()
	net_nbuf_get_reserve_tx()
	net_nbuf_get_reserve_data()
	net_nbuf_copy()
	net_nbuf_copy_all()
	net_nbuf_push()
	net_nbuf_append()
	net_nbuf_write()
	net_nbuf_insert()

Following convinience functions have not been changed
	net_nbuf_append_u8
	net_nbuf_append_be16
	net_nbuf_append_be32
	net_nbuf_insert_u8
	net_nbuf_insert_be16
	net_nbuf_insert_be32
	net_nbuf_write_u8
	net_nbuf_write_be16
	net_nbuf_write_be32
so they call the base function using K_FOREVER. Use the
base function if you want to have a timeout when net_buf
is allocated.

Change-Id: I20bb602ffb73069e5a02668fce60575141586c0f
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2017-02-08 10:12:35 +02:00
..
basic doc: fix .rst files canonical heading order 2017-01-20 16:06:36 -08:00
bluetooth net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
drivers samples: spi_flash: remove an unnecessary config symbol 2017-02-04 19:45:44 +00:00
environmental_sensing doc: fix wiki board reference back to web page 2017-01-26 23:06:04 +00:00
grove doc: fix .rst files canonical heading order 2017-01-20 16:06:36 -08:00
hello_world doc: fix .rst files canonical heading order 2017-01-20 16:06:36 -08:00
ipm license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
legacy license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
logger-hook license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
net net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
nfc/nfc_hello license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
philosophers samples: philosophers: adjust stack size and build by sanitycheck 2017-02-02 14:44:46 +00:00
power samples: power: Remove mention of specific versions in README 2017-02-08 06:28:25 +00:00
sensor samples: bmi160: reduce polling mode sampling frequency 2017-02-04 20:08:16 +00:00
shell license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
static_lib license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
synchronization doc: fix .rst files canonical heading order 2017-01-20 16:06:36 -08:00
testing license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
usb samples: webusb: fix type of bytes_read 2017-01-30 12:01:49 +00:00
advanced.rst doc: move documetnation context to root directory 2017-01-06 22:51:31 +00:00
kernel.rst doc: move documetnation context to root directory 2017-01-06 22:51:31 +00:00
samples.rst Bluetooth: Move Bluetooth docs to rst 2017-01-24 17:58:59 +00:00