Searched refs:sctp_authinfo (Results 1 – 4 of 4) sorted by relevance
997 CMSG_SPACE(sizeof(struct sctp_authinfo)) + in sctp_sendv()1043 if ((info == NULL) || (infolen < sizeof(struct sctp_authinfo))) { in sctp_sendv()1050 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_authinfo)); in sctp_sendv()1051 memcpy(CMSG_DATA(cmsg), info, sizeof(struct sctp_authinfo)); in sctp_sendv()1052 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_authinfo)); in sctp_sendv()1053 cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_authinfo))); in sctp_sendv()1082 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_authinfo)); in sctp_sendv()1083 memcpy(CMSG_DATA(cmsg), &spa_info->sendv_authinfo, sizeof(struct sctp_authinfo)); in sctp_sendv()1084 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_authinfo)); in sctp_sendv()1085 cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_authinfo))); in sctp_sendv()
173 struct sctp_authinfo { struct222 struct sctp_authinfo sendv_authinfo;
3458 struct sctp_authinfo authinfo; in sctp_find_cmsg()3536 if (cmsg_data_len < (int)sizeof(struct sctp_authinfo)) { in sctp_find_cmsg()3539 m_copydata(control, cmsg_data_off, sizeof(struct sctp_authinfo), (caddr_t)&authinfo); in sctp_find_cmsg()
1354 print_sctp_authinfo(FILE *fp, struct sctp_authinfo *info) in print_sctp_authinfo()1441 if (len == CMSG_LEN(sizeof(struct sctp_authinfo))) in print_sctp_cmsg()1442 print_sctp_authinfo(fp, (struct sctp_authinfo *)data); in print_sctp_cmsg()