Lines Matching defs:snd_una
580 if (SEQ_LT(tp->snd_una, tp->snd_max) ||
625 ((tp->snd_max - tp->snd_una) == 1) &&
846 * or sack) and that changes things (rw, or snd_una etc).
985 (tp->snd_max == tp->snd_una)) {
992 ((tp->snd_max - tp->snd_una) == 1) &&
1006 } else if (SEQ_GT(tp->snd_max, tp->snd_una) &&
1023 if (SEQ_GT(tp->snd_max, tp->snd_una) &&
3764 tp->snd_recover = tp->snd_una;
4762 tp->snd_una == tp->snd_max) {
4781 tp->rcv_nxt, tp->snd_una - 1, 0);
4827 * number tp->snd_una-1 causes the transmitted zero-length
4837 tp->rcv_nxt, tp->snd_una - 1, 0);
4890 (rsm->r_start == tp->snd_una)) {
4957 (tp->snd_una == tp->snd_max)) {
5167 sack_filter_clear(&bbr->r_ctl.bbr_sf, tp->snd_una);
5878 register uint32_t snd_max, snd_una;
5912 snd_una = tp->snd_una;
5925 if (SEQ_LEQ((seq_out + len), snd_una)) {
5929 if (SEQ_LT(seq_out, snd_una)) {
5934 seq_out = snd_una;
6071 printf("seq_out:%u len:%d snd_una:%u snd_max:%u -- but rsm not found?\n",
6072 seq_out, len, tp->snd_una, tp->snd_max);
7309 if (SEQ_GT(th_ack, tp->snd_una)) {
7313 if (SEQ_LEQ(th_ack, tp->snd_una)) {
7363 panic("No rack map tp:%p for th:%p state:%d bbr:%p snd_una:%u snd_max:%u chg:%d\n",
7366 tp->snd_una, tp->snd_max, changed);
7487 * The peer has moved snd_una up to the edge of this send,
7491 * us snd_una up to (rsm->r_end). We need to undo the acked
7496 * behind snd_una.
7511 if (SEQ_GT(th_ack, tp->snd_una))
7514 ack_point = tp->snd_una;
7653 * snd_una.
7695 if (SEQ_GEQ(tp->snd_una, tp->iss + (65535 << tp->snd_scale))) {
7705 seq_min = tp->snd_una - tp->max_sndwnd;
7708 if (SEQ_GT(tp->iss + 1, tp->snd_una - tp->max_sndwnd)) {
7717 seq_min = tp->snd_una - tp->max_sndwnd;
7737 if (SEQ_GEQ(th->th_ack, tp->snd_una) || to->to_nsacks) {
7741 if ((th->th_ack == tp->snd_una) && (tiwin == tp->snd_wnd))
7746 if (__predict_false(SEQ_LEQ(th->th_ack, tp->snd_una))) {
7751 if (th->th_ack == tp->snd_una) {
7757 * state it bumps the snd_una. This causes
7777 * to non-starred state, increment snd_una for ACK of SYN,
7781 tp->snd_una++;
7814 if (SEQ_GT(th->th_ack, tp->snd_una)) {
7817 tp->snd_una = th->th_ack;
7827 if (SEQ_GT(tp->snd_una, tp->snd_recover)) {
7828 tp->snd_recover = tp->snd_una;
7833 if (tp->snd_una == tp->snd_max) {
7847 sack_filter_clear(&bbr->r_ctl.bbr_sf, tp->snd_una);
8023 max_seq = bbr->rc_tp->snd_una + bbr->rc_tp->snd_wnd;
8125 (bbr->rc_tp->snd_una + bbr->rc_tp->snd_wnd), 0, cleared);
8193 (tp->snd_max == tp->snd_una) &&
8456 if (__predict_false((th->th_ack != tp->snd_una))) {
8569 if (__predict_false(SEQ_LEQ(th->th_ack, tp->snd_una))) {
8633 (tp->snd_max == tp->snd_una) &&
8681 if (SEQ_GT(th->th_ack, tp->snd_una))
8683 tp->snd_una = th->th_ack;
8690 if (SEQ_GT(tp->snd_una, tp->snd_recover)) {
8691 tp->snd_recover = tp->snd_una;
8708 if (tp->snd_una == tp->snd_max) {
8717 sack_filter_clear(&bbr->r_ctl.bbr_sf, tp->snd_una);
8756 * tp->irs if seg contains ack then advance tp->snd_una. BRR does
8806 (tp->snd_una != tp->snd_max)) {
8829 if (SEQ_GT(th->th_ack, tp->snd_una)) {
8831 * We advance snd_una for the
8834 * snd_una we can't just call
8837 * will start at snd_una + 1 (one
8842 tp->snd_una++;
8965 (SEQ_LEQ(th->th_ack, tp->snd_una) ||
9114 if (SEQ_GT(th->th_ack, tp->snd_una) && !(tp->t_flags & TF_NEEDSYN))
9115 tp->snd_una++;
10083 if (tp->snd_una != tp->snd_max) {
10097 rsm->r_start = tp->snd_una;
10912 if ((bbr->rc_tp->snd_una == bbr->rc_tp->snd_max) &&
11244 if ((bbr->rc_tp->snd_una == bbr->rc_tp->snd_max) &&
11477 if (SEQ_GT(th->th_ack, tp->snd_una) && (rsm = TAILQ_FIRST(&bbr->r_ctl.rc_map)) != NULL)
11558 (SEQ_GT(tp->snd_max, tp->snd_una) ||
11566 if ((tp->snd_max == tp->snd_una) &&
11926 (tp->snd_max - tp->snd_una))) {
12038 if ((tp->snd_una == tp->snd_max) &&
12082 SEQ_GT(tp->snd_max, tp->snd_una) && /* initial SYN or SYN|ACK sent */
12112 sb_offset = tp->snd_max - tp->snd_una;
12157 if (SEQ_LT(rsm->r_start, tp->snd_una)) {
12159 panic("Huh, tp:%p bbr:%p rsm:%p start:%u < snd_una:%u\n",
12160 tp, bbr, rsm, rsm->r_start, tp->snd_una);
12195 sb_offset = rsm->r_start - tp->snd_una;
12219 if (SEQ_GT(tp->snd_una, rsm->r_start)) {
12221 panic("tp:%p bbc:%p snd_una:%u rsm:%p r_start:%u",
12222 tp, bbr, tp->snd_una, rsm, rsm->r_start);
12229 sb_offset = rsm->r_start - tp->snd_una;
12247 if (rsm && SEQ_LT(rsm->r_start, tp->snd_una)) {
12294 * set to snd_una, the sb_offset will be 0, and the length may wind
12304 if (SEQ_GT(tp->snd_max, tp->snd_una))
12305 sb_offset = tp->snd_max - tp->snd_una;
12366 sb_offset = rsm->r_start - tp->snd_una;
12391 SEQ_GT(tp->snd_max, tp->snd_una)) {
12460 (tp->snd_una == tp->snd_max) &&
12487 if (tp->snd_max == tp->snd_una)
12633 if ((tp->snd_una == tp->snd_max) && len) { /* Nothing outstanding */
12715 (tp->snd_max == tp->snd_una) &&
12811 if ((tp->snd_una == tp->snd_max) &&
13045 if (SEQ_LT(rsm->r_start, tp->snd_una)) {
13046 panic("RSM:%p TP:%p bbr:%p start:%u is < snd_una:%u",
13047 rsm, tp, bbr, rsm->r_start, tp->snd_una);
13124 if (rsm->r_start != tp->snd_una) {
13158 panic("tp:%p bbr:%p len:%u moff:%u sbavail:%u rsm:%p snd_una:%u rsm_start:%u flg:%x %u:%u:%u sr:%d ",
13161 tp->snd_una, rsm->r_flags, rsm->r_start,
13166 panic("tp:%p bbr:%p len:%u moff:%u sbavail:%u sb_offset:%u snd_una:%u",
13167 tp, bbr, len, moff, sbavail(sb), sb_offset, tp->snd_una);
13332 * might be better to send (tp->snd_una - 1) which
13397 tp->snd_up = tp->snd_una;
13631 if (tp->snd_una == tp->snd_max) {
13664 if (tp->snd_una == tp->snd_max)
13685 if (tp->snd_una == tp->snd_max &&
13725 if (xlen && (tp->snd_una == tp->snd_max)) {
14063 sack_filter_clear(&bbr->r_ctl.bbr_sf, tp->snd_una);