Home
last modified time | relevance | path

Searched refs:snd_una (Results 1 – 15 of 15) sorted by relevance

/net/ipv4/
Dtcp_westwood.c37 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()
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()
171 w->snd_una = tp->snd_una; in westwood_fast_bw()
185 w->cumul_ack = tp->snd_una - w->snd_una; in westwood_acked_count()
206 w->snd_una = tp->snd_una; in westwood_acked_count()
Dtcp_nv.c133 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()
Dtcp_input.c793 if (after(tp->snd_una, tp->rtt_seq)) { in tcp_rtt_estimator()
1085 if (after(start_seq, tp->snd_una)) in tcp_is_sackblock_valid()
1092 if (after(end_seq, tp->snd_una)) in tcp_is_sackblock_valid()
1232 if (!after(end_seq, tp->snd_una)) in tcp_sacktag_one()
1430 if (!after(TCP_SKB_CB(skb)->end_seq, tp->snd_una)) in tcp_shift_skb_data()
1510 if (!after(TCP_SKB_CB(skb)->seq + len, tp->snd_una)) in tcp_shift_skb_data()
1733 if ((TCP_SKB_CB(ack_skb)->ack_seq != tp->snd_una) && in tcp_sacktag_write_queue()
1734 !after(sp[used_sacks].end_seq, tp->snd_una)) in tcp_sacktag_write_queue()
1959 tp->undo_marker = tp->snd_una; in tcp_init_undo()
2017 !after(tp->high_seq, tp->snd_una) || in tcp_enter_loss()
[all …]
Dtcp_output.c408 return tp->snd_una != tp->snd_up; in tcp_urg_mode()
1041 - tp->snd_una; in __tcp_transmit_skb()
1662 if (!before(tp->snd_una, tp->cwnd_usage_seq) || in tcp_cwnd_validate()
1702 return after(tp->snd_sml, tp->snd_una) && in tcp_minshall_check()
2949 if (before(TCP_SKB_CB(skb)->seq, tp->snd_una)) { in __tcp_retransmit_skb()
2955 if (unlikely(before(TCP_SKB_CB(skb)->end_seq, tp->snd_una))) { in __tcp_retransmit_skb()
2959 if (tcp_trim_head(sk, skb, tp->snd_una - TCP_SKB_CB(skb)->seq)) in __tcp_retransmit_skb()
2975 if (TCP_SKB_CB(skb)->seq != tp->snd_una) in __tcp_retransmit_skb()
3491 tp->snd_una = tp->write_seq; in tcp_connect_init()
3801 tcp_init_nondata_skb(skb, tp->snd_una - !urgent, TCPHDR_ACK); in tcp_xmit_probe_skb()
[all …]
Dtcp_dctcp.c117 if (!before(tp->snd_una, ca->next_seq)) { in dctcp_update_alpha()
Dtcp_diag.c31 r->idiag_wqueue = READ_ONCE(tp->write_seq) - tp->snd_una; in tcp_diag_get_info()
Dtcp_timer.c485 tp->snd_una, tp->snd_nxt); in tcp_retransmit_timer()
493 tp->snd_una, tp->snd_nxt); in tcp_retransmit_timer()
Dtcp_ipv4.c438 u32 seq, snd_una; in tcp_v4_err() local
487 snd_una = fastopen ? tcp_rsk(fastopen)->snt_isn : tp->snd_una; in tcp_v4_err()
489 !between(seq, snd_una, tp->snd_nxt)) { in tcp_v4_err()
532 if (seq != tp->snd_una || !icsk->icsk_retransmits || in tcp_v4_err()
2495 READ_ONCE(tp->write_seq) - tp->snd_una, in get_tcp4_sock()
Dtcp_cubic.c385 if (after(tp->snd_una, ca->end_seq)) in hystart_update()
Dtcp_minisocks.c486 newtp->snd_sml = newtp->snd_una = seq; in tcp_create_openreq_child()
Dtcp.c633 answ = READ_ONCE(tp->write_seq) - tp->snd_una; in tcp_ioctl()
3425 nla_put_u32(stats, TCP_NLA_SNDQ_SIZE, tp->write_seq - tp->snd_una); in tcp_get_timestamping_opt_stats()
/net/ipv6/
Dtcp_ipv6.c381 __u32 seq, snd_una; in tcp_v6_err() local
423 snd_una = fastopen ? tcp_rsk(fastopen)->snt_isn : tp->snd_una; in tcp_v6_err()
425 !between(seq, snd_una, tp->snd_nxt)) { in tcp_v6_err()
1938 READ_ONCE(tp->write_seq) - tp->snd_una, in get_tcp6_sock()
/net/rds/
Dtcp.c110 return tcp_sk(tc->t_sock->sk)->snd_una; in rds_tcp_snd_una()
/net/core/
Dfilter.c5692 case offsetof(struct bpf_tcp_sock, snd_una): in bpf_tcp_sock_convert_ctx_access()
5693 BPF_TCP_SOCK_GET_COMMON(snd_una); in bpf_tcp_sock_convert_ctx_access()
8382 case offsetof(struct bpf_sock_ops, snd_una): in sock_ops_convert_ctx_access()
8383 SOCK_OPS_GET_TCP_SOCK_FIELD(snd_una); in sock_ops_convert_ctx_access()
Dsock.c947 sk->sk_tskey = tcp_sk(sk)->snd_una; in sock_setsockopt()