Home
last modified time | relevance | path

Searched refs:buf_user_data_big (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/tests/lib/net_buf/buf/src/
Dmain.c835 struct net_buf *buf_user_data_small, *buf_user_data_big; in ZTEST() local
844 buf_user_data_big = net_buf_alloc_len(&var_pool, 1, K_NO_WAIT); in ZTEST()
845 zassert_not_null(buf_user_data_big, "Failed to get buffer"); in ZTEST()
846 dst_user_data = net_buf_user_data(buf_user_data_big); in ZTEST()
849 zassert_ok(net_buf_user_data_copy(buf_user_data_big, buf_user_data_small)); in ZTEST()
853 zassert_not_ok(net_buf_user_data_copy(buf_user_data_small, buf_user_data_big), in ZTEST()
856 net_buf_unref(buf_user_data_big); in ZTEST()