Lines Matching defs:stream
219 * because we don't truly support stream interleaving.
745 struct sctp_stream *stream;
748 sid = event->stream;
749 stream = &ulpq->asoc->stream;
753 /* We are holding the chunks by stream, by SSN. */
756 csid = cevent->stream;
767 if (cssn != sctp_ssn_peek(stream, in, sid))
770 /* Found it, so mark in the stream. */
771 sctp_ssn_next(stream, in, sid);
795 sid = event->stream;
799 csid = cevent->stream;
812 * stream ID and then by SSN.
816 csid = cevent->stream;
834 struct sctp_stream *stream;
840 /* Note: The stream ID must be verified before this routine. */
841 sid = event->stream;
843 stream = &ulpq->asoc->stream;
845 /* Is this the expected SSN for this stream ID? */
846 if (ssn != sctp_ssn_peek(stream, in, sid)) {
848 * needs to be placed. We order by stream and then by SSN.
855 sctp_ssn_next(stream, in, sid);
873 struct sctp_stream *stream;
878 stream = &ulpq->asoc->stream;
880 /* We are holding the chunks by stream, by SSN. */
885 csid = cevent->stream;
897 if (!SSN_lt(cssn, sctp_ssn_peek(stream, in, csid)))
914 csid = cevent->stream;
917 if (csid == sid && cssn == sctp_ssn_peek(stream, in, csid)) {
918 sctp_ssn_next(stream, in, csid);
940 struct sctp_stream *stream;
942 /* Note: The stream ID must be verified before this routine. */
943 stream = &ulpq->asoc->stream;
946 if (SSN_lt(ssn, sctp_ssn_peek(stream, in, sid)))
950 sctp_ssn_skip(stream, in, sid, ssn);