Home
last modified time | relevance | path

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

/openbsd/usr.sbin/npppd/pptp/
H A Dpptp_call.c485 seq, _this->rcv_nxt, in pptp_call_gre_input()
486 _this->rcv_nxt + _this->peers_maxwinsz - 1, in pptp_call_gre_input()
516 if (SEQ_LT(seq, _this->rcv_nxt)) { in pptp_call_gre_input()
529 "may lost %d packets.", seq, _this->rcv_nxt, in pptp_call_gre_input()
530 _this->rcv_nxt + _this->maxwinsz - 1, in pptp_call_gre_input()
531 SEQ_SUB(seq, _this->rcv_nxt)); in pptp_call_gre_input()
538 _this->rcv_nxt = seq; in pptp_call_gre_input()
559 reason, seq, _this->rcv_nxt, _this->rcv_nxt + _this->maxwinsz - 1, in pptp_call_gre_input()
594 _this->snd_nxt, _this->rcv_nxt - 1); in pptp_call_gre_output()
605 _this->rcv_acked = _this->rcv_nxt; in pptp_call_gre_output()
[all …]
H A Dpptp.h310 uint32_t rcv_nxt; /* received sequence # */ member
/openbsd/usr.sbin/npppd/l2tp/
H A Dl2tp_ctrl.c532 header->nr = htons(_this->rcv_nxt); in l2tp_ctrl_resend_una_packets()
533 _this->snd_lastnr = _this->rcv_nxt; in l2tp_ctrl_resend_una_packets()
823 if (SEQ_LT(hdr.ns, call->rcv_nxt)) { in l2tp_ctrl_input()
825 call->rcv_nxt - L2TP_CALL_DELAY_LIMIT)) { in l2tp_ctrl_input()
831 hdr.ns, call->rcv_nxt)); in l2tp_ctrl_input()
836 call->rcv_nxt = hdr.ns + 1; in l2tp_ctrl_input()
882 if (hdr.ns != ctrl->rcv_nxt) { in l2tp_ctrl_input()
892 "mestype=%s", hdr.ns, ctrl->rcv_nxt, in l2tp_ctrl_input()
910 ctrl->rcv_nxt++; in l2tp_ctrl_input()
1098 hdr->nr = htons(_this->rcv_nxt); in l2tp_ctrl_send_packet()
[all …]
H A Dl2tp.h365 uint16_t rcv_nxt; member
434 uint16_t rcv_nxt; member
H A Dl2tp_call.c450 hdr->nr = htons(_this->rcv_nxt); in l2tp_call_send_data_packet()
/openbsd/sys/netinet/
H A Dtcp_input.c309 if (th->th_seq != tp->rcv_nxt) in tcp_reass()
928 th->th_seq == tp->rcv_nxt && in tcp_input()
1032 tp->rcv_nxt += tlen; in tcp_input()
1036 tp->rcv_up = tp->rcv_nxt; in tcp_input()
1299 todrop = tp->rcv_nxt - th->th_seq; in tcp_input()
1403 th->th_seq != tp->rcv_nxt && in tcp_input()
1543 if (th->th_seq != tp->rcv_nxt && in tcp_input()
1926 tp->rcv_up = tp->rcv_nxt; in tcp_input()
1945 tp->rcv_nxt += tlen; in tcp_input()
1994 tp->rcv_nxt++; in tcp_input()
[all …]
H A Dtcp_seq.h54 (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1
H A Dtcp_output.c419 (tp->rcv_adv - tp->rcv_nxt); in tcp_output()
813 th->th_ack = htonl(tp->rcv_nxt); in tcp_output()
861 if (win < (long)(int32_t)(tp->rcv_adv - tp->rcv_nxt)) in tcp_output()
862 win = (long)(int32_t)(tp->rcv_adv - tp->rcv_nxt); in tcp_output()
1164 if (win > 0 && SEQ_GT(tp->rcv_nxt+win, tp->rcv_adv)) in tcp_output()
1165 tp->rcv_adv = tp->rcv_nxt + win; in tcp_output()
1166 tp->last_ack_sent = tp->rcv_nxt; in tcp_output()
H A Dtcp_debug.c245 tp->rcv_nxt, tp->rcv_wnd, tp->rcv_up, tp->snd_una, tp->snd_nxt, in tcp_trace()
H A Dtcp_timer.c493 NULL, tp->rcv_nxt, tp->snd_una - 1, 0, 0, now); in tcp_timer_keep()
H A Dtcp_var.h129 tcp_seq rcv_nxt; /* receive next */ member
H A Dtcp_usrreq.c272 ti->tcpi_rcv_nxt = tp->rcv_nxt - tp->irs; in tcp_fill_info()
/openbsd/sys/net/
H A Dpipex.c364 sess_pptp->rcv_nxt = req->pr_proto.pptp.rcv_nxt; in pipex_init_session()
1589 if (SEQ32_LT(seq, pptp_session->rcv_nxt)) { in pipex_pptp_input()
1592 pptp_session->rcv_nxt - PIPEX_REWIND_LIMIT)) { in pipex_pptp_input()
1596 } else if (SEQ32_GE(seq, pptp_session->rcv_nxt + in pipex_pptp_input()
1600 "may lost %d packets.", seq, pptp_session->rcv_nxt, in pipex_pptp_input()
1601 pptp_session->rcv_nxt + pptp_session->maxwinsz, in pipex_pptp_input()
1602 (int)SEQ32_SUB(seq, pptp_session->rcv_nxt)); in pipex_pptp_input()
1606 nseq = SEQ32_SUB(seq, pptp_session->rcv_nxt); in pipex_pptp_input()
1608 pptp_session->rcv_nxt = seq; in pipex_pptp_input()
1672 reason, seq, pptp_session->rcv_nxt, in pipex_pptp_input()
[all …]
H A Dpipex.h98 uint32_t rcv_nxt; /* receive next */ member
H A Dpipex_local.h99 uint32_t rcv_nxt; /* [s] receive next */ member
/openbsd/usr.sbin/trpt/
H A Dtrpt.c389 tp->rcv_nxt, tp->rcv_wnd, tp->snd_una, tp->snd_nxt, in tcp_trace()
/openbsd/usr.sbin/npppd/npppd/
H A Dnpppd.c1098 req.pr_proto.pptp.rcv_nxt = call->rcv_nxt; in npppd_ppp_pipex_enable()
1132 req.pr_proto.l2tp.nr_nxt = l2tp->rcv_nxt; in npppd_ppp_pipex_enable()
/openbsd/usr.bin/tcpbench/
H A Dtcpbench.c408 P(tcpi, rcv_nxt, "%u") in tcp_stats_display()
/openbsd/usr.bin/netstat/
H A Dinet.c1551 p("%u", rcv_nxt, ", "); in tcpcb_dump()