Searched refs:mid (Results 1 – 3 of 3) sorted by relevance
/net/sctp/ |
D | stream_interleave.c | 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() [all …]
|
D | stream.c | 193 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/ |
D | x_tables.c | 680 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()
|