Home
last modified time | relevance | path

Searched full:snd_nxt (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/sys/netinet/
H A Dtcp_output.c239 (tp->snd_nxt != tp->snd_una)) /* not a retransmit */ in tcp_default_output()
263 * snd_nxt. There may be SACK information that allows us to avoid in tcp_default_output()
264 * resending already delivered data. Adjust snd_nxt accordingly. in tcp_default_output()
274 off = tp->snd_nxt - tp->snd_una; in tcp_default_output()
292 (SEQ_LT(tp->snd_nxt, tp->snd_max) && (tp->t_dupacks >= tcprexmtthresh))) && in tcp_default_output()
398 * If snd_nxt == snd_max and we have transmitted a FIN, the in tcp_default_output()
402 * acks after fast-retransmit because TCP will reset snd_nxt in tcp_default_output()
405 * In the normal retransmit-FIN-only case, however, snd_nxt will in tcp_default_output()
413 if ((sack_bytes_rxmt == 0) || SEQ_LT(tp->snd_nxt, tp->snd_max)) { in tcp_default_output()
432 if ((flags & TH_SYN) && SEQ_GT(tp->snd_nxt, tp->snd_una)) { in tcp_default_output()
[all …]
H A Dtcp_sack.c965 if (tp->snd_nxt == tp->snd_max) { in tcp_sack_partialack()
967 (tp->snd_nxt - tp->snd_recover) + num_segs * maxseg); in tcp_sack_partialack()
1065 * traverses the SACK list to see if snd_nxt should be moved forward.
1067 * moving snd_nxt forward. This prevents a traffic burst after the final
1081 if (SEQ_GEQ(tp->snd_nxt, tp->snd_fack)) { in tcp_sack_adjust()
1086 * Two cases for which we want to advance snd_nxt: in tcp_sack_adjust()
1087 * i) snd_nxt lies between end of one hole and beginning of another in tcp_sack_adjust()
1088 * ii) snd_nxt lies between end of last hole and snd_fack in tcp_sack_adjust()
1091 if (SEQ_LT(tp->snd_nxt, cur->end)) { in tcp_sack_adjust()
1095 if (SEQ_GEQ(tp->snd_nxt, p->start)) { in tcp_sack_adjust()
[all …]
H A Dtcp_input.c462 tp->snd_nxt = tp->snd_max; in cc_cong_signal()
1721 tp->snd_nxt == tp->snd_max && in tcp_do_segment()
2018 if (SEQ_LT(tp->snd_nxt, tp->snd_una)) in tcp_do_segment()
2019 tp->snd_nxt = tp->snd_una; in tcp_do_segment()
2026 tp->snd_nxt = th->th_ack; in tcp_do_segment()
2588 (tp->snd_nxt == tp->snd_max)) { in tcp_do_segment()
2607 SEQ_LT(tp->snd_nxt, tp->snd_max)) { in tcp_do_segment()
2630 tcp_seq onxt = tp->snd_nxt; in tcp_do_segment()
2674 tp->snd_nxt - tp->snd_una); in tcp_do_segment()
2686 tp->snd_nxt = tp->snd_max; in tcp_do_segment()
[all …]
H A Dtcp_timewait.c319 th->th_seq != tp->rcv_nxt || th->th_ack != tp->snd_nxt) { in tcp_twcheck()
324 tp->snd_nxt, TH_ACK); in tcp_twcheck()
H A Dtcp_seq.h70 (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \
H A Dtcp_ecn.c417 newdata = (len > 0 && SEQ_GEQ(tp->snd_nxt, tp->snd_max) && in tcp_ecn_output_established()
H A Dtcp_log_buf.h156 uint32_t tlb_snd_nxt; /* TCPCB snd_nxt */
H A Dtcp_usrreq.c1553 ti->tcpi_snd_nxt = tp->snd_nxt; in tcp_fill_info()
2813 db_printf("snd_una: 0x%08x snd_max: 0x%08x snd_nxt: 0x%08x\n", in db_print_tcpcb()
2814 tp->snd_una, tp->snd_max, tp->snd_nxt); in db_print_tcpcb()
/freebsd/sys/netinet/cc/
H A Dcc_dctcp.c184 dctcp_data->save_sndnxt = CCV(ccv, snd_nxt); in dctcp_after_idle()
284 dctcp_data->save_sndnxt = CCV(ccv, snd_nxt); in dctcp_cong_signal()
321 dctcp_data->save_sndnxt = CCV(ccv, snd_nxt); in dctcp_conn_init()
411 dctcp_data->save_sndnxt = CCV(ccv, snd_nxt); in dctcp_update_alpha()
H A Dcc_newreno.c276 * an RTO. On RTO, snd_nxt = snd_una, so the in newreno_ack_received()
277 * snd_nxt == snd_max check is sufficient to in newreno_ack_received()
326 if (CCV(ccv, snd_nxt) == CCV(ccv, snd_max)) in newreno_ack_received()
H A Dcc.c577 * an RTO. On RTO, snd_nxt = snd_una, so the in newreno_cc_cwnd_in_slow_start()
578 * snd_nxt == snd_max check is sufficient to in newreno_cc_cwnd_in_slow_start()
590 if (CCV(ccv, snd_nxt) == CCV(ccv, snd_max)) in newreno_cc_cwnd_in_slow_start()
H A Dcc_cubic.c163 * an RTO. On RTO, snd_nxt = snd_una, so the in cubic_does_slow_start()
164 * snd_nxt == snd_max check is sufficient to in cubic_does_slow_start()
218 if (CCV(ccv, snd_nxt) == CCV(ccv, snd_max)) in cubic_does_slow_start()
H A Dcc_chd.c203 if (CCV(ccv, snd_nxt) == CCV(ccv, snd_max)) { in chd_window_increase()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c138 FLOWC_PARAM(SNDNXT, tp->snd_nxt); in send_flowc_wr()
143 "%s: tid %u, mss %u, sndbuf %u, snd_nxt 0x%x, rcv_nxt 0x%x", in send_flowc_wr()
145 tp ? tp->snd_nxt : 0, tp ? tp->rcv_nxt : 0); in send_flowc_wr()
242 send_reset(struct adapter *sc, struct toepcb *toep, uint32_t snd_nxt) in send_reset() argument
277 req->rsvd0 = htobe32(snd_nxt); in send_reset()
279 req->rsvd0 = htobe32(tp->snd_nxt); in send_reset()
387 tp->snd_nxt = iss + 1; in make_established()
927 tp->snd_nxt += plen; in t4_push_frames()
1176 tp->snd_nxt += adjusted_plen; in write_iscsi_mbuf_wr()
1409 tp->snd_nxt += adjusted_plen; in write_nvme_mbuf_wr()
[all …]
/freebsd/usr.sbin/cxgbetool/
H A Dtcbshowt7.c63 PR(" snd_una %u, snd_nxt %u, snd_max %u, tx_max %u\n", in t7_display_tcb_aux_0()
64 val("snd_una"),val("snd_nxt"), in t7_display_tcb_aux_0()
H A Dtcbshowt5.c91 PR(" snd_una %u, snd_nxt %u, snd_max %u, tx_max %u\n", in t5_display_tcb_aux_0()
92 val("snd_una"),val("snd_nxt"), in t5_display_tcb_aux_0()
H A Dtcbshowt4.c91 PR(" snd_una %u, snd_nxt %u, snd_max %u, tx_max %u\n", in t4_display_tcb_aux_0()
92 val("snd_una"),val("snd_nxt"), in t4_display_tcb_aux_0()
H A Dtcbshowt6.c91 PR(" snd_una %u, snd_nxt %u, snd_max %u, tx_max %u\n", in t6_display_tcb_aux_0()
92 val("snd_una"),val("snd_nxt"), in t6_display_tcb_aux_0()
/freebsd/share/dtrace/
H A Dtcpdebug37 * congestion: rcv_nxt, rcv_wnd, rcv_up, snd_una, snd_nxt, snx_max,
/freebsd/sbin/ipf/ipsend/
H A Dsock.c299 ti->ti_seq = tcb.snd_nxt - 1; in do_socket()
H A Diptests.c1085 ti.ti_seq = htonl(tcb.snd_nxt - 1); in ip_test5()
1099 t->th_seq = htonl(tcb.snd_nxt); in ip_test5()
/freebsd/sys/netinet/tcp_stacks/
H A Dbbr.c7823 if (SEQ_LT(tp->snd_nxt, tp->snd_max)) { in bbr_process_ack()
7824 tp->snd_nxt = tp->snd_max; in bbr_process_ack()
8800 tp->snd_nxt = th->th_ack; in bbr_do_syn_sent()
10228 /* Make sure snd_nxt is correctly set */ in bbr_fini()
10229 tp->snd_nxt = tp->snd_max; in bbr_fini()
12089 * snd_max. BBR in general does not pay much attention to snd_nxt in bbr_output_wtime()
12092 * use the rsm that needs to be sent so snd_nxt is ignored. At the in bbr_output_wtime()
12093 * end of this routine we pull snd_nxt always up to snd_max. in bbr_output_wtime()
12278 * If snd_nxt == snd_max and we have transmitted a FIN, the in bbr_output_wtime()
12282 * fast-retransmit because TCP will reset snd_nxt to snd_max after in bbr_output_wtime()
[all …]
/freebsd/cddl/lib/libdtrace/
H A Dtcp.d232 tcps_snxt = p == NULL ? 0 : p->snd_nxt;
/freebsd/sys/dev/cxgb/common/
H A Dcxgb_t3_cpl.h768 __be32 snd_nxt; member
928 __be32 snd_nxt; member
/freebsd/sys/dev/cxgbe/common/
H A Dt4_msg.h1251 __be32 snd_nxt; member
1261 __be32 snd_nxt; member
1571 __be32 snd_nxt; member
1584 __be32 snd_nxt; member
1601 __be32 snd_nxt; member
1636 __be32 snd_nxt; member
4680 __be32 snd_nxt; member

12