Searched refs:compare_with_wrap (Results 1 – 6 of 6) sorted by relevance
/netbsd/sys/netinet/ |
H A D | sctp_indata.c | 929 if (compare_with_wrap(at->rec.data.stream_seq, in sctp_queue_data_to_stream() 1199 if (compare_with_wrap(at->rec.data.TSN_seq, in sctp_queue_data_for_reasm() 1621 if (compare_with_wrap(chk->rec.data.TSN_seq, in sctp_does_chk_belong_to_reasm() 1773 if (compare_with_wrap(tsn, in sctp_process_a_data_chunk() 2258 if (compare_with_wrap(asoc->cumulative_tsn, in sctp_sack_check() 2756 if (compare_with_wrap(frag_strt+last_tsn, in sctp_handle_segments() 2996 if (compare_with_wrap(tp1->rec.data.TSN_seq, in sctp_strike_gap_ack_chunks() 3797 (compare_with_wrap(cum_ack, in sctp_handle_sack() 3856 if (compare_with_wrap(asoc->last_acked_seq, in sctp_handle_sack() 4541 if (compare_with_wrap(asoc->cumulative_tsn, in sctp_handle_forward_tsn() [all …]
|
H A D | sctp_input.c | 2251 if (compare_with_wrap(lchk->rec.data.TSN_seq, tsn, MAX_SEQ)) in sctp_handle_ecn_echo() 2259 if (compare_with_wrap(tsn, stcb->asoc.last_cwr_tsn, MAX_TSN)) { in sctp_handle_ecn_echo() 2310 if (compare_with_wrap(ntohl(cp->tsn), ntohl(ecne->tsn), in sctp_handle_ecn_cwr() 2391 if (compare_with_wrap(tp1->rec.data.TSN_seq, tsn, in process_chunk_drop() 2693 (compare_with_wrap(stcb->asoc.cumulative_tsn, tsn, MAX_TSN))) { in sctp_handle_stream_reset_response() 3794 if (compare_with_wrap(stcb->asoc.cumulative_tsn, in sctp_process_ecn_marked_a() 3804 if (compare_with_wrap(stcb->asoc.cumulative_tsn, in sctp_process_ecn_marked_a() 3822 if (compare_with_wrap(high_tsn, stcb->asoc.last_echo_tsn, in sctp_process_ecn_marked_b() 3989 if (compare_with_wrap(stcb->asoc.highest_tsn_inside_map, in sctp_common_input_processing()
|
H A D | sctp_timer.c | 434 if ((compare_with_wrap(stcb->asoc.last_acked_seq, in sctp_mark_all_for_resend() 550 if (compare_with_wrap(chk->rec.data.TSN_seq, in sctp_mark_all_for_resend() 833 if (compare_with_wrap(stcb->asoc.advanced_peer_ack_point, in sctp_t3rxt_timer()
|
H A D | sctp_constants.h | 643 #define compare_with_wrap(a, b, M) (((a > b) && ((a - b) < ((M >> 1) + 1))) || \ macro
|
H A D | sctp_pcb.c | 4528 if (compare_with_wrap(chk->rec.data.TSN_seq, in sctp_drain_mbufs() 4561 if (compare_with_wrap(chk->rec.data.TSN_seq, in sctp_drain_mbufs()
|
H A D | sctp_output.c | 7842 if (compare_with_wrap(asoc->cumulative_tsn, asoc->highest_tsn_inside_map, MAX_TSN)) { 8633 if (compare_with_wrap(high_tsn, ntohl(cwr->tsn),
|