Home
last modified time | relevance | path

Searched refs:mid (Results 1 – 3 of 3) sorted by relevance

/net/sctp/
Dstream_interleave.c63 __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()
[all …]
Dstream.c193 SCTP_SO(stream, i)->mid = 0; in sctp_stream_clear()
198 SCTP_SI(stream, i)->mid = 0; in sctp_stream_clear()
583 SCTP_SI(stream, ntohs(str_p[i]))->mid = 0; in sctp_process_strreset_outreq()
586 SCTP_SI(stream, i)->mid = 0; in sctp_process_strreset_outreq()
755 SCTP_SO(stream, i)->mid = 0; in sctp_process_strreset_tsnreq()
759 SCTP_SI(stream, i)->mid = 0; in sctp_process_strreset_tsnreq()
949 sout->mid = 0; in sctp_process_strreset_resp()
955 sout->mid = 0; in sctp_process_strreset_resp()
1021 SCTP_SO(stream, i)->mid = 0; in sctp_process_strreset_resp()
1025 SCTP_SI(stream, i)->mid = 0; in sctp_process_strreset_resp()
/net/netfilter/
Dx_tables.c680 int mid, left = 0, right = xt[af].cur - 1; in xt_compat_calc_jump() local
683 mid = (left + right) >> 1; in xt_compat_calc_jump()
684 if (offset > tmp[mid].offset) in xt_compat_calc_jump()
685 left = mid + 1; in xt_compat_calc_jump()
686 else if (offset < tmp[mid].offset) in xt_compat_calc_jump()
687 right = mid - 1; in xt_compat_calc_jump()
689 return mid ? tmp[mid - 1].delta : 0; in xt_compat_calc_jump()