Home
last modified time | relevance | path

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

/freebsd-12-stable/lib/libc/net/
Dsctp_sys_calls.c336 ((struct sctp_sndinfo *)arg)->snd_assoc_id = id; in sctp_opt_info()
996 cmsgbuf = malloc(CMSG_SPACE(sizeof(struct sctp_sndinfo)) + in sctp_sendv()
1017 if ((info == NULL) || (infolen < sizeof(struct sctp_sndinfo))) { in sctp_sendv()
1024 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndinfo)); in sctp_sendv()
1025 memcpy(CMSG_DATA(cmsg), info, sizeof(struct sctp_sndinfo)); in sctp_sendv()
1026 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_sndinfo)); in sctp_sendv()
1027 cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_sndinfo))); in sctp_sendv()
1028 assoc_id = &(((struct sctp_sndinfo *)info)->snd_assoc_id); in sctp_sendv()
1066 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndinfo)); in sctp_sendv()
1067 memcpy(CMSG_DATA(cmsg), &spa_info->sendv_sndinfo, sizeof(struct sctp_sndinfo)); in sctp_sendv()
[all …]
/freebsd-12-stable/crypto/openssl/crypto/bio/
Dbss_dgram.c1247 char cmsgbuf[CMSG_SPACE(sizeof(struct sctp_sndinfo)) + in dgram_sctp_write()
1249 struct sctp_sndinfo *sndinfo; in dgram_sctp_write()
1295 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndinfo)); in dgram_sctp_write()
1296 sndinfo = (struct sctp_sndinfo *)CMSG_DATA(cmsg); in dgram_sctp_write()
1302 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_sndinfo)); in dgram_sctp_write()
1305 (struct cmsghdr *)&cmsgbuf[CMSG_SPACE(sizeof(struct sctp_sndinfo))]; in dgram_sctp_write()
/freebsd-12-stable/sys/netinet/
Dsctp_uio.h159 struct sctp_sndinfo { struct
225 struct sctp_sndinfo sendv_sndinfo;
384 struct sctp_sndinfo ssfe_info;
Dsctp_usrreq.c3093 struct sctp_sndinfo *info;
3095 SCTP_CHECK_AND_CAST(info, optval, struct sctp_sndinfo, *optsize);
3123 *optsize = sizeof(struct sctp_sndinfo);
6199 struct sctp_sndinfo *info;
6202 SCTP_CHECK_AND_CAST(info, optval, struct sctp_sndinfo, optsize);
Dsctp_output.c3472 struct sctp_sndinfo sndinfo; in sctp_find_cmsg()
3529 if (cmsg_data_len < (int)sizeof(struct sctp_sndinfo)) { in sctp_find_cmsg()
3532 m_copydata(control, cmsg_data_off, sizeof(struct sctp_sndinfo), (caddr_t)&sndinfo); in sctp_find_cmsg()
/freebsd-12-stable/usr.bin/truss/
Dsyscalls.c1363 print_sctp_sndinfo(FILE *fp, struct sctp_sndinfo *info) in print_sctp_sndinfo()
1470 if (len == CMSG_LEN(sizeof(struct sctp_sndinfo))) in print_sctp_cmsg()
1471 print_sctp_sndinfo(fp, (struct sctp_sndinfo *)data); in print_sctp_cmsg()