zephyr/drivers
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
..
adc license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
aio license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
bluetooth Bluetooth: SPI: Disable IRQ pin callback to avoid spurious IRQs 2017-01-28 08:43:41 +02:00
clock_control clock_control: nrf5_power: Use CMSIS NVIC APIs directly 2017-01-23 15:15:55 -06:00
console net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
counter counter: cmsdk: Add Dualtimer as a Timer 2017-01-23 15:15:54 -06:00
dma license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
ethernet net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
flash flash: Update mcux shim to new mcux version 2017-01-30 11:02:35 -06:00
gpio gpio/nrf5: Implement port read and write 2017-02-06 13:15:50 +00:00
grove license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
i2c i2c/dw: Switch from EPERM to EIO 2017-02-07 18:32:37 +00:00
ieee802154 net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
interrupt_controller build: add _ASMLANGUAGE to all asm files 2017-01-24 13:34:51 +00:00
ipm license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
pci license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
pinmux pinmux: unify galileo pinmux driver 2017-01-25 20:43:18 +00:00
pwm license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
random license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
rtc license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
sensor drivers: bmi160: add sample ready check 2017-02-04 19:45:31 +00:00
serial drivers: Add basic Atmel SAM USART driver 2017-02-01 21:01:18 +00:00
shared_irq license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
slip net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
spi drivers: spi: enable gpio driver automatically when needed 2017-01-24 13:47:22 +00:00
timer riscv32: timer: replace riscv_qemu_driver by the generic riscv_machine_driver 2017-02-03 19:20:52 +01:00
usb license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
watchdog drivers: QMSI WDT: simplify driver reentrancy code using IS_ENABLED macro 2017-01-19 16:48:42 -08:00
Kconfig license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile net: Make native IP stack the default 2016-12-02 12:41:17 +02:00