Home
last modified time | relevance | path

Searched refs:snd_cwnd (Results 1 – 24 of 24) sorted by relevance

/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dbpf_dctcp.c120 ca->loss_cwnd = tp->snd_cwnd; in BPF_PROG()
121 return max(tp->snd_cwnd - ((tp->snd_cwnd * ca->dctcp_alpha) >> 11U), 2U); in BPF_PROG()
159 ca->loss_cwnd = tp->snd_cwnd; in dctcp_react_to_loss()
160 tp->snd_ssthresh = max(tp->snd_cwnd >> 1U, 2U); in dctcp_react_to_loss()
234 return max(tcp_sk(sk)->snd_cwnd, ca->loss_cwnd); in BPF_PROG()
H A Dbpf_cubic.c401 bictcp_update(ca, tp->snd_cwnd, acked); in BPF_PROG()
414 if (tp->snd_cwnd < ca->last_max_cwnd && fast_convergence) in BPF_PROG()
415 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in BPF_PROG()
418 ca->last_max_cwnd = tp->snd_cwnd; in BPF_PROG()
420 return max((tp->snd_cwnd * beta) / BICTCP_BETA_SCALE, 2U); in BPF_PROG()
479 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
494 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
528 tp->snd_cwnd >= hystart_low_window) in BPF_PROG()
H A Dbpf_cc_cubic.c63 if (tp->snd_cwnd < tp->snd_ssthresh / 2) in tcp_update_pacing_rate()
68 rate *= max(tp->snd_cwnd, tp->packets_out); in tcp_update_pacing_rate()
101 tp->snd_cwnd = pkts_in_flight + sndcnt; in tcp_cwnd_reduction()
140 tp->snd_cwnd = tp->snd_ssthresh; in BPF_PROG()
H A Dtcp_ca_write_sk_pacing.c40 ((tp->snd_cwnd * tp->mss_cache * USEC_PER_SEC) << 3) / in BPF_PROG()
55 return tcp_sk(sk)->snd_cwnd; in BPF_PROG()
H A Dbpf_tracing_net.h165 return tp->snd_cwnd < tp->snd_ssthresh; in tcp_in_slow_start()
174 return tp->snd_cwnd < 2 * tp->max_packets_out; in tcp_is_cwnd_limited()
H A Dtcp_ca_incompl_cong_ops.c18 return tcp_sk(sk)->snd_cwnd; in BPF_PROG()
H A Dtcp_ca_update.c39 return tcp_sk(sk)->snd_cwnd; in BPF_PROG()
H A Dverifier_sock.c506 __imm_const(bpf_tcp_sock_snd_cwnd, offsetof(struct bpf_tcp_sock, snd_cwnd)) in no_null_check_on_ret_2()
529 __imm_const(bpf_tcp_sock_snd_cwnd, offsetof(struct bpf_tcp_sock, snd_cwnd)) in skb_sk_tp_snd_cwnd_1()
604 __imm_const(bpf_tcp_sock_snd_cwnd, offsetof(struct bpf_tcp_sock, snd_cwnd)) in skb_sk_tp_snd_cwnd_2()
H A Dtest_sock_fields.c91 dst->snd_cwnd = src->snd_cwnd; in tpcpy()
H A Dbpf_iter_tcp4.c139 tp->snd_cwnd, in dump_tcp_sock()
H A Dverifier_ref_tracking.c1157 __imm_const(bpf_tcp_sock_snd_cwnd, offsetof(struct bpf_tcp_sock, snd_cwnd)), in __flag()
1350 __imm_const(bpf_tcp_sock_snd_cwnd, offsetof(struct bpf_tcp_sock, snd_cwnd)), in and_bpf_tcp_sock_sk()
H A Dbpf_iter_tcp6.c143 tp->tcp.snd_cwnd, in dump_tcp6_sock()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dsock_fields.c92 tp->snd_cwnd, tp->srtt_us, tp->rtt_min, tp->snd_ssthresh, in print_tp()
188 srv_tp.snd_cwnd != 10 || in check_result()
196 cli_tp.snd_cwnd != 10 || in check_result()
/linux-6.15/net/ipv4/
H A Dbpf_tcp_ca.c88 case offsetof(struct tcp_sock, snd_cwnd): in bpf_tcp_ca_btf_struct_access()
89 end = offsetofend(struct tcp_sock, snd_cwnd); in bpf_tcp_ca_btf_struct_access()
H A Dtcp.c5031 CACHELINE_ASSERT_GROUP_MEMBER(struct tcp_sock, tcp_sock_read_txrx, snd_cwnd); in tcp_struct_check()
/linux-6.15/samples/bpf/
H A Dhbm_kern.h94 pkti->cwnd = tp->snd_cwnd; in get_tcp_info()
/linux-6.15/include/trace/events/
H A Dtcp.h287 __field(__u32, snd_cwnd)
316 __entry->snd_cwnd = tcp_snd_cwnd(tp);
331 __entry->snd_cwnd, __entry->ssthresh, __entry->snd_wnd,
/linux-6.15/Documentation/networking/net_cachelines/
H A Dtcp_sock.rst94 u32 snd_cwnd read_mostly read_mostly tcp_s…
/linux-6.15/include/linux/
H A Dtcp.h220 u32 snd_cwnd; /* Sending congestion window */ member
/linux-6.15/tools/include/uapi/linux/
H A Dbpf.h6374 __u32 snd_cwnd; /* Sending congestion window */ member
6815 __u32 snd_cwnd; member
/linux-6.15/include/uapi/linux/
H A Dbpf.h6374 __u32 snd_cwnd; /* Sending congestion window */ member
6815 __u32 snd_cwnd; member
/linux-6.15/include/net/
H A Dtcp.h1384 return tp->snd_cwnd; in tcp_snd_cwnd()
1390 tp->snd_cwnd = val; in tcp_snd_cwnd_set()
/linux-6.15/net/core/
H A Dfilter.c7250 case offsetof(struct bpf_tcp_sock, snd_cwnd): in bpf_tcp_sock_convert_ctx_access()
7251 BPF_TCP_SOCK_GET_COMMON(snd_cwnd); in bpf_tcp_sock_convert_ctx_access()
10719 case offsetof(struct bpf_sock_ops, snd_cwnd): in sock_ops_convert_ctx_access()
10720 SOCK_OPS_GET_TCP_SOCK_FIELD(snd_cwnd); in sock_ops_convert_ctx_access()
/linux-6.15/Documentation/trace/
H A Dhistogram.rst2472 # echo 'hist:keys=dport:cwnd=snd_cwnd: \
2527 …215.104.193:80 mark=0x0 length=32 snd_nxt=0xe3ae2ff5 snd_una=0xe3ae2ecd snd_cwnd=10 ssthresh=21474…