Searched refs:sctp_authinfo (Results 1 – 3 of 3) sorted by relevance
1005 CMSG_SPACE(sizeof(struct sctp_authinfo)) + in sctp_sendv()1051 if ((info == NULL) || (infolen < sizeof(struct sctp_authinfo))) { in sctp_sendv()1058 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_authinfo)); in sctp_sendv()1059 memcpy(CMSG_DATA(cmsg), info, sizeof(struct sctp_authinfo)); in sctp_sendv()1060 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_authinfo)); in sctp_sendv()1061 cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_authinfo))); in sctp_sendv()1090 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_authinfo)); in sctp_sendv()1091 memcpy(CMSG_DATA(cmsg), &spa_info->sendv_authinfo, sizeof(struct sctp_authinfo)); in sctp_sendv()1092 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_authinfo)); in sctp_sendv()1093 cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_authinfo))); in sctp_sendv()
177 struct sctp_authinfo { struct226 struct sctp_authinfo sendv_authinfo;
3477 struct sctp_authinfo authinfo; in sctp_find_cmsg()3548 if ((size_t)(cmh.cmsg_len - CMSG_ALIGN(sizeof(cmh))) < sizeof(struct sctp_authinfo)) { in sctp_find_cmsg()3551 …m_copydata(control, at + CMSG_ALIGN(sizeof(cmh)), sizeof(struct sctp_authinfo), (caddr_t)&authinfo… in sctp_find_cmsg()