Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/net_pkt/src/
Dmain.c905 struct net_buf *frag1; in ZTEST() local
922 frag1 = net_buf_alloc_len(&test_net_pkt_headroom_pool, 2, K_NO_WAIT); in ZTEST()
923 net_buf_reserve(frag1, 1); in ZTEST()
924 net_pkt_append_buffer(pkt, frag1); in ZTEST()
953 zassert_equal(frag1->size, 2, "Size mismatch"); in ZTEST()
954 zassert_equal(frag1->len, 1, "Length mismatch"); in ZTEST()
969 net_buf_push_u8(frag1, 'A'); in ZTEST()