zephyr/include/net
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
..
arp.h
buf.h net: buf: Add net_buf_add_mem() API 2016-12-24 16:27:08 +00:00
dhcpv4.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
ethernet.h net: l2: ethernet: Handle Ethernet II minimal frame size relevantly 2016-12-16 19:14:54 +01:00
ieee802154_radio.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
ieee802154.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
mii.h
nbuf.h net: nbuf: Provide metadata info for sent TCP buf 2016-12-02 12:41:19 +02:00
net_context.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
net_core.h logging: move sys_log to subsys/logging 2016-12-19 19:58:39 +00:00
net_event.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
net_if.h net: Fix stack info collector in net shell 2016-12-02 12:41:18 +02:00
net_ip.h net: Add ARG_UNUSED 2016-12-21 12:54:49 +00:00
net_l2.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
net_linkaddr.h
net_mgmt.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
net_stats.h
offload_ip.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
trickle.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00