Lines Matching refs:mid

78 		__u32 mid;  in sctp_chunk_assign_mid()  local
90 mid = lchunk->chunk_hdr->flags & SCTP_DATA_LAST_FRAG ? in sctp_chunk_assign_mid()
94 mid = lchunk->chunk_hdr->flags & SCTP_DATA_LAST_FRAG ? in sctp_chunk_assign_mid()
98 hdr->mid = htonl(mid); in sctp_chunk_assign_mid()
123 __u32 mid; in sctp_validate_idata() local
134 mid = ntohl(chunk->subh.idata_hdr->mid); in sctp_validate_idata()
136 return !MID_lt(mid, sctp_mid_peek(stream, in, sid)); in sctp_validate_idata()
154 event->mid == cevent->mid && in sctp_intl_store_reasm()
163 MID_lt(cevent->mid, event->mid)) || in sctp_intl_store_reasm()
174 MID_lt(event->mid, cevent->mid))) in sctp_intl_store_reasm()
178 event->mid == cevent->mid && in sctp_intl_store_reasm()
209 cevent->mid != sin->mid) in sctp_intl_retrieve_partial()
279 __u32 mid = 0; in sctp_intl_retrieve_reassembled() local
291 if (MID_lt(cevent->mid, event->mid)) in sctp_intl_retrieve_reassembled()
293 if (MID_lt(event->mid, cevent->mid)) in sctp_intl_retrieve_reassembled()
298 if (cevent->mid == sin->mid) { in sctp_intl_retrieve_reassembled()
306 mid = cevent->mid; in sctp_intl_retrieve_reassembled()
310 if (first_frag && cevent->mid == mid && in sctp_intl_retrieve_reassembled()
323 if (first_frag && cevent->mid == mid && in sctp_intl_retrieve_reassembled()
372 if (sin->pd_mode && event->mid == sin->mid && in sctp_intl_reasm()
396 MID_lt(cevent->mid, event->mid)) { in sctp_intl_store_ordered()
413 MID_lt(event->mid, cevent->mid)) in sctp_intl_store_ordered()
440 if (cevent->mid != sctp_mid_peek(stream, in, sid)) in sctp_intl_retrieve_ordered()
460 if (event->mid != sctp_mid_peek(stream, in, sid)) { in sctp_intl_order()
532 event->mid == cevent->mid && in sctp_intl_store_reasm_uo()
541 MID_lt(cevent->mid, event->mid)) || in sctp_intl_store_reasm_uo()
552 MID_lt(event->mid, cevent->mid))) in sctp_intl_store_reasm_uo()
556 event->mid == cevent->mid && in sctp_intl_store_reasm_uo()
588 if (MID_lt(cevent->mid, sin->mid_uo)) in sctp_intl_retrieve_partial_uo()
590 if (MID_lt(sin->mid_uo, cevent->mid)) in sctp_intl_retrieve_partial_uo()
660 __u32 mid = 0; in sctp_intl_retrieve_reassembled_uo() local
672 if (MID_lt(cevent->mid, event->mid)) in sctp_intl_retrieve_reassembled_uo()
674 if (MID_lt(event->mid, cevent->mid)) in sctp_intl_retrieve_reassembled_uo()
680 sin->mid_uo = cevent->mid; in sctp_intl_retrieve_reassembled_uo()
688 mid = cevent->mid; in sctp_intl_retrieve_reassembled_uo()
692 if (first_frag && cevent->mid == mid && in sctp_intl_retrieve_reassembled_uo()
705 if (first_frag && cevent->mid == mid && in sctp_intl_retrieve_reassembled_uo()
754 if (sin->pd_mode_uo && event->mid == sin->mid_uo && in sctp_intl_reasm_uo()
790 sin->mid_uo = cevent->mid; in sctp_intl_retrieve_first_uo()
796 cevent->mid == sin->mid_uo && in sctp_intl_retrieve_first_uo()
839 event->mid = ntohl(chunk->subh.idata_hdr->mid); in sctp_ulpevent_idata()
886 if (cevent->mid == csin->mid) { in sctp_intl_retrieve_first()
898 cevent->mid == sin->mid && in sctp_intl_retrieve_first()
978 __u32 mid, __u16 flags, gfp_t gfp) in sctp_intl_stream_abort_pd() argument
988 sid, mid, flags, gfp); in sctp_intl_stream_abort_pd()
1013 cmid = cevent->mid; in sctp_intl_reap_ordered()
1034 cmid = cevent->mid; in sctp_intl_reap_ordered()
1057 __u32 mid; in sctp_intl_abort_pd() local
1062 mid = sin->mid_uo; in sctp_intl_abort_pd()
1063 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x1, gfp); in sctp_intl_abort_pd()
1069 mid = sin->mid; in sctp_intl_abort_pd()
1070 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0, gfp); in sctp_intl_abort_pd()
1071 sctp_mid_skip(stream, in, sid, mid); in sctp_intl_abort_pd()
1120 __be32 mid = chunk->subh.idata_hdr->mid; in sctp_generate_iftsn() local
1132 ftsn_skip_arr[skip_pos].mid = mid; in sctp_generate_iftsn()
1247 static void sctp_intl_skip(struct sctp_ulpq *ulpq, __u16 sid, __u32 mid, in sctp_intl_skip() argument
1254 if (sin->pd_mode_uo && MID_lt(sin->mid_uo, mid)) { in sctp_intl_skip()
1256 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x1, in sctp_intl_skip()
1262 if (MID_lt(mid, sctp_mid_peek(stream, in, sid))) in sctp_intl_skip()
1267 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x0, GFP_ATOMIC); in sctp_intl_skip()
1270 sctp_mid_skip(stream, in, sid, mid); in sctp_intl_skip()
1282 ntohl(skip->mid), skip->flags); in sctp_handle_iftsn()