Lines Matching refs:smpt
17 static struct smp_transport smpt; variable
35 smp_reassembly_init(&smpt); in ZTEST()
43 zassert_equal(-ENOSR, smp_reassembly_collect(&smpt, buff, TRANSPORT_NETBUF_SIZE + 1), in ZTEST()
47 smp_reassembly_collect(&smpt, buff, sizeof(struct smp_hdr) - 1), in ZTEST()
52 smp_reassembly_collect(&smpt, buff, sizeof(struct smp_hdr) + 1), in ZTEST()
59 ret = smp_reassembly_collect(&smpt, buff, frag_used); in ZTEST()
64 ret = smp_reassembly_complete(&smpt, true); in ZTEST()
71 ret = smp_reassembly_collect(&smpt, buff, frag_used); in ZTEST()
92 ret = smp_reassembly_collect(&smpt, buff, frag_used); in ZTEST()
96 ret = smp_reassembly_drop(&smpt); in ZTEST()
118 ret = smp_reassembly_collect(&smpt, buff, frag); in ZTEST()
126 ret = smp_reassembly_collect(&smpt, &buff[pkt_used], frag); in ZTEST()
133 ret = smp_reassembly_complete(&smpt, false); in ZTEST()
138 ret = smp_reassembly_collect(&smpt, &buff[pkt_used], expected); in ZTEST()
143 ret = smp_reassembly_collect(&smpt, buff, 1); in ZTEST()
148 ret = smp_reassembly_complete(&smpt, false); in ZTEST()
168 ret = smp_reassembly_complete(&smpt, false); in ZTEST()
171 ret = smp_reassembly_complete(&smpt, true); in ZTEST()
176 ret = smp_reassembly_drop(&smpt); in ZTEST()
190 p = smp_reassembly_get_ud(&smpt); in ZTEST()
197 ret = smp_reassembly_collect(&smpt, buff, frag_used); in ZTEST()
201 p = smp_reassembly_get_ud(&smpt); in ZTEST()
203 smp_reassembly_drop(&smpt); in ZTEST()