Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
Dbpf_dctcp.c104 ca->loss_cwnd = tp->snd_cwnd; in BPF_PROG()
105 return max(tp->snd_cwnd - ((tp->snd_cwnd * ca->dctcp_alpha) >> 11U), 2U); in BPF_PROG()
143 ca->loss_cwnd = tp->snd_cwnd; in dctcp_react_to_loss()
144 tp->snd_ssthresh = max(tp->snd_cwnd >> 1U, 2U); in dctcp_react_to_loss()
219 return max(tcp_sk(sk)->snd_cwnd, ca->loss_cwnd); in BPF_PROG()
Dbpf_cubic.c402 bictcp_update(ca, tp->snd_cwnd, acked); in BPF_STRUCT_OPS()
414 if (tp->snd_cwnd < ca->last_max_cwnd && fast_convergence) in BPF_STRUCT_OPS()
415 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in BPF_STRUCT_OPS()
418 ca->last_max_cwnd = tp->snd_cwnd; in BPF_STRUCT_OPS()
420 return max((tp->snd_cwnd * beta) / BICTCP_BETA_SCALE, 2U); in BPF_STRUCT_OPS()
478 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
493 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update()
524 tp->snd_cwnd >= hystart_low_window) in BPF_STRUCT_OPS()
Dtest_sock_fields.c88 dst->snd_cwnd = src->snd_cwnd; in tpcpy()
Dbpf_iter_tcp4.c139 tp->snd_cwnd, in dump_tcp_sock()
Dbpf_iter_tcp6.c143 tp->tcp.snd_cwnd, in dump_tcp6_sock()
/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h68 __u32 snd_cwnd; member
197 return tp->snd_cwnd < tp->snd_ssthresh; in tcp_in_slow_start()
206 return tp->snd_cwnd < 2 * tp->max_packets_out; in tcp_is_cwnd_limited()
/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c93 tp->snd_cwnd, tp->srtt_us, tp->rtt_min, tp->snd_ssthresh, in print_tp()
189 srv_tp.snd_cwnd != 10 || in check_result()
197 cli_tp.snd_cwnd != 10 || in check_result()
/tools/testing/selftests/bpf/verifier/
Dsock.c328 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, snd_cwnd)),
346 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, snd_cwnd)),
402 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, snd_cwnd)),
Dref_tracking.c672 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_7, offsetof(struct bpf_tcp_sock, snd_cwnd)),
819 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_8, offsetof(struct bpf_tcp_sock, snd_cwnd)),
/tools/include/uapi/linux/
Dbpf.h5364 __u32 snd_cwnd; /* Sending congestion window */ member
5702 __u32 snd_cwnd; member