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()
524 event->mid == cevent->mid && in sctp_intl_store_reasm_uo()
533 MID_lt(cevent->mid, event->mid)) || in sctp_intl_store_reasm_uo()
544 MID_lt(event->mid, cevent->mid))) in sctp_intl_store_reasm_uo()
548 event->mid == cevent->mid && in sctp_intl_store_reasm_uo()
580 if (MID_lt(cevent->mid, sin->mid_uo)) in sctp_intl_retrieve_partial_uo()
582 if (MID_lt(sin->mid_uo, cevent->mid)) in sctp_intl_retrieve_partial_uo()
652 __u32 mid = 0; in sctp_intl_retrieve_reassembled_uo() local
664 if (MID_lt(cevent->mid, event->mid)) in sctp_intl_retrieve_reassembled_uo()
666 if (MID_lt(event->mid, cevent->mid)) in sctp_intl_retrieve_reassembled_uo()
672 sin->mid_uo = cevent->mid; in sctp_intl_retrieve_reassembled_uo()
680 mid = cevent->mid; in sctp_intl_retrieve_reassembled_uo()
684 if (first_frag && cevent->mid == mid && in sctp_intl_retrieve_reassembled_uo()
697 if (first_frag && cevent->mid == mid && in sctp_intl_retrieve_reassembled_uo()
745 if (sin->pd_mode_uo && event->mid == sin->mid_uo && in sctp_intl_reasm_uo()
781 sin->mid_uo = cevent->mid; in sctp_intl_retrieve_first_uo()
787 cevent->mid == sin->mid_uo && in sctp_intl_retrieve_first_uo()
830 event->mid = ntohl(chunk->subh.idata_hdr->mid); in sctp_ulpevent_idata()
882 if (cevent->mid == csin->mid) { in sctp_intl_retrieve_first()
894 cevent->mid == sin->mid && in sctp_intl_retrieve_first()
979 __u32 mid, __u16 flags, gfp_t gfp) in sctp_intl_stream_abort_pd() argument
989 sid, mid, flags, gfp); in sctp_intl_stream_abort_pd()
1016 cmid = cevent->mid; in sctp_intl_reap_ordered()
1037 cmid = cevent->mid; in sctp_intl_reap_ordered()
1060 __u32 mid; in sctp_intl_abort_pd() local
1065 mid = sin->mid_uo; in sctp_intl_abort_pd()
1066 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x1, gfp); in sctp_intl_abort_pd()
1072 mid = sin->mid; in sctp_intl_abort_pd()
1073 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0, gfp); in sctp_intl_abort_pd()
1074 sctp_mid_skip(stream, in, sid, mid); in sctp_intl_abort_pd()
1123 __be32 mid = chunk->subh.idata_hdr->mid; in sctp_generate_iftsn() local
1135 ftsn_skip_arr[skip_pos].mid = mid; in sctp_generate_iftsn()
1251 static void sctp_intl_skip(struct sctp_ulpq *ulpq, __u16 sid, __u32 mid, in sctp_intl_skip() argument
1258 if (sin->pd_mode_uo && MID_lt(sin->mid_uo, mid)) { in sctp_intl_skip()
1260 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x1, in sctp_intl_skip()
1266 if (MID_lt(mid, sctp_mid_peek(stream, in, sid))) in sctp_intl_skip()
1271 sctp_intl_stream_abort_pd(ulpq, sid, mid, 0x0, GFP_ATOMIC); in sctp_intl_skip()
1274 sctp_mid_skip(stream, in, sid, mid); in sctp_intl_skip()
1286 ntohl(skip->mid), skip->flags); in sctp_handle_iftsn()