Lines Matching refs:snd_una

580 		if (SEQ_LT(tp->snd_una, tp->snd_max) ||  in bbr_timer_start()
625 ((tp->snd_max - tp->snd_una) == 1) && in bbr_timer_start()
985 (tp->snd_max == tp->snd_una)) { in bbr_timer_audit()
992 ((tp->snd_max - tp->snd_una) == 1) && in bbr_timer_audit()
1006 } else if (SEQ_GT(tp->snd_max, tp->snd_una) && in bbr_timer_audit()
1023 if (SEQ_GT(tp->snd_max, tp->snd_una) && in bbr_timer_audit()
3764 tp->snd_recover = tp->snd_una; in bbr_post_recovery()
4762 tp->snd_una == tp->snd_max) { in bbr_timeout_persist()
4781 tp->rcv_nxt, tp->snd_una - 1, 0); in bbr_timeout_persist()
4837 tp->rcv_nxt, tp->snd_una - 1, 0); in bbr_timeout_keepalive()
4890 (rsm->r_start == tp->snd_una)) { in bbr_remxt_tmr()
4957 (tp->snd_una == tp->snd_max)) { in bbr_timeout_rxt()
5167 sack_filter_clear(&bbr->r_ctl.bbr_sf, tp->snd_una); in bbr_timeout_rxt()
5878 register uint32_t snd_max, snd_una; in bbr_log_output() local
5912 snd_una = tp->snd_una; in bbr_log_output()
5925 if (SEQ_LEQ((seq_out + len), snd_una)) { in bbr_log_output()
5929 if (SEQ_LT(seq_out, snd_una)) { in bbr_log_output()
5934 seq_out = snd_una; in bbr_log_output()
6072 seq_out, len, tp->snd_una, tp->snd_max); in bbr_log_output()
7309 if (SEQ_GT(th_ack, tp->snd_una)) { in bbr_log_ack()
7313 if (SEQ_LEQ(th_ack, tp->snd_una)) { in bbr_log_ack()
7366 tp->snd_una, tp->snd_max, changed); in bbr_log_ack()
7511 if (SEQ_GT(th_ack, tp->snd_una)) in bbr_log_ack()
7514 ack_point = tp->snd_una; in bbr_log_ack()
7695 if (SEQ_GEQ(tp->snd_una, tp->iss + (65535 << tp->snd_scale))) { in bbr_process_ack()
7705 seq_min = tp->snd_una - tp->max_sndwnd; in bbr_process_ack()
7708 if (SEQ_GT(tp->iss + 1, tp->snd_una - tp->max_sndwnd)) { in bbr_process_ack()
7717 seq_min = tp->snd_una - tp->max_sndwnd; in bbr_process_ack()
7737 if (SEQ_GEQ(th->th_ack, tp->snd_una) || to->to_nsacks) { in bbr_process_ack()
7741 if ((th->th_ack == tp->snd_una) && (tiwin == tp->snd_wnd)) in bbr_process_ack()
7746 if (__predict_false(SEQ_LEQ(th->th_ack, tp->snd_una))) { in bbr_process_ack()
7751 if (th->th_ack == tp->snd_una) { in bbr_process_ack()
7781 tp->snd_una++; in bbr_process_ack()
7814 if (SEQ_GT(th->th_ack, tp->snd_una)) { in bbr_process_ack()
7817 tp->snd_una = th->th_ack; in bbr_process_ack()
7827 if (SEQ_GT(tp->snd_una, tp->snd_recover)) { in bbr_process_ack()
7828 tp->snd_recover = tp->snd_una; in bbr_process_ack()
7833 if (tp->snd_una == tp->snd_max) { in bbr_process_ack()
7847 sack_filter_clear(&bbr->r_ctl.bbr_sf, tp->snd_una); in bbr_process_ack()
8023 max_seq = bbr->rc_tp->snd_una + bbr->rc_tp->snd_wnd; in bbr_collapsed_window()
8125 (bbr->rc_tp->snd_una + bbr->rc_tp->snd_wnd), 0, cleared); in bbr_un_collapse_window()
8193 (tp->snd_max == tp->snd_una) && in bbr_process_data()
8456 if (__predict_false((th->th_ack != tp->snd_una))) { in bbr_do_fastnewdata()
8569 if (__predict_false(SEQ_LEQ(th->th_ack, tp->snd_una))) { in bbr_fastack()
8633 (tp->snd_max == tp->snd_una) && in bbr_fastack()
8681 if (SEQ_GT(th->th_ack, tp->snd_una)) in bbr_fastack()
8683 tp->snd_una = th->th_ack; in bbr_fastack()
8690 if (SEQ_GT(tp->snd_una, tp->snd_recover)) { in bbr_fastack()
8691 tp->snd_recover = tp->snd_una; in bbr_fastack()
8708 if (tp->snd_una == tp->snd_max) { in bbr_fastack()
8717 sack_filter_clear(&bbr->r_ctl.bbr_sf, tp->snd_una); in bbr_fastack()
8806 (tp->snd_una != tp->snd_max)) { in bbr_do_syn_sent()
8829 if (SEQ_GT(th->th_ack, tp->snd_una)) { in bbr_do_syn_sent()
8842 tp->snd_una++; in bbr_do_syn_sent()
8965 (SEQ_LEQ(th->th_ack, tp->snd_una) || in bbr_do_syn_recv()
9114 if (SEQ_GT(th->th_ack, tp->snd_una) && !(tp->t_flags & TF_NEEDSYN)) in bbr_do_syn_recv()
9115 tp->snd_una++; in bbr_do_syn_recv()
10083 if (tp->snd_una != tp->snd_max) { in bbr_init()
10097 rsm->r_start = tp->snd_una; in bbr_init()
10912 if ((bbr->rc_tp->snd_una == bbr->rc_tp->snd_max) && in bbr_state_startup()
11244 if ((bbr->rc_tp->snd_una == bbr->rc_tp->snd_max) && in bbr_state_change()
11477 if (SEQ_GT(th->th_ack, tp->snd_una) && (rsm = TAILQ_FIRST(&bbr->r_ctl.rc_map)) != NULL) in bbr_do_segment_nounlock()
11558 (SEQ_GT(tp->snd_max, tp->snd_una) || in bbr_do_segment_nounlock()
11566 if ((tp->snd_max == tp->snd_una) && in bbr_do_segment_nounlock()
11926 (tp->snd_max - tp->snd_una))) { in bbr_output_wtime()
12038 if ((tp->snd_una == tp->snd_max) && in bbr_output_wtime()
12082 SEQ_GT(tp->snd_max, tp->snd_una) && /* initial SYN or SYN|ACK sent */ in bbr_output_wtime()
12112 sb_offset = tp->snd_max - tp->snd_una; in bbr_output_wtime()
12157 if (SEQ_LT(rsm->r_start, tp->snd_una)) { in bbr_output_wtime()
12160 tp, bbr, rsm, rsm->r_start, tp->snd_una); in bbr_output_wtime()
12195 sb_offset = rsm->r_start - tp->snd_una; in bbr_output_wtime()
12219 if (SEQ_GT(tp->snd_una, rsm->r_start)) { in bbr_output_wtime()
12222 tp, bbr, tp->snd_una, rsm, rsm->r_start); in bbr_output_wtime()
12229 sb_offset = rsm->r_start - tp->snd_una; in bbr_output_wtime()
12247 if (rsm && SEQ_LT(rsm->r_start, tp->snd_una)) { in bbr_output_wtime()
12304 if (SEQ_GT(tp->snd_max, tp->snd_una)) in bbr_output_wtime()
12305 sb_offset = tp->snd_max - tp->snd_una; in bbr_output_wtime()
12366 sb_offset = rsm->r_start - tp->snd_una; in bbr_output_wtime()
12391 SEQ_GT(tp->snd_max, tp->snd_una)) { in bbr_output_wtime()
12460 (tp->snd_una == tp->snd_max) && in bbr_output_wtime()
12487 if (tp->snd_max == tp->snd_una) in bbr_output_wtime()
12633 if ((tp->snd_una == tp->snd_max) && len) { /* Nothing outstanding */ in bbr_output_wtime()
12715 (tp->snd_max == tp->snd_una) && in bbr_output_wtime()
12811 if ((tp->snd_una == tp->snd_max) && in bbr_output_wtime()
13045 if (SEQ_LT(rsm->r_start, tp->snd_una)) { in bbr_output_wtime()
13047 rsm, tp, bbr, rsm->r_start, tp->snd_una); in bbr_output_wtime()
13124 if (rsm->r_start != tp->snd_una) { in bbr_output_wtime()
13161 tp->snd_una, rsm->r_flags, rsm->r_start, in bbr_output_wtime()
13167 tp, bbr, len, moff, sbavail(sb), sb_offset, tp->snd_una); in bbr_output_wtime()
13393 tp->snd_up = tp->snd_una; in bbr_output_wtime()
13627 if (tp->snd_una == tp->snd_max) { in bbr_output_wtime()
13660 if (tp->snd_una == tp->snd_max) in bbr_output_wtime()
13681 if (tp->snd_una == tp->snd_max && in bbr_output_wtime()
13721 if (xlen && (tp->snd_una == tp->snd_max)) { in bbr_output_wtime()
14059 sack_filter_clear(&bbr->r_ctl.bbr_sf, tp->snd_una); in bbr_mtu_chg()