mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-15 12:45:21 +00:00
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> |
||
---|---|---|
.. | ||
eth_dw_priv.h | ||
eth_dw.c | ||
eth_enc28j60_priv.h | ||
eth_enc28j60.c | ||
eth_mcux.c | ||
eth_sam_gmac_priv.h | ||
eth_sam_gmac.c | ||
Kconfig | ||
Kconfig.dw | ||
Kconfig.enc28j60 | ||
Kconfig.mcux | ||
Kconfig.sam_gmac | ||
Makefile | ||
phy_sam_gmac.c | ||
phy_sam_gmac.h |