/openbsd/sys/netinet/ |
H A D | tcp_output.c | 139 if (SEQ_LT(p->rxmit, tp->snd_una)) {/* old SACK hole */ in tcp_sack_output() 239 idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una); in tcp_output() 263 off = tp->snd_nxt - tp->snd_una; in tcp_output() 278 off = p->rxmit - tp->snd_una; in tcp_output() 282 if (SEQ_LT(tp->snd_una, tp->snd_last)) in tcp_output() 341 tp->snd_nxt = tp->snd_una; in tcp_output() 440 if (SEQ_GT(tp->snd_up, tp->snd_una)) in tcp_output() 455 if (SEQ_GT(tp->snd_max, tp->snd_una) && in tcp_output() 739 else if (SEQ_GT(tp->snd_up, tp->snd_una)) in tcp_output() 887 tp->snd_up = tp->snd_una; /* drag it along */ in tcp_output() [all …]
|
H A D | tcp_input.c | 153 * while snd_last > snd_una, the sender is in a recovery phase and 155 * snd_last follows snd_una when not in a recovery phase. 945 if (SEQ_GT(th->th_ack, tp->snd_una) && in tcp_input() 958 acked = th->th_ack - tp->snd_una; in tcp_input() 985 tp->snd_una = th->th_ack; in tcp_input() 989 * We want snd_last to track snd_una so in tcp_input() 994 if (SEQ_GT(tp->snd_una, tp->snd_last)) in tcp_input() 996 tp->snd_last = tp->snd_una; in tcp_input() 1008 if (tp->snd_una == tp->snd_max) in tcp_input() 1025 } else if (th->th_ack == tp->snd_una in tcp_input() [all...] |
H A D | tcp_timer.c | 213 SEQ_GEQ(tp->t_pmtud_th_seq, tp->snd_una) && in tcp_timer_rexmt() 214 SEQ_LT(tp->t_pmtud_th_seq, (int)(tp->snd_una + tp->t_maxseg))) { in tcp_timer_rexmt() 328 tp->snd_nxt = tp->snd_una; in tcp_timer_rexmt() 494 NULL, tp->rcv_nxt, tp->snd_una - 1, 0, 0, now); in tcp_timer_keep()
|
H A D | tcp_seq.h | 57 (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \
|
H A D | tcp_subr.c | 693 SEQ_GEQ(seq, tp->snd_una) && in tcp6_ctlinput() 750 SEQ_GEQ(seq, tp->snd_una) && in tcp_ctlinput() 817 SEQ_GEQ(seq, tp->snd_una) && in tcp_ctlinput() 888 tp->snd_nxt = tp->snd_una; in tcp_mtudisc()
|
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_usrreq.c | 296 ti->tcpi_snd_una = tp->snd_una - tp->iss; in tcp_fill_info() 694 tp->snd_last = tp->snd_una; in tcp_connect() 991 tp->snd_up = tp->snd_una + so->so_snd.sb_cc; in tcp_sendoob() 1561 tp->snd_una); in tcp_update_sndspace()
|
H A D | tcp_var.h | 116 tcp_seq snd_una; /* send unacknowledged */ member
|
/openbsd/usr.sbin/npppd/pptp/ |
H A D | pptp_call.c | 487 ack, _this->snd_una, _this->snd_nxt); in pptp_call_gre_input() 499 if (ack + 1 == _this->snd_una) { in pptp_call_gre_input() 501 } else if (SEQ_LT(ack, _this->snd_una)) { in pptp_call_gre_input() 508 _this->snd_una = ack; in pptp_call_gre_input() 560 ack, _this->snd_una, _this->snd_nxt); in pptp_call_gre_input()
|
H A D | pptp.h | 307 uint32_t snd_una; /* next ack notification */ member
|
/openbsd/usr.sbin/npppd/l2tp/ |
H A D | l2tp_ctrl.c | 525 for (seq = _this->snd_una; SEQ_LT(seq, _this->snd_nxt); seq++) { in l2tp_ctrl_resend_una_packets() 848 ctrl->snd_nxt, ctrl->snd_una, ctrl->rcv_nxt, pktlen)); in l2tp_ctrl_input() 853 if (SEQ_GT(hdr.nr, ctrl->snd_una)) { in l2tp_ctrl_input() 862 ctrl->snd_una = hdr.nr; in l2tp_ctrl_input() 1039 sz = _this->snd_nxt - _this->snd_una; in l2tp_ctrl_txwin_size() 1059 off = seq - _this->snd_una; in l2tp_ctrl_in_peer_window() 1110 _this->snd_nxt, _this->snd_una, _this->rcv_nxt)); in l2tp_ctrl_send_packet()
|
H A D | l2tp.h | 357 uint16_t snd_una; member
|
/openbsd/sys/net/ |
H A D | pipex.h | 99 uint32_t snd_una; /* unacked */ member
|
H A D | pipex.c | 359 sess_pptp->snd_una = req->pr_proto.pptp.snd_una; in pipex_init_session() 368 sess_pptp->ul_snd_una = sess_pptp->snd_una - 1; in pipex_init_session() 1577 if (ack + 1 == pptp_session->snd_una) { in pipex_pptp_input() 1579 } else if (SEQ32_LT(ack, pptp_session->snd_una)) { in pipex_pptp_input() 1586 pptp_session->snd_una = ack + 1; in pipex_pptp_input() 1654 if (pptp_session->snd_nxt == pptp_session->snd_una) { in pipex_pptp_input() 1677 ack, pptp_session->snd_una, in pipex_pptp_input()
|
H A D | pipex_local.h | 100 uint32_t snd_una; /* [s] send acked sequence */ 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 | 1101 req.pr_proto.pptp.snd_una = call->snd_una; in npppd_ppp_pipex_enable()
|
/openbsd/usr.bin/tcpbench/ |
H A D | tcpbench.c | 438 P(tcpi, snd_una, "%u") in tcp_stats_display()
|
/openbsd/usr.bin/netstat/ |
H A D | inet.c | 1536 p("%u", snd_una, ", "); in tcpcb_dump()
|