Lines Matching refs:inmsg
61 struct msghdr inmsg; in sctp_recvmsg() local
65 memset(&inmsg, 0, sizeof (inmsg)); in sctp_recvmsg()
70 inmsg.msg_name = from; in sctp_recvmsg()
71 inmsg.msg_namelen = fromlen ? *fromlen : 0; in sctp_recvmsg()
72 inmsg.msg_iov = &iov; in sctp_recvmsg()
73 inmsg.msg_iovlen = 1; in sctp_recvmsg()
74 inmsg.msg_control = incmsg; in sctp_recvmsg()
75 inmsg.msg_controllen = sizeof(incmsg); in sctp_recvmsg()
77 error = recvmsg(s, &inmsg, msg_flags ? *msg_flags : 0); in sctp_recvmsg()
82 *fromlen = inmsg.msg_namelen; in sctp_recvmsg()
84 *msg_flags = inmsg.msg_flags; in sctp_recvmsg()
89 for (cmsg = CMSG_FIRSTHDR(&inmsg); cmsg != NULL; in sctp_recvmsg()
90 cmsg = CMSG_NXTHDR(&inmsg, cmsg)){ in sctp_recvmsg()