• Home
  • Raw
  • Download

Lines Matching refs:cevent

127 	struct sctp_ulpevent *cevent;  in sctp_intl_store_reasm()  local
136 cevent = sctp_skb2event(pos); in sctp_intl_store_reasm()
138 if (event->stream == cevent->stream && in sctp_intl_store_reasm()
139 event->mid == cevent->mid && in sctp_intl_store_reasm()
140 (cevent->msg_flags & SCTP_DATA_FIRST_FRAG || in sctp_intl_store_reasm()
142 event->fsn > cevent->fsn))) { in sctp_intl_store_reasm()
147 if ((event->stream == cevent->stream && in sctp_intl_store_reasm()
148 MID_lt(cevent->mid, event->mid)) || in sctp_intl_store_reasm()
149 event->stream > cevent->stream) { in sctp_intl_store_reasm()
156 cevent = sctp_skb2event(pos); in sctp_intl_store_reasm()
158 if (event->stream < cevent->stream || in sctp_intl_store_reasm()
159 (event->stream == cevent->stream && in sctp_intl_store_reasm()
160 MID_lt(event->mid, cevent->mid))) { in sctp_intl_store_reasm()
164 if (event->stream == cevent->stream && in sctp_intl_store_reasm()
165 event->mid == cevent->mid && in sctp_intl_store_reasm()
166 !(cevent->msg_flags & SCTP_DATA_FIRST_FRAG) && in sctp_intl_store_reasm()
168 event->fsn < cevent->fsn)) { in sctp_intl_store_reasm()
195 struct sctp_ulpevent *cevent = sctp_skb2event(pos); in sctp_intl_retrieve_partial() local
197 if (cevent->stream < event->stream) in sctp_intl_retrieve_partial()
200 if (cevent->stream > event->stream || in sctp_intl_retrieve_partial()
201 cevent->mid != sin->mid) in sctp_intl_retrieve_partial()
204 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_intl_retrieve_partial()
209 if (cevent->fsn == sin->fsn) { in sctp_intl_retrieve_partial()
212 next_fsn = cevent->fsn + 1; in sctp_intl_retrieve_partial()
214 } else if (cevent->fsn == next_fsn) { in sctp_intl_retrieve_partial()
223 if (cevent->fsn == sin->fsn) { in sctp_intl_retrieve_partial()
229 } else if (cevent->fsn == next_fsn) { in sctp_intl_retrieve_partial()
275 struct sctp_ulpevent *cevent = sctp_skb2event(pos); in sctp_intl_retrieve_reassembled() local
277 if (cevent->stream < event->stream) in sctp_intl_retrieve_reassembled()
279 if (cevent->stream > event->stream) in sctp_intl_retrieve_reassembled()
282 if (MID_lt(cevent->mid, event->mid)) in sctp_intl_retrieve_reassembled()
284 if (MID_lt(event->mid, cevent->mid)) in sctp_intl_retrieve_reassembled()
287 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_intl_retrieve_reassembled()
289 if (cevent->mid == sin->mid) { in sctp_intl_retrieve_reassembled()
297 mid = cevent->mid; in sctp_intl_retrieve_reassembled()
301 if (first_frag && cevent->mid == mid && in sctp_intl_retrieve_reassembled()
302 cevent->fsn == next_fsn) { in sctp_intl_retrieve_reassembled()
314 if (first_frag && cevent->mid == mid && in sctp_intl_retrieve_reassembled()
315 cevent->fsn == next_fsn) in sctp_intl_retrieve_reassembled()
375 struct sctp_ulpevent *cevent; in sctp_intl_store_ordered() local
384 cevent = (struct sctp_ulpevent *)pos->cb; in sctp_intl_store_ordered()
385 if (event->stream == cevent->stream && in sctp_intl_store_ordered()
386 MID_lt(cevent->mid, event->mid)) { in sctp_intl_store_ordered()
391 if (event->stream > cevent->stream) { in sctp_intl_store_ordered()
398 cevent = (struct sctp_ulpevent *)pos->cb; in sctp_intl_store_ordered()
400 if (cevent->stream > event->stream) { in sctp_intl_store_ordered()
404 if (cevent->stream == event->stream && in sctp_intl_store_ordered()
405 MID_lt(event->mid, cevent->mid)) { in sctp_intl_store_ordered()
429 struct sctp_ulpevent *cevent = (struct sctp_ulpevent *)pos->cb; in sctp_intl_retrieve_ordered() local
431 if (cevent->stream > sid) in sctp_intl_retrieve_ordered()
434 if (cevent->stream < sid) in sctp_intl_retrieve_ordered()
437 if (cevent->mid != sctp_mid_peek(stream, in, sid)) in sctp_intl_retrieve_ordered()
518 struct sctp_ulpevent *cevent; in sctp_intl_store_reasm_uo() local
527 cevent = sctp_skb2event(pos); in sctp_intl_store_reasm_uo()
529 if (event->stream == cevent->stream && in sctp_intl_store_reasm_uo()
530 event->mid == cevent->mid && in sctp_intl_store_reasm_uo()
531 (cevent->msg_flags & SCTP_DATA_FIRST_FRAG || in sctp_intl_store_reasm_uo()
533 event->fsn > cevent->fsn))) { in sctp_intl_store_reasm_uo()
538 if ((event->stream == cevent->stream && in sctp_intl_store_reasm_uo()
539 MID_lt(cevent->mid, event->mid)) || in sctp_intl_store_reasm_uo()
540 event->stream > cevent->stream) { in sctp_intl_store_reasm_uo()
546 cevent = sctp_skb2event(pos); in sctp_intl_store_reasm_uo()
548 if (event->stream < cevent->stream || in sctp_intl_store_reasm_uo()
549 (event->stream == cevent->stream && in sctp_intl_store_reasm_uo()
550 MID_lt(event->mid, cevent->mid))) in sctp_intl_store_reasm_uo()
553 if (event->stream == cevent->stream && in sctp_intl_store_reasm_uo()
554 event->mid == cevent->mid && in sctp_intl_store_reasm_uo()
555 !(cevent->msg_flags & SCTP_DATA_FIRST_FRAG) && in sctp_intl_store_reasm_uo()
557 event->fsn < cevent->fsn)) in sctp_intl_store_reasm_uo()
579 struct sctp_ulpevent *cevent = sctp_skb2event(pos); in sctp_intl_retrieve_partial_uo() local
581 if (cevent->stream < event->stream) in sctp_intl_retrieve_partial_uo()
583 if (cevent->stream > event->stream) in sctp_intl_retrieve_partial_uo()
586 if (MID_lt(cevent->mid, sin->mid_uo)) in sctp_intl_retrieve_partial_uo()
588 if (MID_lt(sin->mid_uo, cevent->mid)) in sctp_intl_retrieve_partial_uo()
591 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_intl_retrieve_partial_uo()
596 if (cevent->fsn == sin->fsn_uo) { in sctp_intl_retrieve_partial_uo()
599 next_fsn = cevent->fsn + 1; in sctp_intl_retrieve_partial_uo()
601 } else if (cevent->fsn == next_fsn) { in sctp_intl_retrieve_partial_uo()
610 if (cevent->fsn == sin->fsn_uo) { in sctp_intl_retrieve_partial_uo()
616 } else if (cevent->fsn == next_fsn) { in sctp_intl_retrieve_partial_uo()
663 struct sctp_ulpevent *cevent = sctp_skb2event(pos); in sctp_intl_retrieve_reassembled_uo() local
665 if (cevent->stream < event->stream) in sctp_intl_retrieve_reassembled_uo()
667 if (cevent->stream > event->stream) in sctp_intl_retrieve_reassembled_uo()
670 if (MID_lt(cevent->mid, event->mid)) in sctp_intl_retrieve_reassembled_uo()
672 if (MID_lt(event->mid, cevent->mid)) in sctp_intl_retrieve_reassembled_uo()
675 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_intl_retrieve_reassembled_uo()
678 sin->mid_uo = cevent->mid; in sctp_intl_retrieve_reassembled_uo()
686 mid = cevent->mid; in sctp_intl_retrieve_reassembled_uo()
690 if (first_frag && cevent->mid == mid && in sctp_intl_retrieve_reassembled_uo()
691 cevent->fsn == next_fsn) { in sctp_intl_retrieve_reassembled_uo()
703 if (first_frag && cevent->mid == mid && in sctp_intl_retrieve_reassembled_uo()
704 cevent->fsn == next_fsn) in sctp_intl_retrieve_reassembled_uo()
772 struct sctp_ulpevent *cevent = sctp_skb2event(pos); in sctp_intl_retrieve_first_uo() local
774 csin = sctp_stream_in(&ulpq->asoc->stream, cevent->stream); in sctp_intl_retrieve_first_uo()
778 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_intl_retrieve_first_uo()
786 sid = cevent->stream; in sctp_intl_retrieve_first_uo()
787 sin->mid_uo = cevent->mid; in sctp_intl_retrieve_first_uo()
792 if (cevent->stream == sid && in sctp_intl_retrieve_first_uo()
793 cevent->mid == sin->mid_uo && in sctp_intl_retrieve_first_uo()
794 cevent->fsn == next_fsn) { in sctp_intl_retrieve_first_uo()
878 struct sctp_ulpevent *cevent = sctp_skb2event(pos); in sctp_intl_retrieve_first() local
880 csin = sctp_stream_in(&ulpq->asoc->stream, cevent->stream); in sctp_intl_retrieve_first()
884 switch (cevent->msg_flags & SCTP_DATA_FRAG_MASK) { in sctp_intl_retrieve_first()
888 if (cevent->mid == csin->mid) { in sctp_intl_retrieve_first()
893 sid = cevent->stream; in sctp_intl_retrieve_first()
899 if (cevent->stream == sid && in sctp_intl_retrieve_first()
900 cevent->mid == sin->mid && in sctp_intl_retrieve_first()
901 cevent->fsn == next_fsn) { in sctp_intl_retrieve_first()
1013 struct sctp_ulpevent *cevent, *event = NULL; in sctp_intl_reap_ordered() local
1022 cevent = (struct sctp_ulpevent *)pos->cb; in sctp_intl_reap_ordered()
1023 csid = cevent->stream; in sctp_intl_reap_ordered()
1024 cmid = cevent->mid; in sctp_intl_reap_ordered()
1043 cevent = (struct sctp_ulpevent *)pos->cb; in sctp_intl_reap_ordered()
1044 csid = cevent->stream; in sctp_intl_reap_ordered()
1045 cmid = cevent->mid; in sctp_intl_reap_ordered()