mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-05 22:21:56 +00:00
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> |
||
---|---|---|
.. | ||
arp.h | ||
buf.h | ||
dhcpv4.h | ||
ethernet.h | ||
ieee802154_radio.h | ||
ieee802154.h | ||
mii.h | ||
nbuf.h | ||
net_context.h | ||
net_core.h | ||
net_event.h | ||
net_if.h | ||
net_ip.h | ||
net_l2.h | ||
net_linkaddr.h | ||
net_mgmt.h | ||
net_stats.h | ||
offload_ip.h | ||
trickle.h |