zephyr/include/net
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
..
arp.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
bt.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
buf.h net: buf: Fix timeout parameter documentation 2017-02-03 15:24:07 +00:00
dhcpv4.h doc: Include main Network APIs doxygen documentation 2017-02-03 15:59:17 +02:00
dns_client.h net/dns: Fix inline documentation 2017-02-07 22:33:47 +00:00
ethernet.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
http_parser.h net: Restructure network protocols 2017-01-02 10:03:19 +01:00
ieee802154_radio.h net/ieee802154: Modify radio TX function signature 2017-01-27 12:35:53 +02:00
ieee802154.h net/ieee802154/mgmt: Add getters/setters for various radio network info 2017-02-03 15:59:19 +02:00
mii.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
mqtt_types.h doc/api/networking: Add existing network protocol libraries APIs 2017-02-03 15:59:18 +02:00
mqtt.h doc/api/networking: Add existing network protocol libraries APIs 2017-02-03 15:59:18 +02:00
nbuf.h net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
net_context.h net: context: Assign a random port number when context is created 2017-02-03 15:59:20 +02:00
net_core.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
net_event.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
net_if.h net: Introduce NET_IF_POINTOPOINT flag 2017-02-03 15:59:19 +02:00
net_ip.h doc: Include main Network APIs doxygen documentation 2017-02-03 15:59:17 +02:00
net_l2.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
net_linkaddr.h net: linkaddr: introduce net_linkaddr_set function 2017-01-20 16:23:16 +02:00
net_mgmt.h doc: Include main Network APIs doxygen documentation 2017-02-03 15:59:17 +02:00
net_stats.h net: stats: Collect bytes sent and received 2017-02-03 15:59:20 +02:00
offload_ip.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
trickle.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
zoap_link_format.h doc/api/networking: Add existing network protocol libraries APIs 2017-02-03 15:59:18 +02:00
zoap.h iot/zoap: Fix the return value of zoap_packet_get_payload() 2017-02-03 15:59:19 +02:00