Lines Matching refs:mid

63 		__u32 mid;  in sctp_chunk_assign_mid()  local
75 mid = lchunk->chunk_hdr->flags & SCTP_DATA_LAST_FRAG ? in sctp_chunk_assign_mid()
79 mid = lchunk->chunk_hdr->flags & SCTP_DATA_LAST_FRAG ? in sctp_chunk_assign_mid()
83 hdr->mid = htonl(mid); in sctp_chunk_assign_mid()
108 __u32 mid; in sctp_validate_idata() local
119 mid = ntohl(chunk->subh.idata_hdr->mid); in sctp_validate_idata()
121 return !MID_lt(mid, sctp_mid_peek(stream, in, sid)); in sctp_validate_idata()
139 event->mid == cevent->mid && in sctp_intl_store_reasm()
148 MID_lt(cevent->mid, event->mid)) || in sctp_intl_store_reasm()
160 MID_lt(event->mid, cevent->mid))) { in sctp_intl_store_reasm()
165 event->mid == cevent->mid && in sctp_intl_store_reasm()
201 cevent->mid != sin->mid) in sctp_intl_retrieve_partial()
271 __u32 mid = 0; in sctp_intl_retrieve_reassembled() local
283 if (MID_lt(cevent->mid, event->mid)) in sctp_intl_retrieve_reassembled()
285 if (MID_lt(event->mid, cevent->mid)) in sctp_intl_retrieve_reassembled()
290 if (cevent->mid == sin->mid) { in sctp_intl_retrieve_reassembled()
298 mid = cevent->mid; in sctp_intl_retrieve_reassembled()
302 if (first_frag && cevent->mid == mid && in sctp_intl_retrieve_reassembled()
315 if (first_frag && cevent->mid == mid && in sctp_intl_retrieve_reassembled()
364 if (sin->pd_mode && event->mid == sin->mid && in sctp_intl_reasm()
388 MID_lt(cevent->mid, event->mid)) { in sctp_intl_store_ordered()
407 MID_lt(event->mid, cevent->mid)) { in sctp_intl_store_ordered()
439 if (cevent->mid != sctp_mid_peek(stream, in, sid)) in sctp_intl_retrieve_ordered()
459 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()
891 if (cevent->mid == csin->mid) { in sctp_intl_retrieve_first()
903 cevent->mid == sin->mid && in sctp_intl_retrieve_first()
990 __u32 mid, __u16 flags, gfp_t gfp) in sctp_intl_stream_abort_pd() argument
1000 sid, mid, flags, gfp); in sctp_intl_stream_abort_pd()
1027 cmid = cevent->mid; in sctp_intl_reap_ordered()
1048 cmid = cevent->mid; in sctp_intl_reap_ordered()
1071 __u32 mid; in sctp_intl_abort_pd() local
1076 mid = sin->mid_uo; in sctp_intl_abort_pd()
1077 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x1, gfp); in sctp_intl_abort_pd()
1083 mid = sin->mid; in sctp_intl_abort_pd()
1084 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0, gfp); in sctp_intl_abort_pd()
1085 sctp_mid_skip(stream, in, sid, mid); in sctp_intl_abort_pd()
1134 __be32 mid = chunk->subh.idata_hdr->mid; in sctp_generate_iftsn() local
1146 ftsn_skip_arr[skip_pos].mid = mid; in sctp_generate_iftsn()
1261 static void sctp_intl_skip(struct sctp_ulpq *ulpq, __u16 sid, __u32 mid, in sctp_intl_skip() argument
1268 if (sin->pd_mode_uo && MID_lt(sin->mid_uo, mid)) { in sctp_intl_skip()
1270 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x1, in sctp_intl_skip()
1276 if (MID_lt(mid, sctp_mid_peek(stream, in, sid))) in sctp_intl_skip()
1281 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x0, GFP_ATOMIC); in sctp_intl_skip()
1284 sctp_mid_skip(stream, in, sid, mid); in sctp_intl_skip()
1296 ntohl(skip->mid), skip->flags); in sctp_handle_iftsn()