Lines Matching refs:sctp_sndrcvinfo
518 struct sctp_sndrcvinfo sinfo; in sctp_sendmsg()
520 memset(&sinfo, 0, sizeof(struct sctp_sndrcvinfo)); in sctp_sendmsg()
531 struct sctp_sndrcvinfo *sinfo; in sctp_sendmsg()
533 char cmsgbuf[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in sctp_sendmsg()
594 msg.msg_controllen = CMSG_SPACE(sizeof(struct sctp_sndrcvinfo)); in sctp_sendmsg()
599 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in sctp_sendmsg()
600 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in sctp_sendmsg()
601 memset(sinfo, 0, sizeof(struct sctp_sndrcvinfo)); in sctp_sendmsg()
634 const struct sctp_sndrcvinfo *sinfo, in sctp_send()
646 char cmsgbuf[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in sctp_send()
661 msg.msg_controllen = CMSG_SPACE(sizeof(struct sctp_sndrcvinfo)); in sctp_send()
666 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in sctp_send()
667 memcpy(CMSG_DATA(cmsg), sinfo, sizeof(struct sctp_sndrcvinfo)); in sctp_send()
677 struct sctp_sndrcvinfo *sinfo, in sctp_sendx()
680 struct sctp_sndrcvinfo __sinfo; in sctp_sendx()
787 struct sctp_sndrcvinfo sinfo; in sctp_sendmsgx()
789 memset((void *)&sinfo, 0, sizeof(struct sctp_sndrcvinfo)); in sctp_sendmsgx()
804 struct sctp_sndrcvinfo *sinfo, in sctp_recvmsg()
855 memcpy(sinfo, CMSG_DATA(cmsg), sizeof(struct sctp_sndrcvinfo)); in sctp_recvmsg()