/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_westwood.c | 37 u32 snd_una; /* used for evaluating the number of acked bytes */ member 73 w->snd_una = tcp_sk(sk)->snd_una; in tcp_westwood_init() 122 /* Initialize w->snd_una with the first acked sequence number in order in westwood_update_window() 123 * to fix mismatch between tp->snd_una and w->snd_una for the first in westwood_update_window() 127 w->snd_una = tcp_sk(sk)->snd_una; in westwood_update_window() 170 w->bk += tp->snd_una - w->snd_una; in westwood_fast_bw() [all...] |
H A D | tcp_nv.c | 113 u32 nv_last_snd_una; /* Previous value of tp->snd_una. It is 133 ca->nv_rtt_start_seq = tp->snd_una; in tcpnv_reset() 135 ca->nv_last_snd_una = tp->snd_una; in tcpnv_reset() 266 bytes_acked = tp->snd_una - ca->nv_last_snd_una; in tcpnv_acked() 267 ca->nv_last_snd_una = tp->snd_una; in tcpnv_acked() 338 if (before(ca->nv_rtt_start_seq, tp->snd_una)) { in tcpnv_acked()
|
H A D | tcp_input.c | 102 #define FLAG_SACK_RENEGING 0x2000 /* snd_una advanced to a sacked seq */ 882 if (after(tp->snd_una, tp->rtt_seq)) { in tcp_rtt_estimator() 1194 * snd_nxt wrap -> snd_una region will then become "well defined", i.e., 1199 * again, D-SACK block must not to go across snd_una (for the same reason as 1222 * start_seq == snd_una is non-sensical (see comments above) in tcp_is_sackblock_valid() 1224 if (after(start_seq, tp->snd_una)) in tcp_is_sackblock_valid() 1230 /* ...Then it's D-SACK, and must reside below snd_una completely */ in tcp_is_sackblock_valid() 1231 if (after(end_seq, tp->snd_una)) in tcp_is_sackblock_valid() 1362 if (!after(end_seq, tp->snd_una)) in tcp_sacktag_one() 1561 if (!after(TCP_SKB_CB(skb)->end_seq, tp->snd_una)) in tcp_shift_skb_data() [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_westwood.c | 37 u32 snd_una; /* used for evaluating the number of acked bytes */ member 73 w->snd_una = tcp_sk(sk)->snd_una; in tcp_westwood_init() 122 /* Initialize w->snd_una with the first acked sequence number in order in westwood_update_window() 123 * to fix mismatch between tp->snd_una and w->snd_una for the first in westwood_update_window() 127 w->snd_una = tcp_sk(sk)->snd_una; in westwood_update_window() 170 w->bk += tp->snd_una - w->snd_una; in westwood_fast_bw() [all...] |
H A D | tcp_nv.c | 112 u32 nv_last_snd_una; /* Previous value of tp->snd_una. It is 132 ca->nv_rtt_start_seq = tp->snd_una; in tcpnv_reset() 134 ca->nv_last_snd_una = tp->snd_una; in tcpnv_reset() 265 bytes_acked = tp->snd_una - ca->nv_last_snd_una; in tcpnv_acked() 266 ca->nv_last_snd_una = tp->snd_una; in tcpnv_acked() 337 if (before(ca->nv_rtt_start_seq, tp->snd_una)) { in tcpnv_acked()
|
H A D | tcp_input.c | 99 #define FLAG_SACK_RENEGING 0x2000 /* snd_una advanced to a sacked seq */ 892 if (after(tp->snd_una, tp->rtt_seq)) { in tcp_rtt_estimator() 1213 * snd_nxt wrap -> snd_una region will then become "well defined", i.e., 1218 * again, D-SACK block must not to go across snd_una (for the same reason as 1241 * start_seq == snd_una is non-sensical (see comments above) in tcp_is_sackblock_valid() 1243 if (after(start_seq, tp->snd_una)) in tcp_is_sackblock_valid() 1249 /* ...Then it's D-SACK, and must reside below snd_una completely */ in tcp_is_sackblock_valid() 1250 if (after(end_seq, tp->snd_una)) in tcp_is_sackblock_valid() 1381 if (!after(end_seq, tp->snd_una)) in tcp_sacktag_one() 1580 if (!after(TCP_SKB_CB(skb)->end_seq, tp->snd_una)) in tcp_shift_skb_data() [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | tcp.h | 244 __field(__u32, snd_una) 270 __entry->snd_una = tp->snd_una; 279 TP_printk("src=%pISpc dest=%pISpc mark=%#x data_len=%d snd_nxt=%#x snd_una=%#x snd_cwnd=%u ssthresh=%u snd_wnd=%u srtt=%u rcv_wnd=%u sock_cookie=%llx", 281 __entry->data_len, __entry->snd_nxt, __entry->snd_una,
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | tcp_nip_input.c | 114 #define FLAG_SACK_RENEGING 0x2000 /* snd_una advanced to a sacked seq */ 731 u32 delta = ack - tp->snd_una; in tcp_nip_snd_una_update() 735 tp->snd_una = ack; in tcp_nip_snd_una_update() 799 if (after(scb->end_seq, tp->snd_una)) { in tcp_nip_clean_rtx_queue() 800 if (tcp_skb_pcount(skb) == 1 || !after(tp->snd_una, scb->seq)) in tcp_nip_clean_rtx_queue() 1015 newtp->snd_una = treq->snt_isn + 1; in tcp_nip_create_openreq_child() 1258 return after(ack, tp->snd_una) || in tcp_nip_may_update_window() 1438 if (tp->snd_nxt > tp->snd_una && rtt_tstamp > 0) { in update_nip_bw() 1439 u32 bw_est = (tp->snd_nxt - tp->snd_una) * BW_MULTIPLY_FACTOR / rtt_tstamp; in update_nip_bw() 1626 u32 prior_snd_una = tp->snd_una; in tcp_nip_ack() [all...] |
H A D | tcp_nip_output.c | 332 tp->snd_una = tp->write_seq; in tcp_nip_connect_init() 506 - tp->snd_una; in __tcp_nip_transmit_skb() 1160 if (before(TCP_SKB_CB(skb)->seq, tp->snd_una)) { in __tcp_nip_retransmit_skb() 1161 if (unlikely(before(TCP_SKB_CB(skb)->end_seq, tp->snd_una))) { in __tcp_nip_retransmit_skb() 1165 if (tcp_trim_head(sk, skb, tp->snd_una - TCP_SKB_CB(skb)->seq)) in __tcp_nip_retransmit_skb() 1172 TCP_SKB_CB(skb)->seq != tp->snd_una) in __tcp_nip_retransmit_skb() 1279 tcp_nip_init_nondata_skb(skb, tp->snd_una - !urgent, TCPHDR_ACK); in tcp_nip_xmit_probe_skb()
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | tcp.h | 254 __field(__u32, snd_una) 281 __entry->snd_una = tp->snd_una; 290 TP_printk("family=%s src=%pISpc dest=%pISpc mark=%#x data_len=%d snd_nxt=%#x snd_una=%#x snd_cwnd=%u ssthresh=%u snd_wnd=%u srtt=%u rcv_wnd=%u sock_cookie=%llx", 293 __entry->data_len, __entry->snd_nxt, __entry->snd_una,
|
/kernel/linux/linux-5.10/net/mptcp/ |
H A D | options.c | 818 u64 new_snd_una, snd_una, old_snd_una = atomic64_read(&msk->snd_una); in update_una() local 832 snd_una = old_snd_una; in update_una() 833 old_snd_una = atomic64_cmpxchg(&msk->snd_una, snd_una, in update_una() 835 if (old_snd_una == snd_una) { in update_una()
|
H A D | protocol.c | 338 msk->write_seq == atomic64_read(&msk->snd_una)) { in mptcp_check_data_fin_ack() 811 u64 snd_una; in mptcp_clean_una() local 813 /* on fallback we just need to ignore snd_una, as this is really in mptcp_clean_una() 817 atomic64_set(&msk->snd_una, msk->write_seq); in mptcp_clean_una() 818 snd_una = atomic64_read(&msk->snd_una); in mptcp_clean_una() 821 if (after64(dfrag->data_seq + dfrag->data_len, snd_una)) in mptcp_clean_una() 829 if (dfrag && after64(snd_una, dfrag->data_seq)) { in mptcp_clean_una() 830 u64 delta = snd_una - dfrag->data_seq; in mptcp_clean_una() 1609 if (atomic64_read(&msk->snd_una) in mptcp_retransmit_handler() [all...] |
/kernel/linux/linux-5.10/include/linux/qed/ |
H A D | tcp_common.h | 101 __le32 snd_una; member 232 __le32 snd_una; member
|
H A D | qed_iscsi_if.h | 69 u32 snd_una; member
|
/kernel/linux/linux-6.6/include/linux/qed/ |
H A D | tcp_common.h | 101 __le32 snd_una; member 232 __le32 snd_una; member
|
H A D | qed_iscsi_if.h | 69 u32 snd_una; member
|
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_cm.c | 1644 csk->snd_una = snd_isn; in cxgbit_pass_establish() 1841 u32 snd_una = ntohl(rpl->snd_una); in cxgbit_fw4_ack() local 1879 if (unlikely(before(snd_una, csk->snd_una))) { in cxgbit_fw4_ack() 1880 pr_warn("csk 0x%p,%u, snd_una %u/%u.", in cxgbit_fw4_ack() 1881 csk, csk->tid, snd_una, in cxgbit_fw4_ack() 1882 csk->snd_una); in cxgbit_fw4_ack() 1886 if (csk->snd_una != snd_una) { in cxgbit_fw4_ack() [all...] |
/kernel/linux/linux-6.6/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_cm.c | 1645 csk->snd_una = snd_isn; in cxgbit_pass_establish() 1839 u32 snd_una = ntohl(rpl->snd_una); in cxgbit_fw4_ack() local 1877 if (unlikely(before(snd_una, csk->snd_una))) { in cxgbit_fw4_ack() 1878 pr_warn("csk 0x%p,%u, snd_una %u/%u.", in cxgbit_fw4_ack() 1879 csk, csk->tid, snd_una, in cxgbit_fw4_ack() 1880 csk->snd_una); in cxgbit_fw4_ack() 1884 if (csk->snd_una != snd_una) { in cxgbit_fw4_ack() [all...] |
/kernel/linux/linux-6.6/net/mptcp/ |
H A D | protocol.c | 435 msk->write_seq == READ_ONCE(msk->snd_una); in mptcp_pending_data_fin_ack() 1009 u64 snd_una; in __mptcp_clean_una() local 1011 snd_una = msk->snd_una; in __mptcp_clean_una() 1013 if (after64(dfrag->data_seq + dfrag->data_len, snd_una)) in __mptcp_clean_una() 1028 if (dfrag && after64(snd_una, dfrag->data_seq)) { in __mptcp_clean_una() 1029 u64 delta = snd_una - dfrag->data_seq; in __mptcp_clean_una() 1049 if (unlikely(msk->recovery) && after64(msk->snd_una, msk->recovery_snd_nxt)) in __mptcp_clean_una() 1053 if (snd_una == READ_ONCE(msk->snd_nxt) && in __mptcp_clean_una() 1054 snd_una in __mptcp_clean_una() 1306 u64 snd_una = READ_ONCE(msk->snd_una); mptcp_sendmsg_frag() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_sock_fields.c | 94 dst->snd_una = src->snd_una; in tpcpy()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_sock_fields.c | 94 dst->snd_una = src->snd_una; in tpcpy()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_cm.c | 1468 tp->snd_una = snd_isn; in make_established() 1930 tp->snd_una = ntohl(rpl->snd_nxt) - 1; /* exclude FIN */ in chtls_close_con_rpl() 2228 u32 snd_una; in chtls_rx_ack() local 2230 snd_una = ntohl(hdr->snd_una); in chtls_rx_ack() 2255 if (unlikely(before(snd_una, tp->snd_una))) { in chtls_rx_ack() 2260 if (tp->snd_una != snd_una) { in chtls_rx_ack() 2261 tp->snd_una in chtls_rx_ack() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_cm.c | 1468 tp->snd_una = snd_isn; in make_established() 1930 tp->snd_una = ntohl(rpl->snd_nxt) - 1; /* exclude FIN */ in chtls_close_con_rpl() 2228 u32 snd_una; in chtls_rx_ack() local 2230 snd_una = ntohl(hdr->snd_una); in chtls_rx_ack() 2255 if (unlikely(before(snd_una, tp->snd_una))) { in chtls_rx_ack() 2260 if (tp->snd_una != snd_una) { in chtls_rx_ack() 2261 tp->snd_una in chtls_rx_ack() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/ |
H A D | libcxgbi.c | 833 csk->write_seq = csk->snd_nxt = csk->snd_una = snd_isn; in cxgbi_sock_established() 999 csk->snd_una = snd_nxt - 1; in cxgbi_sock_rcv_close_conn_rpl() 1024 unsigned int snd_una, int seq_chk) in cxgbi_sock_rcv_wr_ack() 1027 "csk 0x%p,%u,0x%lx,%u, cr %u,%u+%u, snd_una %u,%d.\n", in cxgbi_sock_rcv_wr_ack() 1029 csk->wr_cred, csk->wr_una_cred, snd_una, seq_chk); in cxgbi_sock_rcv_wr_ack() 1064 if (unlikely(before(snd_una, csk->snd_una))) { in cxgbi_sock_rcv_wr_ack() 1065 pr_warn("csk 0x%p,%u,0x%lx,%u, snd_una %u/%u.", in cxgbi_sock_rcv_wr_ack() 1066 csk, csk->state, csk->flags, csk->tid, snd_una, in cxgbi_sock_rcv_wr_ack() 1067 csk->snd_una); in cxgbi_sock_rcv_wr_ack() 1023 cxgbi_sock_rcv_wr_ack(struct cxgbi_sock *csk, unsigned int credits, unsigned int snd_una, int seq_chk) cxgbi_sock_rcv_wr_ack() argument [all...] |
/kernel/linux/linux-6.6/drivers/scsi/cxgbi/ |
H A D | libcxgbi.c | 833 csk->write_seq = csk->snd_nxt = csk->snd_una = snd_isn; in cxgbi_sock_established() 999 csk->snd_una = snd_nxt - 1; in cxgbi_sock_rcv_close_conn_rpl() 1024 unsigned int snd_una, int seq_chk) in cxgbi_sock_rcv_wr_ack() 1027 "csk 0x%p,%u,0x%lx,%u, cr %u,%u+%u, snd_una %u,%d.\n", in cxgbi_sock_rcv_wr_ack() 1029 csk->wr_cred, csk->wr_una_cred, snd_una, seq_chk); in cxgbi_sock_rcv_wr_ack() 1064 if (unlikely(before(snd_una, csk->snd_una))) { in cxgbi_sock_rcv_wr_ack() 1065 pr_warn("csk 0x%p,%u,0x%lx,%u, snd_una %u/%u.", in cxgbi_sock_rcv_wr_ack() 1066 csk, csk->state, csk->flags, csk->tid, snd_una, in cxgbi_sock_rcv_wr_ack() 1067 csk->snd_una); in cxgbi_sock_rcv_wr_ack() 1023 cxgbi_sock_rcv_wr_ack(struct cxgbi_sock *csk, unsigned int credits, unsigned int snd_una, int seq_chk) cxgbi_sock_rcv_wr_ack() argument [all...] |