Home
last modified time | relevance | path

Searched refs:SEQ_LT (Results 1 – 15 of 15) sorted by relevance

/openbsd/src/sys/netinet/
Dtcp_output.c138 if (p->dups >= tcprexmtthresh && SEQ_LT(p->rxmit, p->end)) { in tcp_sack_output()
139 if (SEQ_LT(p->rxmit, tp->snd_una)) {/* old SACK hole */ in tcp_sack_output()
174 if (SEQ_LT(tp->snd_nxt, cur->end)) in tcp_sack_adjust()
183 if (SEQ_LT(tp->snd_nxt, cur->end)) in tcp_sack_adjust()
261 if (tp->sack_enable && SEQ_LT(tp->snd_nxt, tp->snd_max)) in tcp_output()
282 if (SEQ_LT(tp->snd_una, tp->snd_last)) in tcp_output()
405 if (SEQ_LT(tp->snd_nxt, tp->snd_max)) in tcp_output()
675 else if (SEQ_LT(tp->snd_nxt, tp->snd_max)) { in tcp_output()
1059 if (len == 0 || SEQ_LT(tp->snd_nxt, tp->snd_max) || in tcp_output()
Dtcp_seq.h43 #define SEQ_LT(a,b) ((int)((a)-(b)) < 0) macro
Dtcp_input.c128 #define SEQ_MIN(a,b) (SEQ_LT(a,b) ? (a) : (b))
1148 if (SEQ_LT(tp->snd_nxt, tp->snd_una)) in tcp_input()
1552 SEQ_LT(th->th_ack, in tcp_input()
1603 if (SEQ_LT(th->th_ack, tp->snd_last)){ in tcp_input()
1670 if (SEQ_LT(th->th_ack, tp->snd_last)) { in tcp_input()
1792 if (SEQ_LT(tp->snd_nxt, tp->snd_una)) in tcp_input()
1872 (SEQ_LT(tp->snd_wl1, th->th_seq) || (tp->snd_wl1 == th->th_seq && in tcp_input()
1873 (SEQ_LT(tp->snd_wl2, th->th_ack) || in tcp_input()
2368 if (SEQ_LT(tp->rcv_nxt, rcv_laststart)) { in tcp_update_sack_list()
2389 if (SEQ_LT(sack.end, firstsack.start) || in tcp_update_sack_list()
[all …]
Dtcp_subr.c694 SEQ_LT(seq, tp->snd_max)) in tcp6_ctlinput()
751 SEQ_LT(seq, tp->snd_max)) { in tcp_ctlinput()
782 if (SEQ_LT(tp->t_pmtud_th_seq, seq)) { in tcp_ctlinput()
818 SEQ_LT(seq, tp->snd_max)) in tcp_ctlinput()
Dtcp_timer.c214 SEQ_LT(tp->t_pmtud_th_seq, (int)(tp->snd_una + tp->t_maxseg))) { in tcp_timer_rexmt()
/openbsd/src/usr.sbin/npppd/pptp/
Dpptp_call.c92 #define SEQ_LT(a,b) ((int)((a) - (b)) < 0) macro
501 } else if (SEQ_LT(ack, _this->snd_una)) { in pptp_call_gre_input()
516 if (SEQ_LT(seq, _this->rcv_nxt)) { in pptp_call_gre_input()
518 if (SEQ_LT(seq, _this->rcv_nxt - PPTP_CALL_DELAY_LIMIT)) { in pptp_call_gre_input()
/openbsd/src/sys/net80211/
Dieee80211_priv.h34 #define SEQ_LT(a,b) \ macro
Dieee80211_output.c1622 while (SEQ_LT(s, ssn) && ba->ba_bitmap) { in ieee80211_output_ba_move_window()
1646 while (bitmap && SEQ_LT(s, ssn)) { in ieee80211_output_ba_move_window_to_first_unacked()
1667 KASSERT(!SEQ_LT(ssn, ba->ba_winstart)); in ieee80211_output_ba_record_ack()
1668 KASSERT(!SEQ_LT(ba->ba_winend, ssn)); in ieee80211_output_ba_record_ack()
1670 while (SEQ_LT(s, ssn)) { in ieee80211_output_ba_record_ack()
Dieee80211_input.c836 if (SEQ_LT(sn, ba->ba_winstart)) { /* SN < WinStartB */ in ieee80211_input_ba()
841 if (SEQ_LT(ba->ba_winend, sn)) { /* WinEndB < SN */ in ieee80211_input_ba()
919 if (!SEQ_LT(seq, max_seq)) in ieee80211_input_ba_seq()
2890 if (SEQ_LT(ba->ba_winstart, ssn)) { in ieee80211_recv_addba_req()
3491 if (SEQ_LT(ssn, ba->ba_winstart) || in ieee80211_bar_tid()
3492 SEQ_LT(ba->ba_winend, ssn)) in ieee80211_bar_tid()
3500 if (SEQ_LT(ba->ba_winstart, ssn)) { in ieee80211_bar_tid()
/openbsd/src/usr.sbin/npppd/l2tp/
Dl2tp_ctrl.c99 #define SEQ_LT(a,b) ((int16_t)((a) - (b)) < 0) macro
525 for (seq = _this->snd_una; SEQ_LT(seq, _this->snd_nxt); seq++) { in l2tp_ctrl_resend_una_packets()
528 if (SEQ_LT(seq, _this->snd_last) && !resend) in l2tp_ctrl_resend_una_packets()
823 if (SEQ_LT(hdr.ns, call->rcv_nxt)) { in l2tp_ctrl_input()
824 if (SEQ_LT(hdr.ns, in l2tp_ctrl_input()
/openbsd/src/sys/net/
Dpf_norm.c1485 (SEQ_LT(tsval, dst->scrub->pfss_tsecr) || in pf_normalize_tcp_stateful()
1488 SEQ_LT(tsecr, dst->scrub->pfss_tsval0))))) { in pf_normalize_tcp_stateful()
1497 SEQ_LT(tsval, dst->scrub->pfss_tsecr) ? '0' : ' ', in pf_normalize_tcp_stateful()
1501 SEQ_LT(tsecr, dst->scrub->pfss_tsval0)? '3' : ' '); in pf_normalize_tcp_stateful()
1615 (SEQ_LT(tsval, src->scrub->pfss_tsval0) || in pf_normalize_tcp_stateful()
/openbsd/src/usr.sbin/iscsid/
Discsid.h78 #define SEQ_LT(a,b) ((int)((a)-(b)) < 0) macro
/openbsd/src/sys/dev/pci/
Dif_iwm.c5027 return SEQ_LT(sn1, sn2) && !SEQ_LT(sn1, sn2 - buffer_size); in iwm_is_sn_less()
5232 !SEQ_LT(sn, buffer->head_sn + buffer->buf_size)) { in iwm_rx_reorder()
5233 uint16_t min_sn = SEQ_LT(sn, nssn) ? sn : nssn; in iwm_rx_reorder()
5247 if (SEQ_LT(sn, buffer->head_sn)) { in iwm_rx_reorder()
5253 if (!buffer->num_stored && SEQ_LT(sn, nssn)) { in iwm_rx_reorder()
5775 if (SEQ_LT(ssn, ba->ba_winstart)) in iwm_ampdu_tx_done()
6004 if (SEQ_LT(ssn, ba->ba_winstart)) in iwm_rx_compressed_ba()
Dif_iwx.c4907 return SEQ_LT(sn1, sn2) && !SEQ_LT(sn1, sn2 - buffer_size); in iwx_is_sn_less()
5112 !SEQ_LT(sn, buffer->head_sn + buffer->buf_size)) { in iwx_rx_reorder()
5113 uint16_t min_sn = SEQ_LT(sn, nssn) ? sn : nssn; in iwx_rx_reorder()
5127 if (SEQ_LT(sn, buffer->head_sn)) { in iwx_rx_reorder()
5133 if (!buffer->num_stored && SEQ_LT(sn, nssn)) { in iwx_rx_reorder()
Dif_iwn.c2381 if (SEQ_LT(ssn, ba->ba_winstart)) in iwn_rx_compressed_ba()
2608 if (SEQ_LT(ssn, ba->ba_winstart)) in iwn_ampdu_tx_done()