Home
last modified time | relevance | path

Searched refs:iov_base (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/subsys/net/lib/sockets/
Dsockets.c410 msg_copy.msg_iov[i].iov_base = in z_vrfy_zsock_sendmsg()
411 k_usermode_alloc_from_copy(msg->msg_iov[i].iov_base, in z_vrfy_zsock_sendmsg()
413 if (!msg_copy.msg_iov[i].iov_base) { in z_vrfy_zsock_sendmsg()
446 k_free(msg_copy.msg_iov[i].iov_base); in z_vrfy_zsock_sendmsg()
464 if (msg_copy.msg_iov[i].iov_base) { in z_vrfy_zsock_sendmsg()
465 k_free(msg_copy.msg_iov[i].iov_base); in z_vrfy_zsock_sendmsg()
588 msg_copy.msg_iov[i].iov_base = in z_vrfy_zsock_recvmsg()
589 k_usermode_alloc_from_copy(msg->msg_iov[i].iov_base, in z_vrfy_zsock_recvmsg()
591 if (!msg_copy.msg_iov[i].iov_base) { in z_vrfy_zsock_recvmsg()
660 K_OOPS(k_usermode_to_copy(msg->msg_iov[i].iov_base, in z_vrfy_zsock_recvmsg()
[all …]
Dsockets_inet.c1152 buf = msg->msg_iov[iovec].iov_base; in zsock_recv_dgram()
1336 buf = msg->msg_iov[iovec].iov_base; in zsock_recv_stream_timed()
1369 buf = (uint8_t *)(msg->msg_iov[iovec].iov_base) + res; in zsock_recv_stream_timed()
1381 buf = msg->msg_iov[iovec].iov_base; in zsock_recv_stream_timed()
Dsocketpair.c1107 res = spair_write(spair, msg->msg_iov[i].iov_base, in spair_sendmsg()
Dsockets_tls.c2486 memcpy(sendmsg_buf + len, vec->iov_base, vec->iov_len); in dtls_sendmsg_merge_and_send()
2517 uint8_t *ptr = (uint8_t *)vec->iov_base + sent; in tls_sendmsg_loop_and_send()
/Zephyr-latest/subsys/net/lib/mqtt/
Dmqtt_transport_socket_tcp.c112 message->msg_iov[i].iov_base = in mqtt_client_tcp_write_msg()
113 (uint8_t *)message->msg_iov[i].iov_base + ret; in mqtt_client_tcp_write_msg()
Dmqtt_transport_socket_tls.c168 message->msg_iov[i].iov_base = in mqtt_client_tls_write_msg()
169 (uint8_t *)message->msg_iov[i].iov_base + ret; in mqtt_client_tls_write_msg()
Dmqtt_transport_websocket.c126 message->msg_iov[i].iov_base, in mqtt_client_websocket_write_msg()
Dmqtt.c269 io_vector[0].iov_base = packet.cur; in mqtt_publish()
271 io_vector[1].iov_base = param->message.payload.data; in mqtt_publish()
/Zephyr-latest/drivers/can/
Dcan_native_linux_adapt.c122 .iov_base = buf, in linux_socketcan_read_data()
/Zephyr-latest/tests/net/socket/websocket/src/
Dmain.c306 ret = test_recv_buf(msg->msg_iov[0].iov_base, in verify_sent_and_received_msg()
320 ret = test_recv_buf(msg->msg_iov[1].iov_base, in verify_sent_and_received_msg()
331 ret = test_recv_buf((uint8_t *)msg->msg_iov[1].iov_base + in verify_sent_and_received_msg()
/Zephyr-latest/tests/net/socket/socketpair/src/
Dhappy_path.c85 iovec.iov_base = (void *)expected_msg; in happy_path()
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_net.c62 io_vector[pos].iov_base = (void *)len; in line_out()
72 io_vector[pos].iov_base = (void *)data; in line_out()
/Zephyr-latest/drivers/modem/
Dublox-sara-r4.c311 if (!msg->msg_iov[i].iov_base || msg->msg_iov[i].iov_len == 0) { in send_socket_data()
418 mctx.iface.write(&mctx.iface, msg->msg_iov[i].iov_base, len); in send_socket_data()
1692 .iov_base = (void *)buf, in offload_sendto()
1769 if (!msg->msg_iov[i].iov_base || msg->msg_iov[i].iov_len == 0) { in offload_sendmsg()
1802 bkp_iovec.iov_base = msg->msg_iov[i].iov_base; in offload_sendmsg()
1808 msg->msg_iov[i].iov_base = &(((uint8_t *)msg->msg_iov[i].iov_base)[to_removed]); in offload_sendmsg()
1821 msg->msg_iov[bkp_iovec_idx].iov_base = bkp_iovec.iov_base; in offload_sendmsg()
Dquectel-bg9x.c822 const char *buf = msg->msg_iov[i].iov_base; in offload_sendmsg()
/Zephyr-latest/drivers/net/
Dnsos.h116 void *iov_base; member
Dnsos_adapt.c561 msg_iov[i].iov_base = msg_mid->msg_iov[i].iov_base; in nsos_adapt_sendmsg()
Dnsos_sockets.c866 msg_iov[i].iov_base = msg->msg_iov[i].iov_base; in nsos_sendmsg()
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c449 io_vector[0].iov_base = TEST_STR_SMALL; in ZTEST_USER()
503 io_vector[0].iov_base = TEST_STR_SMALL; in ZTEST_USER()
553 io_vector[0].iov_base = TEST_STR_SMALL; in ZTEST_USER()
616 io_vector[0].iov_base = TEST_STR_SMALL; in ZTEST_USER()
676 io_vector[0].iov_base = TEST_STR_SMALL; in ZTEST_USER()
1077 io_vector[0].iov_base = TEST_STR_SMALL; in ZTEST_USER()
1419 io_vector[0].iov_base = TEST_STR_SMALL; in ZTEST_USER()
1496 io_vector[0].iov_base = buf; in comm_sendmsg_recvmsg()
1568 io_vector[0].iov_base = buf2; in comm_sendmsg_recvmsg()
1570 io_vector[1].iov_base = buf; in comm_sendmsg_recvmsg()
[all …]
/Zephyr-latest/tests/net/socket/tls/src/
Dmain.c608 .iov_base = TEST_STR_SMALL, in test_dtls_sendmsg_no_buf()
653 iov[0].iov_base = TEST_STR_SMALL; in test_dtls_sendmsg_no_buf()
692 .iov_base = TEST_STR_SMALL, in test_dtls_sendmsg()
696 .iov_base = TEST_STR_SMALL, in test_dtls_sendmsg()
727 iov[1].iov_base = NULL; in test_dtls_sendmsg()
729 iov[2].iov_base = TEST_STR_SMALL; in test_dtls_sendmsg()
748 iov[0].iov_base = buf; in test_dtls_sendmsg()
769 iov[0].iov_base = buf; in test_dtls_sendmsg()
771 iov[1].iov_base = &dummy_byte; in test_dtls_sendmsg()
/Zephyr-latest/tests/net/socket/tcp/src/
Dmain.c750 io_vector[0].iov_base = buf; in ZTEST_USER()
765 io_vector[0].iov_base = buf2; in ZTEST_USER()
767 io_vector[1].iov_base = buf; in ZTEST_USER()
777 zassert_mem_equal(msg.msg_iov[0].iov_base, TEST_STR_SMALL, msg.msg_iov[0].iov_len, in ZTEST_USER()
779 zassert_mem_equal(msg.msg_iov[1].iov_base, &TEST_STR_SMALL[msg.msg_iov[0].iov_len], in ZTEST_USER()
788 io_vector[0].iov_base = buf; in ZTEST_USER()
790 io_vector[1].iov_base = buf2; in ZTEST_USER()
792 io_vector[2].iov_base = buf3; in ZTEST_USER()
806 zassert_mem_equal(msg.msg_iov[0].iov_base, TEST_STR_LONG, msg.msg_iov[0].iov_len, in ZTEST_USER()
808 zassert_mem_equal(msg.msg_iov[1].iov_base, &TEST_STR_LONG[msg.msg_iov[0].iov_len], in ZTEST_USER()
[all …]
/Zephyr-latest/subsys/net/lib/websocket/
Dwebsocket.c590 message->msg_iov[i].iov_base = in sendmsg_all()
591 (uint8_t *)message->msg_iov[i].iov_base + ret; in sendmsg_all()
612 io_vector[0].iov_base = header; in websocket_prepare_and_send()
614 io_vector[1].iov_base = payload; in websocket_prepare_and_send()
/Zephyr-latest/subsys/net/lib/ptp/
Dtransport.c296 .iov_base = msg, in ptp_transport_recv()
/Zephyr-latest/samples/net/sockets/txtime/src/
Dmain.c174 io_vector[0].iov_base = (void *)txtime_str; in tx()
/Zephyr-latest/include/zephyr/net/
Dnet_ip.h251 void *iov_base; /**< Pointer to data */ member
/Zephyr-latest/tests/net/ieee802154/l2/src/
Dieee802154_test.c942 io_vector.iov_base = raw_payload; in test_raw_packet_sending()

12