Home
last modified time | relevance | path

Searched refs:msg_mid (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/net/
Dnsos_adapt.c540 int nsos_adapt_sendmsg(int fd, const struct nsos_mid_msghdr *msg_mid, int flags) in nsos_adapt_sendmsg() argument
549 ret = sockaddr_from_nsos_mid(&addr, &addrlen, msg_mid->msg_name, msg_mid->msg_namelen); in nsos_adapt_sendmsg()
554 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()
561 msg_iov[i].iov_base = msg_mid->msg_iov[i].iov_base; in nsos_adapt_sendmsg()
562 msg_iov[i].iov_len = msg_mid->msg_iov[i].iov_len; in nsos_adapt_sendmsg()
568 msg.msg_iovlen = msg_mid->msg_iovlen; in nsos_adapt_sendmsg()
Dnsos_sockets.c842 struct nsos_mid_msghdr msg_mid; in nsos_sendmsg() local
870 msg_mid.msg_name = addr_mid; in nsos_sendmsg()
871 msg_mid.msg_namelen = addrlen_mid; in nsos_sendmsg()
872 msg_mid.msg_iov = msg_iov; in nsos_sendmsg()
873 msg_mid.msg_iovlen = msg->msg_iovlen; in nsos_sendmsg()
874 msg_mid.msg_control = NULL; in nsos_sendmsg()
875 msg_mid.msg_controllen = 0; in nsos_sendmsg()
876 msg_mid.msg_flags = 0; in nsos_sendmsg()
883 ret = nsos_adapt_sendmsg(sock->poll.mid.fd, &msg_mid, flags_mid); in nsos_sendmsg()
Dnsos.h149 int nsos_adapt_sendmsg(int fd, const struct nsos_mid_msghdr *msg_mid, int flags);