Home
last modified time | relevance | path

Searched refs:tcp_packets_in_flight (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtcp_ca_write_sk_pacing.c16 static unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) in tcp_left_out()
41 tp->app_limited = (tp->delivered + tcp_packets_in_flight(tp)) ?: 1; in BPF_PROG()
18 static unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) tcp_packets_in_flight() function
/linux/net/ipv4/
H A Dtcp_output.c185 if (tcp_packets_in_flight(tp) == 0) in tcp_event_data_sent()
1279 tcp_snd_cwnd(tp) > tcp_packets_in_flight(tp)) { in tcp_tsq_write()
1485 * Note that we use packets_out instead of tcp_packets_in_flight(tp) in tcp_rate_skb_sent()
2328 in_flight = tcp_packets_in_flight(tp); in tcp_cwnd_test()
2477 in_flight = tcp_packets_in_flight(tp); in tcp_tso_should_defer()
2740 if (tcp_packets_in_flight(tp) + 2 > tcp_snd_cwnd(tp)) { in tcp_mtu_probe()
2741 if (!tcp_packets_in_flight(tp)) in tcp_mtu_probe()
3083 is_cwnd_limited |= (tcp_packets_in_flight(tp) >= tcp_snd_cwnd(tp)); in tcp_write_xmit()
3751 segs = tcp_snd_cwnd(tp) - tcp_packets_in_flight(tp); in tcp_xmit_retransmit_queue()
H A Dtcp_input.c2410 WARN_ON((int)tcp_packets_in_flight(tp) < 0); in tcp_sacktag_write_queue()
2574 tcp_snd_cwnd_set(tp, tcp_packets_in_flight(tp) + 1); in tcp_enter_loss()
2989 int delta = tp->snd_ssthresh - tcp_packets_in_flight(tp); in tcp_cwnd_reduction()
3010 tcp_snd_cwnd_set(tp, tcp_packets_in_flight(tp) + sndcnt); in tcp_cwnd_reduction()
4311 rs.prior_in_flight = tcp_packets_in_flight(tp); in tcp_ack()
6039 if (tcp_packets_in_flight(tp) >= tcp_snd_cwnd(tp)) in tcp_should_expand_sndbuf()
H A Dtcp.c1108 tcp_packets_in_flight(tp) < tcp_snd_cwnd(tp) && in tcp_rate_check_app_limited()
1112 (tp->delivered + tcp_packets_in_flight(tp)) ? : 1; in tcp_rate_check_app_limited()
/linux/include/net/
H A Dtcp.h1511 static inline unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) in tcp_snd_cwnd()
1502 static inline unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) tcp_packets_in_flight() function