Home
last modified time | relevance | path

Searched refs:iovec (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/tests/net/socket/socketpair/src/
Dhappy_path.c22 struct iovec iovec; in happy_path() local
83 msghdr.msg_iov = &iovec; in happy_path()
85 iovec.iov_base = (void *)expected_msg; in happy_path()
86 iovec.iov_len = expected_msg_len; in happy_path()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_inet.c1138 int iovec = 0; in zsock_recv_dgram() local
1152 buf = msg->msg_iov[iovec].iov_base; in zsock_recv_dgram()
1158 len = MIN(tmp_read_len, msg->msg_iov[iovec].iov_len); in zsock_recv_dgram()
1167 msg->msg_iov[iovec].iov_len = len; in zsock_recv_dgram()
1168 iovec++; in zsock_recv_dgram()
1175 msg->msg_iovlen = iovec; in zsock_recv_dgram()
1328 size_t recv_len = 0, iovec = 0, available_len, max_iovlen = 0; in zsock_recv_stream_timed() local
1336 buf = msg->msg_iov[iovec].iov_base; in zsock_recv_stream_timed()
1337 available_len = msg->msg_iov[iovec].iov_len; in zsock_recv_stream_timed()
1338 msg->msg_iov[iovec].iov_len = 0; in zsock_recv_stream_timed()
[all …]
Dsockets.c403 msg->msg_iovlen * sizeof(struct iovec)); in z_vrfy_zsock_sendmsg()
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()
Dsockets_tls.c2477 struct iovec *vec = msg->msg_iov + i; in dtls_sendmsg_merge_and_send()
2509 struct iovec *vec = msg->msg_iov + i; in tls_sendmsg_loop_and_send()
/Zephyr-latest/drivers/can/
Dcan_native_linux_adapt.c121 struct iovec iov = { in linux_socketcan_read_data()
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c430 struct iovec io_vector[1]; in ZTEST_USER()
488 struct iovec io_vector[1]; in ZTEST_USER()
535 struct iovec io_vector[1]; in ZTEST_USER()
593 struct iovec io_vector[1]; in ZTEST_USER()
654 struct iovec io_vector[1]; in ZTEST_USER()
1064 struct iovec io_vector[1]; in ZTEST_USER()
1409 struct iovec io_vector[1]; in ZTEST_USER()
1467 struct iovec io_vector[2]; in comm_sendmsg_recvmsg()
1670 struct iovec io_vector[1]; in ZTEST_USER()
1724 struct iovec io_vector[1]; in run_ancillary_recvmsg_test()
[all …]
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_net.c50 struct iovec io_vector[2]; in line_out()
/Zephyr-latest/subsys/net/lib/ptp/
Dtransport.c295 struct iovec iov = { in ptp_transport_recv()
/Zephyr-latest/include/zephyr/net/
Dnet_ip.h250 struct iovec { struct
260 struct iovec *msg_iov; /**< Scatter/gather array */ argument
/Zephyr-latest/tests/net/socket/tls/src/
Dmain.c133 struct iovec *vec = msg->msg_iov + i; in test_sendmsg()
605 struct iovec iov[3] = { in test_dtls_sendmsg_no_buf()
690 struct iovec iov[3] = { in test_dtls_sendmsg()
/Zephyr-latest/samples/net/sockets/txtime/src/
Dmain.c159 struct iovec io_vector[1]; in tx()
/Zephyr-latest/subsys/net/lib/mqtt/
Dmqtt.c244 struct iovec io_vector[2]; in mqtt_publish()
/Zephyr-latest/drivers/modem/
Dublox-sara-r4.c1691 struct iovec msg_iov = { in offload_sendto()
1759 struct iovec bkp_iovec = {0}; in offload_sendmsg()
/Zephyr-latest/drivers/net/
Dnsos_adapt.c545 struct iovec *msg_iov; in nsos_adapt_sendmsg()
/Zephyr-latest/tests/net/ieee802154/l2/src/
Dieee802154_test.c921 struct iovec io_vector; in test_raw_packet_sending()
/Zephyr-latest/subsys/net/lib/websocket/
Dwebsocket.c609 struct iovec io_vector[2]; in websocket_prepare_and_send()
/Zephyr-latest/tests/net/socket/tcp/src/
Dmain.c732 struct iovec io_vector[3]; in ZTEST_USER()