Home
last modified time | relevance | path

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

/openbsd/sys/netinet/
H A Dtcp_output.c141 if (SEQ_LT(p->rxmit, tp->snd_una)) {/* old SACK hole */ in tcp_sack_output()
236 idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una); in tcp_output()
260 off = tp->snd_nxt - tp->snd_una; in tcp_output()
275 off = p->rxmit - tp->snd_una; in tcp_output()
279 if (SEQ_LT(tp->snd_una, tp->snd_last)) in tcp_output()
338 tp->snd_nxt = tp->snd_una; in tcp_output()
434 if (SEQ_GT(tp->snd_up, tp->snd_una)) in tcp_output()
449 if (SEQ_GT(tp->snd_max, tp->snd_una) && in tcp_output()
733 else if (SEQ_GT(tp->snd_up, tp->snd_una)) in tcp_output()
881 tp->snd_up = tp->snd_una; /* drag it along */ in tcp_output()
[all …]
H A Dtcp_input.c976 tp->snd_una = th->th_ack; in tcp_input()
987 tp->snd_last = tp->snd_una; in tcp_input()
999 if (tp->snd_una == tp->snd_max) in tcp_input()
1136 tp->snd_una = th->th_ack; in tcp_input()
1138 tp->snd_nxt = tp->snd_una; in tcp_input()
1770 tp->snd_una = th->th_ack; in tcp_input()
1774 tp->snd_last = tp->snd_una; in tcp_input()
1777 tp->snd_nxt = tp->snd_una; in tcp_input()
2596 th->th_ack : tp->snd_una; in tcp_del_sackholes()
3615 tp->snd_last = tp->snd_una; in syn_cache_get()
[all …]
H A Dtcp_timer.c215 SEQ_GEQ(tp->t_pmtud_th_seq, tp->snd_una) && in tcp_timer_rexmt()
216 SEQ_LT(tp->t_pmtud_th_seq, (int)(tp->snd_una + tp->t_maxseg))) { in tcp_timer_rexmt()
330 tp->snd_nxt = tp->snd_una; in tcp_timer_rexmt()
493 NULL, tp->rcv_nxt, tp->snd_una - 1, 0, 0, now); in tcp_timer_keep()
H A Dtcp_seq.h57 (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \
H A Dtcp_subr.c693 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 Dtcp_debug.c245 tp->rcv_nxt, tp->rcv_wnd, tp->rcv_up, tp->snd_una, tp->snd_nxt, in tcp_trace()
H A Dtcp_usrreq.c288 ti->tcpi_snd_una = tp->snd_una - tp->iss; in tcp_fill_info()
682 tp->snd_last = tp->snd_una; in tcp_connect()
973 tp->snd_up = tp->snd_una + so->so_snd.sb_cc; in tcp_sendoob()
1530 tp->snd_una); in tcp_update_sndspace()
H A Dtcp_var.h116 tcp_seq snd_una; /* send unacknowledged */ member
/openbsd/usr.sbin/npppd/pptp/
H A Dpptp_call.c487 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 Dpptp.h307 uint32_t snd_una; /* next ack notification */ member
/openbsd/usr.sbin/npppd/l2tp/
H A Dl2tp_ctrl.c525 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 Dl2tp.h357 uint16_t snd_una; member
/openbsd/sys/net/
H A Dpipex.h99 uint32_t snd_una; /* unacked */ member
H A Dpipex.c359 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()
1571 if (ack + 1 == pptp_session->snd_una) { in pipex_pptp_input()
1573 } else if (SEQ32_LT(ack, pptp_session->snd_una)) { in pipex_pptp_input()
1580 pptp_session->snd_una = ack + 1; in pipex_pptp_input()
1648 if (pptp_session->snd_nxt == pptp_session->snd_una) { in pipex_pptp_input()
1671 ack, pptp_session->snd_una, in pipex_pptp_input()
H A Dpipex_local.h100 uint32_t snd_una; /* [s] send acked sequence */ 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.c1101 req.pr_proto.pptp.snd_una = call->snd_una; in npppd_ppp_pipex_enable()
/openbsd/usr.bin/tcpbench/
H A Dtcpbench.c435 P(tcpi, snd_una, "%u") in tcp_stats_display()
/openbsd/usr.bin/netstat/
H A Dinet.c1536 p("%u", snd_una, ", "); in tcpcb_dump()