Lines Matching full: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()
270 __u32 mid = 0; in sctp_intl_retrieve_reassembled() local
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()
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()
314 if (first_frag && cevent->mid == mid && in sctp_intl_retrieve_reassembled()
362 if (sin->pd_mode && event->mid == sin->mid && in sctp_intl_reasm()
386 MID_lt(cevent->mid, event->mid)) { in sctp_intl_store_ordered()
405 MID_lt(event->mid, cevent->mid)) { in sctp_intl_store_ordered()
437 if (cevent->mid != sctp_mid_peek(stream, in, sid)) in sctp_intl_retrieve_ordered()
457 if (event->mid != sctp_mid_peek(stream, in, sid)) { in sctp_intl_order()
530 event->mid == cevent->mid && in sctp_intl_store_reasm_uo()
539 MID_lt(cevent->mid, event->mid)) || in sctp_intl_store_reasm_uo()
550 MID_lt(event->mid, cevent->mid))) in sctp_intl_store_reasm_uo()
554 event->mid == cevent->mid && in sctp_intl_store_reasm_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()
658 __u32 mid = 0; in sctp_intl_retrieve_reassembled_uo() local
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()
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()
703 if (first_frag && cevent->mid == mid && in sctp_intl_retrieve_reassembled_uo()
751 if (sin->pd_mode_uo && event->mid == sin->mid_uo && in sctp_intl_reasm_uo()
787 sin->mid_uo = cevent->mid; in sctp_intl_retrieve_first_uo()
793 cevent->mid == sin->mid_uo && in sctp_intl_retrieve_first_uo()
836 event->mid = ntohl(chunk->subh.idata_hdr->mid); in sctp_ulpevent_idata()
888 if (cevent->mid == csin->mid) { in sctp_intl_retrieve_first()
900 cevent->mid == sin->mid && in sctp_intl_retrieve_first()
985 __u32 mid, __u16 flags, gfp_t gfp) in sctp_intl_stream_abort_pd() argument
995 sid, mid, flags, gfp); in sctp_intl_stream_abort_pd()
1022 cmid = cevent->mid; in sctp_intl_reap_ordered()
1043 cmid = cevent->mid; in sctp_intl_reap_ordered()
1066 __u32 mid; in sctp_intl_abort_pd() local
1071 mid = sin->mid_uo; in sctp_intl_abort_pd()
1072 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x1, gfp); in sctp_intl_abort_pd()
1078 mid = sin->mid; in sctp_intl_abort_pd()
1079 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0, gfp); in sctp_intl_abort_pd()
1080 sctp_mid_skip(stream, in, sid, mid); in sctp_intl_abort_pd()
1129 __be32 mid = chunk->subh.idata_hdr->mid; in sctp_generate_iftsn() local
1141 ftsn_skip_arr[skip_pos].mid = mid; in sctp_generate_iftsn()
1256 static void sctp_intl_skip(struct sctp_ulpq *ulpq, __u16 sid, __u32 mid, in sctp_intl_skip() argument
1263 if (sin->pd_mode_uo && MID_lt(sin->mid_uo, mid)) { in sctp_intl_skip()
1265 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x1, in sctp_intl_skip()
1271 if (MID_lt(mid, sctp_mid_peek(stream, in, sid))) in sctp_intl_skip()
1276 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x0, GFP_ATOMIC); in sctp_intl_skip()
1279 sctp_mid_skip(stream, in, sid, mid); in sctp_intl_skip()
1291 ntohl(skip->mid), skip->flags); in sctp_handle_iftsn()