Searched refs:frag2 (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/net/net_pkt/src/ |
D | main.c | 898 struct net_buf *frag2; in ZTEST() local 921 frag2 = net_buf_alloc_len(&test_net_pkt_headroom_pool, 2, K_NO_WAIT); in ZTEST() 922 net_buf_reserve(frag2, 2); in ZTEST() 923 net_pkt_append_buffer(pkt, frag2); in ZTEST() 947 zassert_equal(frag2->size, 2, "Size mismatch"); in ZTEST() 948 zassert_equal(frag2->len, 0, "Length mismatch"); in ZTEST() 959 net_buf_push_u8(frag2, 'C'); in ZTEST() 960 net_buf_push_u8(frag2, 'B'); in ZTEST()
|
/Zephyr-latest/tests/lib/net_buf/buf/src/ |
D | main.c | 276 struct net_buf *frag2 = buf->frags; in ZTEST() local 278 net_buf_frag_del(buf, frag2); in ZTEST() 279 net_buf_unref(frag2); in ZTEST()
|