/Zephyr-Core-3.5.0/tests/net/icmp/src/ |
D | main.c | 69 } send_ctx, recv_ctx; variable 123 net_pkt_set_iface(send_pkt, send_ctx.iface); in test_receiver() 125 (void)net_recv_data(send_ctx.iface, send_pkt); in test_receiver() 142 NET_DEVICE_INIT(test_sender_icmp, "test_sender_icmp", NULL, NULL, &send_ctx, NULL, 479 params.data = send_ctx.test_data; in ZTEST() 480 params.data_size = sizeof(send_ctx.test_data); in ZTEST() 485 &send_ctx); in ZTEST() 488 k_sem_take(&send_ctx.tx_sem, SEM_WAIT_TIME); in ZTEST() 490 zassert_true(send_ctx.req_received, "Did not receive Echo-Request"); in ZTEST() 495 send_ctx.req_received = false; in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/ |
D | mesh_test.c | 398 struct sync_send_ctx *send_ctx = data; in tx_started() local 403 send_ctx->err = err; in tx_started() 404 k_sem_give(&send_ctx->sem); in tx_started() 414 struct sync_send_ctx *send_ctx = data; in tx_ended() local 416 send_ctx->err = err; in tx_ended() 424 k_sem_give(&send_ctx->sem); in tx_ended() 491 struct sync_send_ctx send_ctx; in bt_mesh_test_send() local 494 k_sem_init(&send_ctx.sem, 0, 1); in bt_mesh_test_send() 495 err = bt_mesh_test_send_async(addr, uuid, len, flags, &send_cb, &send_ctx); in bt_mesh_test_send() 500 err = k_sem_take(&send_ctx.sem, timeout); in bt_mesh_test_send() [all …]
|
/Zephyr-Core-3.5.0/tests/subsys/canbus/isotp/conformance/src/ |
D | mode_check.c | 17 static struct isotp_send_ctx send_ctx; variable 60 err = isotp_send(&send_ctx, can_dev, buf, sizeof(buf), &rx_addr, &tx_addr, NULL, NULL); in ZTEST()
|
D | main.c | 152 static struct isotp_send_ctx send_ctx; variable 195 ret = isotp_send(&send_ctx, can_dev, random_data, DATA_SIZE_SF, in send_sf() 225 ret = isotp_send(&send_ctx, can_dev, data, len, &rx_addr, &tx_addr, in send_test_data() 461 ret = isotp_send(&send_ctx, can_dev, random_data, DATA_SIZE_SF_EXT, in ZTEST() 518 ret = isotp_send(&send_ctx, can_dev, random_data, DATA_SIZE_SF, in ZTEST() 762 ret = isotp_send(&send_ctx, can_dev, random_data, sizeof(random_data), in ZTEST() 774 ret = isotp_send(&send_ctx, can_dev, random_data, sizeof(random_data), in ZTEST() 791 ret = isotp_send(&send_ctx, can_dev, random_data, sizeof(random_data), in ZTEST() 980 ret = isotp_send(&send_ctx, can_dev, random_data, DATA_SEND_LENGTH, in ZTEST() 992 ret = isotp_send(&send_ctx, can_dev, random_data, DATA_SEND_LENGTH, in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/tests/subsys/canbus/isotp/implementation/src/ |
D | main.c | 47 struct isotp_send_ctx send_ctx; variable 59 ret = isotp_send(&send_ctx, can_dev, random_data, DATA_SIZE_SF, in send_sf() 109 ret = isotp_send(&send_ctx, can_dev, data, len, &rx_addr, &tx_addr, in send_test_data()
|