/freebsd/sys/netinet/ |
H A D | tcp_input.c | 472 if (SEQ_LT(tp->snd_fack, tp->snd_una) || in cc_cong_signal() 474 tp->snd_fack = tp->snd_una; in cc_cong_signal() 1584 (tp->snd_max == tp->snd_una) && in tcp_do_segment() 1780 if (SEQ_GT(th->th_ack, tp->snd_una) && in tcp_do_segment() 1838 if (SEQ_GT(tp->snd_una, tp->snd_recover) && in tcp_do_segment() 1850 tp->snd_una = th->th_ack; in tcp_do_segment() 1879 if (tp->snd_una == tp->snd_max) in tcp_do_segment() 1892 SEQ_SUB(tp->snd_max, tp->snd_una))) { in tcp_do_segment() 1897 } else if (th->th_ack == tp->snd_una && in tcp_do_segment() 1986 (SEQ_LEQ(th->th_ack, tp->snd_una) || in tcp_do_segment() [all …]
|
H A D | tcp_output.c | 241 SEQ_GT(tp->snd_max, tp->snd_una) && /* SYN or SYN|ACK sent */ in tcp_default_output() 242 (tp->snd_nxt != tp->snd_una)) /* not a retransmit */ in tcp_default_output() 251 idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una); in tcp_default_output() 277 off = tp->snd_nxt - tp->snd_una; in tcp_default_output() 347 off = SEQ_SUB(p->rxmit, tp->snd_una); in tcp_default_output() 435 if ((flags & TH_SYN) && SEQ_GT(tp->snd_nxt, tp->snd_una)) { in tcp_default_output() 505 tp->snd_nxt = tp->snd_una; in tcp_default_output() 571 tp->snd_una + sbused(&so->so_snd))) { in tcp_default_output() 707 if (SEQ_GT(tp->snd_up, tp->snd_una)) in tcp_default_output() 714 ((tp->t_flags & TF_SENTFIN) == 0 || tp->snd_nxt == tp->snd_una)) in tcp_default_output() [all …]
|
H A D | tcp_sack.c | 584 if (SEQ_LT(tp->snd_una, th_ack) && !TAILQ_EMPTY(&tp->snd_holes)) { in tcp_sack_doack() 585 left_edge_delta = th_ack - tp->snd_una; in tcp_sack_doack() 586 sack_blocks[num_sack_blks].start = tp->snd_una; in tcp_sack_doack() 593 delivered_data += th_ack - tp->snd_una; in tcp_sack_doack() 609 SEQ_GT(sack.start, tp->snd_una) && in tcp_sack_doack() 612 SEQ_GT(sack.end, tp->snd_una) && in tcp_sack_doack() 655 tp->snd_fack = SEQ_MAX(tp->snd_una, th_ack); in tcp_sack_doack() 681 temp->start = SEQ_MAX(tp->snd_fack, SEQ_MAX(tp->snd_una, th_ack)); in tcp_sack_doack() 1176 tp->sackhint.recover_fs = (tp->snd_max - tp->snd_una) - in tcp_sack_lost_retransmission()
|
H A D | tcp_seq.h | 70 (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \
|
H A D | tcp_var.h | 347 tcp_seq snd_una; /* sent but unacknowledged */ member 766 return ((ack - tp->snd_una) / tp->t_maxseg + in tcp_packets_this_ack() 767 ((((ack - tp->snd_una) % tp->t_maxseg) != 0) ? 1 : 0)); in tcp_packets_this_ack() 823 #define BYTES_THIS_ACK(tp, th) (th->th_ack - tp->snd_una)
|
H A D | tcp_subr.c | 1072 tp->snd_una != tp->snd_max) && !(tcp_timer_active(tp, TT_REXMT) || in tcp_default_fb_init() 1080 (int32_t)(tp->snd_nxt - tp->snd_una) < in tcp_default_fb_init() 1100 tp->snd_nxt - tp->snd_una); in tcp_default_fb_init() 2871 if (SEQ_GEQ(ntohl(icmp_tcp_seq), tp->snd_una) && in tcp_ctlinput_with_port() 3057 if (SEQ_GEQ(ntohl(icmp_tcp_seq), tp->snd_una) && in tcp6_ctlinput_with_port() 3352 tp->snd_nxt = tp->snd_una; in tcp_mtudisc() 4143 if (SEQ_LT(th->th_ack, tp->snd_una)) { in tcp_do_ack_accounting() 4156 } else if (th->th_ack == tp->snd_una) { in tcp_do_ack_accounting() 4177 tp->tcp_cnt_counters[CNT_OF_ACKS_IN] += (((th->th_ack - tp->snd_una) + mss - 1)/mss); in tcp_do_ack_accounting() 4611 tcp_req_check_for_comp(tp, tp->snd_una); in tcp_req_alloc_req_full() [all …]
|
H A D | tcp_timer.c | 438 tp->rcv_nxt, tp->snd_una - 1, 0); in tcp_timer_keep() 802 tp->snd_nxt = tp->snd_una; in tcp_timer_rexmt()
|
H A D | tcp_log_buf.c | 1849 COPY_STAT(snd_una); in tcp_log_event() 2933 if (SEQ_GT((tp->snd_una + so->so_snd.sb_ccc), ent->end_seq)) in tcp_log_sendfile() 2934 ent->end_seq = tp->snd_una + so->so_snd.sb_ccc; in tcp_log_sendfile() 2959 ent->start_seq = tp->snd_una + in tcp_log_sendfile()
|
H A D | tcp_usrreq.c | 1195 tp->snd_up = tp->snd_una + sbavail(&so->so_snd); in tcp_usr_send() 1608 ti->tcpi_snd_una = tp->snd_una; in tcp_fill_info() 3113 tp->snd_una, tp->snd_max, tp->snd_nxt); in db_print_tcpcb()
|
H A D | siftr.c | 695 pn->sent_inflight_bytes = tp->snd_max - tp->snd_una; in siftr_siftdata()
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | rack.c | 607 bytes += (rack->rc_tp->snd_una - rack->r_ctl.lt_seq); in rack_get_lt_bw() 2272 if (SEQ_GT(ent->end_seq, rack->rc_tp->snd_una)) in rack_rate_cap_bw() 2273 lenleft = ent->end_seq - rack->rc_tp->snd_una; in rack_rate_cap_bw() 2287 if (SEQ_GT(rack->rc_tp->snd_una, ent->start_seq)) in rack_rate_cap_bw() 2288 lengone = rack->rc_tp->snd_una - ent->start_seq; in rack_rate_cap_bw() 3606 if ((tp->snd_max == tp->snd_una) || in rack_enough_for_measurement() 4203 if (rack->rc_tp->snd_max == rack->rc_tp->snd_una) { in rack_enter_probertt() 4208 SEQ_GT(rack->rc_tp->snd_una, rack->rc_tp->gput_seq)) { in rack_enter_probertt() 4217 rack->rc_tp->snd_una, __LINE__, in rack_enter_probertt() 4246 SEQ_GT(rack->rc_tp->snd_una, rack->rc_tp->gput_seq)) { in rack_exit_probertt() [all …]
|
H A D | sack_filter.c | 798 sack_filter_clear(&sf, tp.snd_una); in main() 802 tp.snd_una = th_ack; in main() 804 } else if (SEQ_GT(th_ack, tp.snd_una)) { in main() 805 tp.snd_una = th_ack; in main() 809 sack_filter_clear(&sf, tp.snd_una); in main() 628 tcp_seq th_ack, snd_una, snd_max = 0; main() local
|
H A D | bbr.c | 580 if (SEQ_LT(tp->snd_una, tp->snd_max) || in bbr_timer_start() 625 ((tp->snd_max - tp->snd_una) == 1) && in bbr_timer_start() 985 (tp->snd_max == tp->snd_una)) { in bbr_timer_audit() 992 ((tp->snd_max - tp->snd_una) == 1) && in bbr_timer_audit() 1006 } else if (SEQ_GT(tp->snd_max, tp->snd_una) && in bbr_timer_audit() 1023 if (SEQ_GT(tp->snd_max, tp->snd_una) && in bbr_timer_audit() 3764 tp->snd_recover = tp->snd_una; in bbr_post_recovery() 4762 tp->snd_una == tp->snd_max) { in bbr_timeout_persist() 4781 tp->rcv_nxt, tp->snd_una - 1, 0); in bbr_timeout_persist() 4837 tp->rcv_nxt, tp->snd_una - 1, 0); in bbr_timeout_keepalive() [all …]
|
H A D | rack_bbr_common.c | 490 bytes_out = tp->snd_max - tp->snd_una; in ctf_outstanding() 672 (SEQ_GT(tp->snd_una, th->th_ack) || in ctf_do_dropafterack()
|
H A D | tcp_bbr.h | 236 uint32_t snd_una; member
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | tcp_common.h | 137 __le32 snd_una; member 280 __le32 snd_una; member
|
H A D | ecore_iscsi_api.h | 124 u32 snd_una; member
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_cpl_io.c | 380 tp->snd_una = iss + 1; in make_established() 1453 tp->snd_una = be32toh(cpl->snd_nxt) - 1; /* exclude FIN */ in do_close_con_rpl() 1853 tcp_seq snd_una = be32toh(cpl->snd_una); in do_fw4_ack() local 1856 if (__predict_false(SEQ_LT(snd_una, tp->snd_una))) { in do_fw4_ack() 1859 __func__, snd_una, toep->tid, tp->snd_una); in do_fw4_ack() 1863 if (tp->snd_una != snd_una) { in do_fw4_ack() 1864 tp->snd_una = snd_una; in do_fw4_ack()
|
H A D | t4_tom.c | 917 (SEQ_LT(seq, tp->snd_una) || SEQ_GEQ(seq, tp->snd_max))) { in t4_pmtu_update() 920 __func__, toep->tid, seq, tp->snd_una, tp->snd_max); in t4_pmtu_update()
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdcache.c | 844 nfsrc_trimcache(u_int64_t sockref, uint32_t snd_una, int final) in nfsrc_trimcache() argument 858 if (SEQ_GEQ(snd_una, rp->rc_tcpseq)) { in nfsrc_trimcache()
|
/freebsd/sys/netinet/khelp/ |
H A D | h_ertt.c | 217 acked = th->th_ack - tp->snd_una; in ertt_packet_measurement_hook()
|
/freebsd/cddl/lib/libdtrace/ |
H A D | tcp.d | 230 tcps_suna = p == NULL ? 0 : p->snd_una;
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_msg.h | 1250 __be32 snd_una; member 1259 __be32 snd_una; member 2762 __be32 snd_una; member
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_type.h | 942 u32 snd_una; member
|
/freebsd/sys/dev/cxgb/common/ |
H A D | cxgb_t3_cpl.h | 929 __be32 snd_una; member
|