Home
last modified time | relevance | path

Searched refs:nxtinfo (Results 1 – 2 of 2) sorted by relevance

/freebsd/lib/libc/net/
H A Dsctp_sys_calls.c889 struct sctp_nxtinfo *nxtinfo; in sctp_recvv() local
919 nxtinfo = NULL; in sctp_recvv()
926 if (nxtinfo != NULL) { in sctp_recvv()
933 nxtinfo = (struct sctp_nxtinfo *)CMSG_DATA(cmsg); in sctp_recvv()
942 if ((nxtinfo != NULL) && (*infolen >= sizeof(struct sctp_recvv_rn))) { in sctp_recvv()
947 rn_info->recvv_nxtinfo = *nxtinfo; in sctp_recvv()
955 } else if (nxtinfo != NULL) { in sctp_recvv()
957 memcpy(info, nxtinfo, sizeof(struct sctp_nxtinfo)); in sctp_recvv()
/freebsd/sys/netinet/
H A Dsctp_indata.c174 struct sctp_nxtinfo *nxtinfo; in sctp_build_ctl_nchunk() local
246 nxtinfo = (struct sctp_nxtinfo *)CMSG_DATA(cmh); in sctp_build_ctl_nchunk()
247 nxtinfo->nxt_sid = seinfo->serinfo_next_stream; in sctp_build_ctl_nchunk()
248 nxtinfo->nxt_flags = 0; in sctp_build_ctl_nchunk()
250 nxtinfo->nxt_flags |= SCTP_UNORDERED; in sctp_build_ctl_nchunk()
253 nxtinfo->nxt_flags |= SCTP_NOTIFICATION; in sctp_build_ctl_nchunk()
256 nxtinfo->nxt_flags |= SCTP_COMPLETE; in sctp_build_ctl_nchunk()
258 nxtinfo->nxt_ppid = seinfo->serinfo_next_ppid; in sctp_build_ctl_nchunk()
259 nxtinfo->nxt_length = seinfo->serinfo_next_length; in sctp_build_ctl_nchunk()
260 nxtinfo->nxt_assoc_id = seinfo->serinfo_next_aid; in sctp_build_ctl_nchunk()