Home
last modified time | relevance | path

Searched refs:sctp_sndinfo (Results 1 – 4 of 4) sorted by relevance

/freebsd-9-stable/lib/libc/net/
Dsctp_sys_calls.c342 ((struct sctp_sndinfo *)arg)->snd_assoc_id = id; in sctp_opt_info()
963 cmsgbuf = malloc(CMSG_SPACE(sizeof(struct sctp_sndinfo)) + in sctp_sendv()
983 if ((info == NULL) || (infolen < sizeof(struct sctp_sndinfo))) { in sctp_sendv()
990 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndinfo)); in sctp_sendv()
991 memcpy(CMSG_DATA(cmsg), info, sizeof(struct sctp_sndinfo)); in sctp_sendv()
992 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_sndinfo)); in sctp_sendv()
993 cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_sndinfo))); in sctp_sendv()
1031 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndinfo)); in sctp_sendv()
1032 memcpy(CMSG_DATA(cmsg), &spa_info->sendv_sndinfo, sizeof(struct sctp_sndinfo)); in sctp_sendv()
1033 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_sndinfo)); in sctp_sendv()
[all …]
/freebsd-9-stable/sys/netinet/
Dsctp_uio.h151 struct sctp_sndinfo { struct
217 struct sctp_sndinfo sendv_sndinfo;
369 struct sctp_sndinfo ssfe_info;
Dsctp_usrreq.c3059 struct sctp_sndinfo *info; in sctp_getopt()
3061 SCTP_CHECK_AND_CAST(info, optval, struct sctp_sndinfo, *optsize); in sctp_getopt()
3088 *optsize = sizeof(struct sctp_sndinfo); in sctp_getopt()
5543 struct sctp_sndinfo *info; in sctp_setopt()
5546 SCTP_CHECK_AND_CAST(info, optval, struct sctp_sndinfo, optsize); in sctp_setopt()
Dsctp_output.c3473 struct sctp_sndinfo sndinfo; in sctp_find_cmsg()
3523 if ((size_t)(cmh.cmsg_len - CMSG_ALIGN(sizeof(cmh))) < sizeof(struct sctp_sndinfo)) { in sctp_find_cmsg()
3526 … m_copydata(control, at + CMSG_ALIGN(sizeof(cmh)), sizeof(struct sctp_sndinfo), (caddr_t)&sndinfo); in sctp_find_cmsg()