Home
last modified time | relevance | path

Searched refs:send_data (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/tests/posix/common/src/
Dmqueue.c21 static char send_data[MESSAGE_SIZE] = "timed data send"; variable
40 zassert_false(mq_timedsend(mqd, send_data, MESSAGE_SIZE, 0, &curtime), in sender_thread()
59 zassert_false(strcmp(rec_data, send_data), "Error in data reception. exp: %s act: %s", in receiver_thread()
60 send_data, rec_data); in receiver_thread()
109 zassert_ok(strcmp(rec_data, send_data), in notify_function_basic()
110 "Error in data reception. exp: %s act: %s", send_data, rec_data); in notify_function_basic()
139 zassert_ok(mq_send(mqd, send_data, MESSAGE_SIZE, 0), "Unable to send message"); in ZTEST()
158 zassert_ok(strcmp(rec_data, send_data), in notify_function_thread()
159 "Error in data reception. exp: %s act: %s", send_data, rec_data); in notify_function_thread()
188 zassert_ok(mq_send(mqd, send_data, MESSAGE_SIZE, 0), "Unable to send message"); in ZTEST()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/iso/bis/src/
Dbis_broadcaster.c35 static void send_data(struct bt_iso_chan *chan) in send_data() function
86 send_data(default_chan); in send_data_cb()
119 send_data(chan); in sdu_sent_cb()
223 send_data(default_chan); in start_tx()
/Zephyr-latest/tests/bsim/bluetooth/host/iso/frag/src/
Dbroadcaster.c27 static int send_data(struct bt_iso_chan *chan, bool ts) in send_data() function
204 err = send_data(default_chan, 0); in entrypoint_broadcaster()
213 err = send_data(default_chan, 1); in entrypoint_broadcaster()
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_offload.h40 void *send_data; member
Deswifi_offload.c235 user_data = socket->send_data; in eswifi_off_send_work()
274 socket->send_data = user_data; in eswifi_off_send()
330 socket->send_data = user_data; in eswifi_off_sendto()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_brg.c323 static int send_data(uint16_t dst, uint8_t payload, const uint8_t *uuid) in send_data() function
480 ASSERT_OK(send_data(DEVICE_ADDR_START + i, payload + j, NULL)); in send_and_receive()
526 ASSERT_OK(send_data(DEVICE_ADDR_START + i, payload + j, NULL)); in test_tester_simple()
575 ASSERT_OK(send_data(addr, i, uuid)); in tester_simple_multicast()
600 ASSERT_OK(send_data(addr, i, uuid)); in tester_simple_multicast()
686 ASSERT_OK(send_data(DEVICE_ADDR_START, 0xAA, NULL)); in test_tester_table_state_change()
695 ASSERT_OK(send_data(DEVICE_ADDR_START, 0xAA, NULL)); in test_tester_table_state_change()
760 ASSERT_OK(send_data(DEVICE_ADDR_START, 0xAA, NULL)); in test_tester_net_key_remove()
/Zephyr-latest/tests/bsim/bluetooth/host/iso/frag_2/src/
Dbroadcaster.c32 static int send_data(struct bt_iso_chan *chan) in send_data() function
233 err = send_data(default_chan); in entrypoint_broadcaster()
/Zephyr-latest/samples/net/wpan_serial/src/
Dmain.c172 static void send_data(uint8_t *cfg, uint8_t *data, size_t len) in send_data() function
209 send_data(cfg, mac, sizeof(mac)); in get_ieee_addr()
236 send_data(cfg, report, sizeof(report)); in send_pkt_report()
/Zephyr-latest/tests/subsys/canbus/isotp/implementation/src/
Dmain.c160 static void check_data(const uint8_t *recv_data, const uint8_t *send_data, size_t len) in check_data() argument
164 ret = memcmp(send_data, recv_data, len); in check_data()
167 print_hex(send_data, len); in check_data()
/Zephyr-latest/subsys/net/ip/
Dtcp_private.h150 (_conn), net_pkt_get_len((_conn)->send_data), \
259 struct net_pkt *send_data; member
Dnet_core.c372 SYS_PORT_TRACING_FUNC_ENTER(net, send_data, pkt); in net_send_data()
429 SYS_PORT_TRACING_FUNC_EXIT(net, send_data, pkt, ret); in net_send_data()
Dtcp.c796 tcp_pkt_unref(conn->send_data); in tcp_conn_release()
1762 ret = tcp_pkt_peek(pkt, conn->send_data, conn->unacked_len, len); in tcp_send_data()
2114 conn->send_data = tcp_pkt_alloc(conn, 0); in tcp_conn_alloc()
2115 if (conn->send_data == NULL) { in tcp_conn_alloc()
3186 (tcp_pkt_pull(conn->send_data, in tcp_in()
3754 ret = tcp_pkt_append(conn->send_data, in net_tcp_queue()
3773 ret = tcp_pkt_append(conn->send_data, data, len); in net_tcp_queue()
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/src/
Dmain.c170 static void send_data(struct broadcast_source_stream *source_stream) in send_data() function
295 send_data(&streams[i]); in init_lc3_thread()
379 send_data(source_stream); in stream_sent_cb()
/Zephyr-latest/tests/net/socket/tls/src/
Dmain.c522 struct send_data { struct
532 struct send_data *test_data = in send_work_handler() argument
533 CONTAINER_OF(dwork, struct send_data, tx_work); in send_work_handler()
542 struct send_data test_data = { in test_msg_trunc()
1132 struct send_data test_data = { in ZTEST()
1365 struct send_data test_data = { in ZTEST()
1508 struct send_data test_data_c = { in ZTEST()
1512 struct send_data test_data_s = { in ZTEST()
1579 struct send_data test_data = { in ZTEST()
/Zephyr-latest/subsys/net/lib/tftp/
Dtftp_client.c53 static int send_data(int sock, struct tftpc *client, uint32_t block_no, const uint8_t *data_buffer, in send_data() function
433 ret = send_data(sock, client, tftpc_block_no, send_buffer, send_size); in tftp_put()
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_l2cap.c411 static uint8_t send_data(const void *cmd, uint16_t cmd_len, in send_data() function
647 .func = send_data,
/Zephyr-latest/drivers/modem/
Dwncm14a2a.c339 static int send_data(struct wncm14a2a_socket *sock, struct net_pkt *pkt) in send_data() function
1641 ret = send_data(sock, pkt); in offload_sendto()
Dhl7800.c1411 static int send_data(struct hl7800_socket *sock, struct net_pkt *pkt) in send_data() function
6115 ret = send_data(sock, pkt); in offload_sendto()