Home
last modified time | relevance | path

Searched refs:snd_una (Results 1 – 7 of 7) sorted by relevance

/openthread-3.4.0/third_party/tcplp/bsdtcp/
Dtcp_output.c132 idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una); in tcp_output()
160 off = tp->snd_nxt - tp->snd_una; in tcp_output()
207 off = p->rxmit - tp->snd_una; in tcp_output()
323 if ((flags & TH_SYN) && SEQ_GT(tp->snd_nxt, tp->snd_una)) { in tcp_output()
365 tp->snd_nxt = tp->snd_una; in tcp_output()
432 if (SEQ_LT(p->rxmit + len, tp->snd_una + lbuf_used_space(&tp->sendbuf))) in tcp_output()
435 if (SEQ_LT(tp->snd_nxt + len, tp->snd_una + in tcp_output()
595 if (SEQ_GT(tp->snd_up, tp->snd_una)) in tcp_output()
602 ((tp->t_flags & TF_SENTFIN) == 0 || tp->snd_nxt == tp->snd_una)) in tcp_output()
610 SEQ_GT(tp->snd_max, tp->snd_una) && in tcp_output()
[all …]
Dtcp_input.c1140 if (SEQ_GT(th->th_ack, tp->snd_una) && in tcp_do_segment()
1196 if (SEQ_GT(tp->snd_una, tp->snd_recover) && in tcp_do_segment()
1208 tp->snd_una = th->th_ack; in tcp_do_segment()
1226 if (tp->snd_una == tp->snd_max) in tcp_do_segment()
1248 } else if (th->th_ack == tp->snd_una && in tcp_do_segment()
1402 (SEQ_LEQ(th->th_ack, tp->snd_una) || in tcp_do_segment()
1455 tp->snd_una++; /* SYN is acked */ in tcp_do_segment()
1907 if (SEQ_LEQ(th->th_ack, tp->snd_una)) { in tcp_do_segment()
1950 th->th_ack != tp->snd_una) in tcp_do_segment()
2064 (tp->snd_nxt - tp->snd_una) + in tcp_do_segment()
[all …]
Dtcp_sack.c341 if (SEQ_LT(tp->snd_una, th_ack) && !TAILQ_EMPTY(&tp->snd_holes)) { in tcp_sack_doack()
342 sack_blocks[num_sack_blks].start = tp->snd_una; in tcp_sack_doack()
356 SEQ_GT(sack.start, tp->snd_una) && in tcp_sack_doack()
359 SEQ_GT(sack.end, tp->snd_una) && in tcp_sack_doack()
393 tp->snd_fack = SEQ_MAX(tp->snd_una, th_ack); in tcp_sack_doack()
585 if (SEQ_LT(p->rxmit, tp->snd_una)) {/* old SACK hole */
Dtcp_seq.h65 (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \
Dtcp_timer.c142 tp->rcv_nxt, tp->snd_una - 1, 0); in tcp_timer_keep()
445 tp->snd_nxt = tp->snd_una; in tcp_timer_rexmt()
Dtcp_var.h227 tcp_seq snd_una; /* sent but unacknowledged */ member
437 #define BYTES_THIS_ACK(tp, th) (th->th_ack - tp->snd_una)
/openthread-3.4.0/src/core/net/
Dtcp6.cpp477 return tp.snd_max - tp.snd_una; in GetInFlightBytes()