Home
last modified time | relevance | path

Searched refs:snd_nxt (Results 1 – 20 of 20) sorted by relevance

/openbsd/sys/netinet/
H A Dtcp_output.c181 tp->snd_nxt = cur->next->start; in tcp_sack_adjust()
185 if (SEQ_LT(tp->snd_nxt, cur->end)) in tcp_sack_adjust()
187 tp->snd_nxt = tp->rcv_lastsack; in tcp_sack_adjust()
260 off = tp->snd_nxt - tp->snd_una; in tcp_output()
338 tp->snd_nxt = tp->snd_una; in tcp_output()
516 tp->snd_nxt = tp->iss; in tcp_output()
780 tp->snd_nxt--; in tcp_output()
948 tp->snd_nxt++; in tcp_output()
950 tp->snd_nxt++; in tcp_output()
959 tp->snd_nxt += len; in tcp_output()
[all …]
H A Dtcp_seq.h57 (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \
H A Dtcp_input.c930 tp->snd_nxt == tp->snd_max) { in tcp_input()
1142 tp->snd_nxt = tp->snd_una; in tcp_input()
1253 iss = tp->snd_nxt + in tcp_input()
1590 tcp_seq onxt = tp->snd_nxt; in tcp_input()
1626 tp->snd_nxt = th->th_ack; in tcp_input()
1638 tp->snd_nxt = onxt; in tcp_input()
1781 tp->snd_nxt = tp->snd_una; in tcp_input()
3028 tcp_seq onxt = tp->snd_nxt; in tcp_newreno_partialack()
3033 tp->snd_nxt = th->th_ack; in tcp_newreno_partialack()
3041 if (SEQ_GT(onxt, tp->snd_nxt)) in tcp_newreno_partialack()
[all …]
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.c330 tp->snd_nxt = tp->snd_una; in tcp_timer_rexmt()
H A Dtcp_var.h117 tcp_seq snd_nxt; /* send next */ member
H A Dtcp_subr.c888 tp->snd_nxt = tp->snd_una; in tcp_mtudisc()
H A Dtcp_usrreq.c271 ti->tcpi_snd_nxt = tp->snd_nxt - tp->iss; in tcp_fill_info()
/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()
813 call->id, hdr.ns, hdr.nr, call->snd_nxt, call->rcv_nxt, in l2tp_ctrl_input()
848 ctrl->snd_nxt, ctrl->snd_una, ctrl->rcv_nxt, pktlen)); in l2tp_ctrl_input()
855 if (SEQ_GT(hdr.nr, ctrl->snd_nxt)) { in l2tp_ctrl_input()
859 "%u < %u", ctrl->snd_nxt, hdr.nr); in l2tp_ctrl_input()
1039 sz = _this->snd_nxt - _this->snd_una; in l2tp_ctrl_txwin_size()
1096 seq = _this->snd_nxt; in l2tp_ctrl_send_packet()
1102 _this->snd_nxt++; in l2tp_ctrl_send_packet()
1110 _this->snd_nxt, _this->snd_una, _this->rcv_nxt)); in l2tp_ctrl_send_packet()
1585 bytebuf = _this->snd_buffers[_this->snd_nxt % _this->snd_buffercnt]; in l2tp_ctrl_prepare_snd_buffer()
H A Dl2tp.h359 uint16_t snd_nxt; member
432 uint16_t snd_nxt; member
H A Dl2tp_call.c449 hdr->ns = htons(_this->snd_nxt++); in l2tp_call_send_data_packet()
/openbsd/usr.sbin/npppd/pptp/
H A Dpptp_call.c124 _this->snd_nxt = 1; in pptp_call_init()
487 ack, _this->snd_una, _this->snd_nxt); in pptp_call_gre_input()
503 } else if (SEQ_GT(ack, _this->snd_nxt)) { in pptp_call_gre_input()
560 ack, _this->snd_una, _this->snd_nxt); in pptp_call_gre_input()
594 _this->snd_nxt, _this->rcv_nxt - 1); in pptp_call_gre_output()
600 *(uint32_t *)opkt = htonl(_this->snd_nxt++); in pptp_call_gre_output()
H A Dpptp.h308 uint32_t snd_nxt; /* next transmit sequence # */ member
/openbsd/sys/net/
H A Dpipex.h97 uint32_t snd_nxt; /* send next */ member
H A Dpipex.c363 sess_pptp->snd_nxt = req->pr_proto.pptp.snd_nxt; in pipex_init_session()
1436 PUTLONG(session->proto.pptp.snd_nxt, cp); in pipex_pptp_output()
1437 session->proto.pptp.snd_nxt++; in pipex_pptp_output()
1579 } else if (SEQ32_GT(ack, pptp_session->snd_nxt)) { in pipex_pptp_input()
1651 if (pptp_session->snd_nxt == pptp_session->snd_una) { in pipex_pptp_input()
1675 pptp_session->snd_nxt); in pipex_pptp_input()
1817 session->proto.pptp.snd_nxt++; in pipex_pptp_userland_output()
H A Dpipex_local.h98 uint32_t snd_nxt; /* [s] send 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.c1096 req.pr_proto.pptp.snd_nxt = call->snd_nxt; in npppd_ppp_pipex_enable()
1131 req.pr_proto.l2tp.ns_nxt = l2tp->snd_nxt; in npppd_ppp_pipex_enable()
/openbsd/usr.bin/tcpbench/
H A Dtcpbench.c421 P(tcpi, snd_nxt, "%u") in tcp_stats_display()
/openbsd/usr.bin/netstat/
H A Dinet.c1542 p("%u", snd_nxt, ", "); in tcpcb_dump()