/openbsd/usr.sbin/npppd/pptp/ |
H A D | pptp_call.c | 485 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 D | pptp.h | 310 uint32_t rcv_nxt; /* received sequence # */ member
|
/openbsd/usr.sbin/npppd/l2tp/ |
H A D | l2tp_ctrl.c | 532 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 D | l2tp.h | 365 uint16_t rcv_nxt; member 434 uint16_t rcv_nxt; member
|
H A D | l2tp_call.c | 450 hdr->nr = htons(_this->rcv_nxt); in l2tp_call_send_data_packet()
|
/openbsd/sys/netinet/ |
H A D | tcp_input.c | 309 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 D | tcp_seq.h | 54 (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1
|
H A D | tcp_output.c | 419 (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 D | tcp_debug.c | 245 tp->rcv_nxt, tp->rcv_wnd, tp->rcv_up, tp->snd_una, tp->snd_nxt, in tcp_trace()
|
H A D | tcp_timer.c | 493 NULL, tp->rcv_nxt, tp->snd_una - 1, 0, 0, now); in tcp_timer_keep()
|
H A D | tcp_var.h | 129 tcp_seq rcv_nxt; /* receive next */ member
|
H A D | tcp_usrreq.c | 272 ti->tcpi_rcv_nxt = tp->rcv_nxt - tp->irs; in tcp_fill_info()
|
/openbsd/sys/net/ |
H A D | pipex.c | 364 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 D | pipex.h | 98 uint32_t rcv_nxt; /* receive next */ member
|
H A D | pipex_local.h | 99 uint32_t rcv_nxt; /* [s] receive next */ member
|
/openbsd/usr.sbin/trpt/ |
H A D | trpt.c | 389 tp->rcv_nxt, tp->rcv_wnd, tp->snd_una, tp->snd_nxt, in tcp_trace()
|
/openbsd/usr.sbin/npppd/npppd/ |
H A D | npppd.c | 1098 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 D | tcpbench.c | 408 P(tcpi, rcv_nxt, "%u") in tcp_stats_display()
|
/openbsd/usr.bin/netstat/ |
H A D | inet.c | 1551 p("%u", rcv_nxt, ", "); in tcpcb_dump()
|