Home | History | Annotate | Download | only in net

Lines Matching refs:sctp_sndinfo

771 	cmsgbuf = malloc(CMSG_SPACE(sizeof(struct sctp_sndinfo)) +
792 if ((info == NULL) || (infolen < sizeof(struct sctp_sndinfo))) {
798 cmsg->cmsg_type = SCTP_SNDINFO;
799 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndinfo));
800 memcpy(CMSG_DATA(cmsg), info, sizeof(struct sctp_sndinfo));
801 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_sndinfo));
802 cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_sndinfo)));
803 assoc_id_ptr = &(((struct sctp_sndinfo *)info)->snd_assoc_id);
840 cmsg->cmsg_type = SCTP_SNDINFO;
841 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndinfo));
842 memcpy(CMSG_DATA(cmsg), &spa_info->sendv_sndinfo, sizeof(struct sctp_sndinfo));
843 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_sndinfo));
844 cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_sndinfo)));