Searched refs:snd_una (Results 1 - 27 of 27) sorted by relevance

/linux-4.4.14/net/ipv4/
H A Dtcp_westwood.c36 u32 snd_una; /* used for evaluating the number of acked bytes */ member in struct:westwood
72 w->snd_una = tcp_sk(sk)->snd_una; tcp_westwood_init()
120 /* Initialize w->snd_una with the first acked sequence number in order westwood_update_window()
121 * to fix mismatch between tp->snd_una and w->snd_una for the first westwood_update_window()
125 w->snd_una = tcp_sk(sk)->snd_una; westwood_update_window()
168 w->bk += tp->snd_una - w->snd_una; westwood_fast_bw()
169 w->snd_una = tp->snd_una; westwood_fast_bw()
183 w->cumul_ack = tp->snd_una - w->snd_una; westwood_acked_count()
186 * tp->snd_una. westwood_acked_count()
204 w->snd_una = tp->snd_una; westwood_acked_count()
H A Dtcp_diag.c31 r->idiag_wqueue = tp->write_seq - tp->snd_una; tcp_diag_get_info()
H A Dtcp_probe.c68 u32 snd_una; member in struct:tcp_log
150 p->snd_una = tp->snd_una; jtcp_rcv_established()
197 &p->src, &p->dst, p->length, p->snd_nxt, p->snd_una, tcpprobe_sprint()
H A Dtcp_dctcp.c93 ca->prior_snd_una = tp->snd_una; dctcp_init()
190 u32 acked_bytes = tp->snd_una - ca->prior_snd_una; dctcp_update_alpha()
192 /* If ack did not advance snd_una, count dupack as MSS size. dctcp_update_alpha()
199 ca->prior_snd_una = tp->snd_una; dctcp_update_alpha()
206 if (!before(tp->snd_una, ca->next_seq)) { dctcp_update_alpha()
H A Dtcp_recovery.c53 if (!after(scb->end_seq, tp->snd_una) || tcp_for_write_queue()
H A Dtcp_input.c118 #define FLAG_SACK_RENEGING 0x2000 /* snd_una advanced to a sacked seq */
734 if (after(tp->snd_una, tp->rtt_seq)) { tcp_rtt_estimator()
998 * snd_nxt wrap -> snd_una region will then become "well defined", i.e.,
1003 * again, D-SACK block must not to go across snd_una (for the same reason as
1026 * start_seq == snd_una is non-sensical (see comments above) tcp_is_sackblock_valid()
1028 if (after(start_seq, tp->snd_una)) tcp_is_sackblock_valid()
1034 /* ...Then it's D-SACK, and must reside below snd_una completely */ tcp_is_sackblock_valid()
1035 if (after(end_seq, tp->snd_una)) tcp_is_sackblock_valid()
1172 if (!after(end_seq, tp->snd_una)) tcp_sacktag_one()
1356 if (!after(TCP_SKB_CB(skb)->end_seq, tp->snd_una)) tcp_shift_skb_data()
1432 /* tcp_sacktag_one() won't SACK-tag ranges below snd_una */ tcp_shift_skb_data()
1433 if (!after(TCP_SKB_CB(skb)->seq + len, tp->snd_una)) tcp_shift_skb_data()
1650 if ((TCP_SKB_CB(ack_skb)->ack_seq != tp->snd_una) && tcp_sacktag_write_queue()
1651 !after(sp[used_sacks].end_seq, tp->snd_una)) tcp_sacktag_write_queue()
1863 tp->undo_marker = tp->snd_una; tcp_init_undo()
1882 !after(tp->high_seq, tp->snd_una) || tcp_enter_loss()
2401 if (tp->snd_una == tp->high_seq && tcp_is_reno(tp)) { tcp_try_undo_recovery()
2670 bool recovered = !before(tp->snd_una, tp->high_seq); tcp_process_loss()
2791 } else if (!before(tp->snd_una, tp->high_seq)) { tcp_fastretrans_alert()
2796 if (tp->snd_una != tp->high_seq) { tcp_fastretrans_alert()
2860 tp->snd_una == tp->mtu_probe.probe_seq_start) { tcp_fastretrans_alert()
3063 BUG_ON(!after(TCP_SKB_CB(skb)->end_seq, tp->snd_una)); tcp_tso_acked()
3066 if (tcp_trim_head(sk, skb, tp->snd_una - TCP_SKB_CB(skb)->seq)) tcp_tso_acked()
3089 between(shinfo->tskey, prior_snd_una, tcp_sk(sk)->snd_una - 1)) tcp_ack_tstamp()
3125 if (after(scb->end_seq, tp->snd_una)) { tcp_clean_rtx_queue()
3127 !after(tp->snd_una, scb->seq)) tcp_clean_rtx_queue()
3191 if (likely(between(tp->snd_up, prior_snd_una, tp->snd_una))) tcp_clean_rtx_queue()
3192 tp->snd_up = tp->snd_una; tcp_clean_rtx_queue()
3213 !after(tp->mtu_probe.probe_seq_end, tp->snd_una))) { tcp_clean_rtx_queue()
3317 * The function assumes that snd_una<=ack<=snd_next.
3323 return after(ack, tp->snd_una) || tcp_may_update_window()
3328 /* If we update tp->snd_una, also update tp->bytes_acked */ tcp_snd_una_update()
3331 u32 delta = ack - tp->snd_una; tcp_snd_una_update()
3336 tp->snd_una = ack; tcp_snd_una_update()
3517 u32 prior_snd_una = tp->snd_una; tcp_ack()
3658 SOCK_DEBUG(sk, "Ack %u after %u:%u\n", ack, tp->snd_una, tp->snd_nxt); tcp_ack()
3672 SOCK_DEBUG(sk, "Ack %u before %u:%u\n", ack, tp->snd_una, tp->snd_nxt); tcp_ack()
3924 ack == tp->snd_una && tcp_disordered_ack()
4519 TCP_SKB_CB(skb)->ack_seq = tcp_sk(sk)->snd_una - 1; tcp_send_rcvq()
5367 if (TCP_SKB_CB(skb)->ack_seq != tp->snd_una) { tcp_rcv_established()
5538 if (!after(TCP_SKB_CB(skb)->ack_seq, tp->snd_una) || tcp_rcv_synsent_state_process()
5860 tp->snd_una = TCP_SKB_CB(skb)->ack_seq; tcp_rcv_state_process()
5911 if (tp->snd_una != tp->write_seq) tcp_rcv_state_process()
5954 if (tp->snd_una == tp->write_seq) { tcp_rcv_state_process()
5961 if (tp->snd_una == tp->write_seq) { tcp_rcv_state_process()
H A Dtcp_yeah.c101 * of snd_una and snd_nxt at the beginning of the current RTT. More tcp_yeah_cong_avoid()
110 * Unfortunately, v_vegas.beg_snd_una is not exactly equal to snd_una, tcp_yeah_cong_avoid()
H A Dtcp_ipv4.c367 __u32 seq, snd_una; tcp_v4_err() local
412 /* XXX (TFO) - tp->snd_una should be ISN (tcp_create_openreq_child() */ tcp_v4_err()
414 snd_una = fastopen ? tcp_rsk(fastopen)->snt_isn : tp->snd_una; tcp_v4_err()
416 !between(seq, snd_una, tp->snd_nxt)) { tcp_v4_err()
458 if (seq != tp->snd_una || !icsk->icsk_retransmits || tcp_v4_err()
2199 tp->write_seq - tp->snd_una, get_tcp4_sock()
H A Dtcp_output.c414 return tp->snd_una != tp->snd_up; tcp_urg_mode()
979 /* The urg_mode check is necessary during a below snd_una win probe */ tcp_transmit_skb()
1471 if (!before(tp->snd_una, tp->max_packets_seq) || tcp_cwnd_validate()
1496 return after(tp->snd_sml, tp->snd_una) && tcp_minshall_check()
2577 if (before(TCP_SKB_CB(skb)->seq, tp->snd_una)) { __tcp_retransmit_skb()
2578 if (before(TCP_SKB_CB(skb)->end_seq, tp->snd_una)) __tcp_retransmit_skb()
2580 if (tcp_trim_head(sk, skb, tp->snd_una - TCP_SKB_CB(skb)->seq)) __tcp_retransmit_skb()
2595 TCP_SKB_CB(skb)->seq != tp->snd_una) __tcp_retransmit_skb()
2729 tp->retransmit_high = tp->snd_una; tcp_xmit_retransmit_queue()
2738 last_lost = tp->snd_una; tcp_xmit_retransmit_queue()
3113 tp->snd_una = tp->write_seq; tcp_connect_init()
3412 tcp_init_nondata_skb(skb, tp->snd_una - !urgent, TCPHDR_ACK); tcp_xmit_probe_skb()
3463 if (between(tp->snd_up, tp->snd_una + 1, tp->snd_una + 0xFFFF)) tcp_write_wakeup()
H A Dtcp_timer.c397 tp->snd_una, tp->snd_nxt); tcp_retransmit_timer()
405 tp->snd_una, tp->snd_nxt); tcp_retransmit_timer()
H A Dtcp_minisocks.c463 newtp->snd_sml = newtp->snd_una = tcp_create_openreq_child()
H A Dtcp.c586 answ = tp->write_seq - tp->snd_una; tcp_ioctl()
/linux-4.4.14/include/linux/
H A Dtcp.h164 * sum(delta(snd_una)), or how many bytes
169 u32 snd_una; /* First byte we want an ack for */ member in struct:tcp_sock
298 u32 undo_marker; /* snd_una upon a new recovery episode. */
/linux-4.4.14/drivers/scsi/cxgbi/
H A Dlibcxgbi.c806 csk->write_seq = csk->snd_nxt = csk->snd_una = snd_isn; cxgbi_sock_established()
967 csk->snd_una = snd_nxt - 1; cxgbi_sock_rcv_close_conn_rpl()
992 unsigned int snd_una, int seq_chk) cxgbi_sock_rcv_wr_ack()
995 "csk 0x%p,%u,0x%lx,%u, cr %u,%u+%u, snd_una %u,%d.\n", cxgbi_sock_rcv_wr_ack()
997 csk->wr_cred, csk->wr_una_cred, snd_una, seq_chk); cxgbi_sock_rcv_wr_ack()
1032 if (unlikely(before(snd_una, csk->snd_una))) { cxgbi_sock_rcv_wr_ack()
1033 pr_warn("csk 0x%p,%u,0x%lx,%u, snd_una %u/%u.", cxgbi_sock_rcv_wr_ack()
1034 csk, csk->state, csk->flags, csk->tid, snd_una, cxgbi_sock_rcv_wr_ack()
1035 csk->snd_una); cxgbi_sock_rcv_wr_ack()
1039 if (csk->snd_una != snd_una) { cxgbi_sock_rcv_wr_ack()
1040 csk->snd_una = snd_una; cxgbi_sock_rcv_wr_ack()
1133 if (csk->write_seq - csk->snd_una >= csk->snd_win) { cxgbi_sock_send_pdus()
1137 csk->snd_una, csk->snd_win); cxgbi_sock_send_pdus()
991 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
H A Dlibcxgbi.h235 u32 snd_una; member in struct:cxgbi_sock
/linux-4.4.14/drivers/infiniband/hw/nes/
H A Dnes_context.h61 __le32 snd_una; member in struct:nes_qp_context
H A Dnes_cm.c2969 nesqp->nesqp_context->snd_una = cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num); nes_cm_init_tsa_conn()
/linux-4.4.14/net/ipv6/
H A Dtcp_ipv6.c329 __u32 seq, snd_una; tcp_v6_err() local
367 /* XXX (TFO) - tp->snd_una should be ISN (tcp_create_openreq_child() */ tcp_v6_err()
369 snd_una = fastopen ? tcp_rsk(fastopen)->snt_isn : tp->snd_una; tcp_v6_err()
371 !between(seq, snd_una, tp->snd_nxt)) { tcp_v6_err()
1743 tp->write_seq - tp->snd_una, get_tcp6_sock()
/linux-4.4.14/net/rds/
H A Dtcp.c86 return tcp_sk(tc->t_sock->sk)->snd_una; rds_tcp_snd_una()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_msg.h1087 __be32 snd_una; member in struct:cpl_fw4_ack
/linux-4.4.14/drivers/block/drbd/
H A Ddrbd_debugfs.c397 answ = tp->write_seq - tp->snd_una; in_flight_summary_show()
/linux-4.4.14/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c844 * Process an acknowledgment of WR completion. Advance snd_una and send the
856 cxgbi_sock_rcv_wr_ack(csk, ntohs(hdr->credits), ntohl(hdr->snd_una), 1); do_wr_ack()
/linux-4.4.14/include/net/
H A Dtcp.h1064 return tp->snd_una + tp->snd_wnd; tcp_wnd_end()
1588 return tp->snd_una; tcp_highest_sack_seq()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_cpl.h875 __be32 snd_una; member in struct:cpl_wr_ack
/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c1269 cxgbi_sock_rcv_wr_ack(csk, rpl->credits, ntohl(rpl->snd_una), do_fw4_ack()
/linux-4.4.14/drivers/net/ethernet/broadcom/
H A Dcnic_defs.h946 u32 snd_una; member in struct:tstorm_tcp_tcp_ag_context_section
1751 u32 snd_una; member in struct:xstorm_tcp_tcp_ag_context_section
/linux-4.4.14/net/core/
H A Dsock.c881 sk->sk_tskey = tcp_sk(sk)->snd_una; sock_setsockopt()

Completed in 2087 milliseconds