Home
last modified time | relevance | path

Searched refs:msg_iovlen (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-latest/subsys/net/lib/sockets/
Dsockets.c81 for (size_t i = 0; i < msg->msg_iovlen; i++) { in msghdr_non_empty_iov_count()
403 msg->msg_iovlen * sizeof(struct iovec)); in z_vrfy_zsock_sendmsg()
409 for (i = 0; i < msg->msg_iovlen; i++) { in z_vrfy_zsock_sendmsg()
445 for (i = 0; i < msg_copy.msg_iovlen; i++) { in z_vrfy_zsock_sendmsg()
463 for (i = 0; i < msg_copy.msg_iovlen; i++) { in z_vrfy_zsock_sendmsg()
563 k_usermode_from_copy(&iovlen, &msg->msg_iovlen, sizeof(iovlen)); in z_vrfy_zsock_recvmsg()
569 msg->msg_iovlen * sizeof(struct iovec)); in z_vrfy_zsock_recvmsg()
579 memset(msg_copy.msg_iov, 0, msg->msg_iovlen * sizeof(struct iovec)); in z_vrfy_zsock_recvmsg()
651 k_usermode_to_copy(&msg->msg_iovlen, in z_vrfy_zsock_recvmsg()
652 &msg_copy.msg_iovlen, in z_vrfy_zsock_recvmsg()
[all …]
Dsockets_inet.c1141 if (msg->msg_iovlen < 1 || msg->msg_iov == NULL) { in zsock_recv_dgram()
1175 msg->msg_iovlen = iovec; in zsock_recv_dgram()
1332 if (msg->msg_iovlen < 1) { in zsock_recv_stream_timed()
1339 max_iovlen = msg->msg_iovlen; in zsock_recv_stream_timed()
1380 msg->msg_iovlen = iovec; in zsock_recv_stream_timed()
1494 for (i = 0; i < msg->msg_iovlen; i++) { in zsock_recvmsg_ctx()
Dsocketpair.c1083 for (size_t i = 0; i < msg->msg_iovlen; ++i) { in spair_sendmsg()
1106 for (size_t i = 0; i < msg->msg_iovlen; ++i) { in spair_sendmsg()
/Zephyr-latest/subsys/net/lib/mqtt/
Dmqtt_transport_socket_tcp.c93 for (i = 0; i < message->msg_iovlen; i++) { in mqtt_client_tcp_write_msg()
109 for (i = 0; i < message->msg_iovlen; i++) { in mqtt_client_tcp_write_msg()
Dmqtt_transport_websocket.c120 for (i = 0; i < message->msg_iovlen; i++) { in mqtt_client_websocket_write_msg()
121 if (i == message->msg_iovlen - 1) { in mqtt_client_websocket_write_msg()
Dmqtt_transport_socket_tls.c149 for (i = 0; i < message->msg_iovlen; i++) { in mqtt_client_tls_write_msg()
165 for (i = 0; i < message->msg_iovlen; i++) { in mqtt_client_tls_write_msg()
Dmqtt.c277 msg.msg_iovlen = ARRAY_SIZE(io_vector); in mqtt_publish()
/Zephyr-latest/drivers/can/
Dcan_native_linux_adapt.c126 msg.msg_iovlen = 1; in linux_socketcan_read_data()
/Zephyr-latest/tests/net/socket/socketpair/src/
Dhappy_path.c84 msghdr.msg_iovlen = 1; in happy_path()
/Zephyr-latest/tests/posix/headers/src/
Dsys_socket_h.c45 zassert_not_equal(-1, offsetof(struct msghdr, msg_iovlen)); in ZTEST()
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c381 for (i = 0, len = 0; i < client_msg->msg_iovlen; i++) { in comm_sendmsg_recvfrom()
456 msg.msg_iovlen = 1; in ZTEST_USER()
508 msg.msg_iovlen = 1; in ZTEST_USER()
560 msg.msg_iovlen = 1; in ZTEST_USER()
623 msg.msg_iovlen = 1; in ZTEST_USER()
683 msg.msg_iovlen = 1; in ZTEST_USER()
919 for (i = 0, len = 0; i < client_msg->msg_iovlen; i++) { in comm_sendmsg_with_txtime()
1084 msg.msg_iovlen = 1; in ZTEST_USER()
1438 msg.msg_iovlen = 1; in ZTEST_USER()
1489 for (i = 0, len = 0; i < client_msg->msg_iovlen; i++) { in comm_sendmsg_recvmsg()
[all …]
/Zephyr-latest/drivers/net/
Dnsos.h124 size_t msg_iovlen; /* number of elements in msg_iov */ member
Dnsos_adapt.c554 msg_iov = calloc(msg_mid->msg_iovlen, sizeof(*msg_iov)); in nsos_adapt_sendmsg()
560 for (size_t i = 0; i < msg_mid->msg_iovlen; i++) { in nsos_adapt_sendmsg()
568 msg.msg_iovlen = msg_mid->msg_iovlen; in nsos_adapt_sendmsg()
Dnsos_sockets.c859 msg_iov = k_calloc(msg->msg_iovlen, sizeof(*msg_iov)); in nsos_sendmsg()
865 for (size_t i = 0; i < msg->msg_iovlen; i++) { in nsos_sendmsg()
873 msg_mid.msg_iovlen = msg->msg_iovlen; in nsos_sendmsg()
/Zephyr-latest/drivers/modem/
Dublox-sara-r4.c310 for (int i = 0; i < msg->msg_iovlen; i++) { in send_socket_data()
412 for (int i = 0; i < msg->msg_iovlen; i++) { in send_socket_data()
1696 .msg_iovlen = 1, in offload_sendto()
1768 for (int i = 0; i < msg->msg_iovlen; i++) { in offload_sendmsg()
1777 msg->msg_iovlen, flags, full_len); in offload_sendmsg()
1783 crafted_msg.msg_iovlen = msg->msg_iovlen; in offload_sendmsg()
1792 crafted_msg.msg_iovlen -= 1; in offload_sendmsg()
Dquectel-bg9x.c819 LOG_DBG("msg_iovlen:%zd flags:%d", msg->msg_iovlen, flags); in offload_sendmsg()
821 for (int i = 0; i < msg->msg_iovlen; i++) { in offload_sendmsg()
/Zephyr-latest/tests/net/socket/tls/src/
Dmain.c132 for (int i = 0; i < msg->msg_iovlen; i++) { in test_sendmsg()
626 msg.msg_iovlen = 1, in test_dtls_sendmsg_no_buf()
640 msg.msg_iovlen = ARRAY_SIZE(iov); in test_dtls_sendmsg_no_buf()
714 msg.msg_iovlen = 2, in test_dtls_sendmsg()
732 msg.msg_iovlen = 3; in test_dtls_sendmsg()
751 msg.msg_iovlen = 1; in test_dtls_sendmsg()
774 msg.msg_iovlen = 2; in test_dtls_sendmsg()
/Zephyr-latest/subsys/tracing/ctf/
Dctf_top.c460 for (int i = 0; msg->msg_iov != NULL && i < msg->msg_iovlen; i++) { in sys_trace_socket_sendmsg_enter()
508 for (int i = 0; msg->msg_iov != NULL && i < msg->msg_iovlen; i++) { in sys_trace_socket_recvmsg_enter()
520 for (int i = 0; msg->msg_iov != NULL && i < msg->msg_iovlen; i++) { in sys_trace_socket_recvmsg_exit()
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_net.c77 msg.msg_iovlen = pos; in line_out()
/Zephyr-latest/subsys/net/lib/websocket/
Dwebsocket.c553 for (i = 0; i < message->msg_iovlen; i++) { in sendmsg_all()
587 for (i = 0; i < message->msg_iovlen; i++) { in sendmsg_all()
620 msg.msg_iovlen = ARRAY_SIZE(io_vector); in websocket_prepare_and_send()
/Zephyr-latest/subsys/net/lib/ptp/
Dtransport.c301 msghdr.msg_iovlen = 1; in ptp_transport_recv()
/Zephyr-latest/samples/net/sockets/txtime/src/
Dmain.c180 msg.msg_iovlen = 1; in tx()
/Zephyr-latest/tests/net/socket/tcp/src/
Dmain.c755 msg.msg_iovlen = 1; in ZTEST_USER()
772 msg.msg_iovlen = 2; in ZTEST_USER()
797 msg.msg_iovlen = 3; in ZTEST_USER()
801 for (i = 0, len = 0; i < msg.msg_iovlen; i++) { in ZTEST_USER()
/Zephyr-latest/include/zephyr/net/
Dnet_ip.h261 size_t msg_iovlen; /**< Number of elements in msg_iov */ member
/Zephyr-latest/tests/net/ieee802154/l2/src/
Dieee802154_test.c945 msg.msg_iovlen = 1; in test_raw_packet_sending()

12