Searched refs:rcv_nxt (Results 1 – 8 of 8) sorted by relevance
/openthread-3.7.0/third_party/tcplp/bsdtcp/ |
D | tcp_timewait.c | 160 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()
|
D | tcp_reass.c | 74 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);
|
D | tcp_input.c | 845 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 …]
|
D | tcp_output.c | 578 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()
|
D | tcp_seq.h | 62 (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1
|
D | tcp_sack.c | 167 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()
|
D | tcp_timer.c | 142 tp->rcv_nxt, tp->snd_una - 1, 0); in tcp_timer_keep()
|
D | tcp_var.h | 241 tcp_seq rcv_nxt; /* receive next */ member
|