Lines Matching refs:tx_msg

115     BIO_MSG tx_msg[128], rx_msg[128];  in test_bio_dgram_impl()  local
237 tx_msg[0].data = "apple"; in test_bio_dgram_impl()
238 tx_msg[0].data_len = 5; in test_bio_dgram_impl()
239 tx_msg[0].peer = NULL; in test_bio_dgram_impl()
240 tx_msg[0].local = NULL; in test_bio_dgram_impl()
241 tx_msg[0].flags = 0; in test_bio_dgram_impl()
243 tx_msg[1].data = "orange"; in test_bio_dgram_impl()
244 tx_msg[1].data_len = 6; in test_bio_dgram_impl()
245 tx_msg[1].peer = NULL; in test_bio_dgram_impl()
246 tx_msg[1].local = NULL; in test_bio_dgram_impl()
247 tx_msg[1].flags = 0; in test_bio_dgram_impl()
250 if (!TEST_false(do_sendmmsg(b1, tx_msg, 2, 0, &num_processed)) in test_bio_dgram_impl()
258 tx_msg[0].peer = addr2; in test_bio_dgram_impl()
259 tx_msg[0].local = addr1; in test_bio_dgram_impl()
260 tx_msg[1].peer = addr2; in test_bio_dgram_impl()
261 tx_msg[1].local = addr1; in test_bio_dgram_impl()
262 if (!TEST_false(do_sendmmsg(b1, tx_msg, 2, 0, &num_processed) in test_bio_dgram_impl()
271 tx_msg[0].local = NULL; in test_bio_dgram_impl()
272 tx_msg[1].local = NULL; in test_bio_dgram_impl()
277 if (!TEST_true(do_sendmmsg(b1, tx_msg, 2, 0, &num_processed)) in test_bio_dgram_impl()
359 if (!TEST_true(do_sendmmsg(b1, tx_msg, 2, 0, &num_processed)) in test_bio_dgram_impl()
384 for (i = 0; i < OSSL_NELEM(tx_msg); ++i) { in test_bio_dgram_impl()
386 tx_msg[i].data = tx_buf + i; in test_bio_dgram_impl()
387 tx_msg[i].data_len = 1; in test_bio_dgram_impl()
388 tx_msg[i].peer = addr2; in test_bio_dgram_impl()
389 tx_msg[i].local = use_local ? addr1 : NULL; in test_bio_dgram_impl()
390 tx_msg[i].flags = 0; in test_bio_dgram_impl()
392 if (!TEST_true(do_sendmmsg(b1, tx_msg, OSSL_NELEM(tx_msg), 0, &num_processed)) in test_bio_dgram_impl()
393 || !TEST_size_t_eq(num_processed, OSSL_NELEM(tx_msg))) in test_bio_dgram_impl()
412 if (!TEST_mem_eq(tx_buf, OSSL_NELEM(tx_msg), rx_buf, OSSL_NELEM(tx_msg))) in test_bio_dgram_impl()