Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/socket/af_packet/src/
Dmain.c222 uint8_t data_to_send[] = { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 }; in ZTEST() local
223 uint8_t data_to_receive[sizeof(data_to_send) + HDR_SIZE]; in ZTEST()
244 sent = zsock_sendto(sock4, data_to_send, sizeof(data_to_send), in ZTEST()
246 zassert_equal(sent, sizeof(data_to_send), "sendto failed"); in ZTEST()
258 zassert_equal(ret, sizeof(data_to_send), "Cannot receive all data (%d)", in ZTEST()
260 zassert_mem_equal(data_to_receive, data_to_send, sizeof(data_to_send), in ZTEST()
276 zassert_equal(ret, sizeof(data_to_send) + HDR_SIZE, in ZTEST()
278 ret, sizeof(data_to_send), -errno); in ZTEST()
279 zassert_mem_equal(&data_to_receive[HDR_SIZE], data_to_send, in ZTEST()
280 sizeof(data_to_send), in ZTEST()
[all …]
/Zephyr-latest/modules/hal_nordic/nrfs/backends/
Dnrfs_backend_ipc_service.c125 struct ipc_data_packet data_to_send; in nrfs_backend_send_work() local
128 while (k_msgq_get(&ipc_transmit_msgq, &data_to_send, K_NO_WAIT) == 0) { in nrfs_backend_send_work()
129 ipc_service_send(&ipc_cpusys_channel_config.ipc_ept, &data_to_send.data, in nrfs_backend_send_work()
130 data_to_send.size); in nrfs_backend_send_work()
/Zephyr-latest/samples/net/capture/src/
Dmain.c31 struct data_to_send { struct
85 static const struct data_to_send data[] = {
/Zephyr-latest/subsys/net/lib/websocket/
Dwebsocket.c658 uint8_t *data_to_send = (uint8_t *)payload; in websocket_send_msg() local
731 data_to_send = k_malloc(payload_len); in websocket_send_msg()
732 if (!data_to_send) { in websocket_send_msg()
736 memcpy(data_to_send, payload, payload_len); in websocket_send_msg()
739 data_to_send[i] ^= ctx->masking_value >> (8 * (3 - i % 4)); in websocket_send_msg()
745 data_to_send, payload_len, timeout); in websocket_send_msg()
752 if (data_to_send != payload) { in websocket_send_msg()
753 k_free(data_to_send); in websocket_send_msg()