Home
last modified time | relevance | path

Searched refs:rcv_nxt (Results 1 – 8 of 8) sorted by relevance

/openthread-3.7.0/third_party/tcplp/bsdtcp/
Dtcp_timewait.c160 nth->th_ack = htonl(tp->rcv_nxt); in tcp_twrespond()
242 if (SEQ_GT(tp->rcv_adv, tp->rcv_nxt)) in tcp_twstart()
243 tp->tw_last_win = (tp->rcv_adv - tp->rcv_nxt) >> tp->rcv_scale; in tcp_twstart()
361 if ((thflags & TH_SYN) && SEQ_GT(th->th_seq, tp->rcv_nxt)) { in tcp_twcheck()
383 if (seq + 1 == tp->rcv_nxt) in tcp_twcheck()
391 th->th_seq != tp->rcv_nxt || th->th_ack != tp->snd_nxt) in tcp_twcheck()
Dtcp_reass.c74 KASSERT(SEQ_GEQ(th->th_seq, tp->rcv_nxt), ("Adding past segment to the reassembly queue")); in tcp_reass()
75 offset = (size_t) (th->th_seq - tp->rcv_nxt); in tcp_reass()
115 tp->rcv_nxt += mergeable; in tcp_reass()
162 if ((th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) &&
184 if (th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) {
296 if (!q || q->tqe_th->th_seq != tp->rcv_nxt)
300 tp->rcv_nxt += q->tqe_len;
312 } while (q && q->tqe_th->th_seq == tp->rcv_nxt);
Dtcp_input.c845 tp->last_ack_sent = tp->rcv_nxt; in tcp_input()
1211 th->th_seq == tp->rcv_nxt && in tcp_do_segment()
1357 tp->rcv_nxt += tlen; in tcp_do_segment()
1367 tp->rcv_up = tp->rcv_nxt; in tcp_do_segment()
1475 tp->rcv_wnd = imax(win, (int)(tp->rcv_adv - tp->rcv_nxt)); in tcp_do_segment()
1742 tcp_respond(tp, tp->instance, ip6, th, tp->rcv_nxt, tp->snd_nxt, TH_ACK); in tcp_do_segment()
1743 tp->last_ack_sent = tp->rcv_nxt; in tcp_do_segment()
1769 tcp_respond(tp, tp->instance, ip6, th, tp->rcv_nxt, tp->snd_nxt, TH_ACK); in tcp_do_segment()
1770 tp->last_ack_sent = tp->rcv_nxt; in tcp_do_segment()
1814 todrop = tp->rcv_nxt - th->th_seq; in tcp_do_segment()
[all …]
Dtcp_output.c578 if (SEQ_GT(tp->rcv_adv, tp->rcv_nxt)) { in tcp_output()
579 oldwin = (tp->rcv_adv - tp->rcv_nxt); in tcp_output()
1127 th->th_ack = htonl(tp->rcv_nxt); in tcp_output()
1141 if (SEQ_GT(tp->rcv_adv, tp->rcv_nxt) && in tcp_output()
1142 recwin < (long)(tp->rcv_adv - tp->rcv_nxt)) in tcp_output()
1143 recwin = (long)(tp->rcv_adv - tp->rcv_nxt); in tcp_output()
1390 if (recwin >= 0 && SEQ_GT(tp->rcv_nxt + recwin, tp->rcv_adv)) in tcp_output()
1391 tp->rcv_adv = tp->rcv_nxt + recwin; in tcp_output()
1392 tp->last_ack_sent = tp->rcv_nxt; in tcp_output()
Dtcp_seq.h62 (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1
Dtcp_sack.c167 if (SEQ_GEQ(start, end) || SEQ_LEQ(start, tp->rcv_nxt)) { in tcp_update_sack_list()
195 if (SEQ_GT(head_blk.start, tp->rcv_nxt)) { in tcp_update_sack_list()
Dtcp_timer.c142 tp->rcv_nxt, tp->snd_una - 1, 0); in tcp_timer_keep()
Dtcp_var.h241 tcp_seq rcv_nxt; /* receive next */ member