Searched refs:inmsg (Results 1 – 2 of 2) sorted by relevance
61 struct msghdr inmsg; in sctp_recvmsg() local65 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()[all …]
81 struct msghdr inmsg = { 0 }; in ff_sctp_recvmsg() local87 inmsg.msg_name = from; in ff_sctp_recvmsg()88 inmsg.msg_namelen = fromlen ? *fromlen : 0; in ff_sctp_recvmsg()89 inmsg.msg_iov = &iov; in ff_sctp_recvmsg()90 inmsg.msg_iovlen = 1; in ff_sctp_recvmsg()91 inmsg.msg_control = incmsg; in ff_sctp_recvmsg()92 inmsg.msg_controllen = sizeof(incmsg); in ff_sctp_recvmsg()94 if ((recvb = recvmsg(s, &inmsg, msg_flags ? *msg_flags : 0)) < 0) in ff_sctp_recvmsg()98 *fromlen = inmsg.msg_namelen; in ff_sctp_recvmsg()100 *msg_flags = inmsg.msg_flags; in ff_sctp_recvmsg()[all …]