Searched refs:snd_cwnd (Results 1 – 10 of 10) sorted by relevance
/tools/testing/selftests/bpf/progs/ |
D | bpf_dctcp.c | 104 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()
|
D | bpf_cubic.c | 402 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()
|
D | test_sock_fields.c | 88 dst->snd_cwnd = src->snd_cwnd; in tpcpy()
|
D | bpf_iter_tcp4.c | 139 tp->snd_cwnd, in dump_tcp_sock()
|
D | bpf_iter_tcp6.c | 143 tp->tcp.snd_cwnd, in dump_tcp6_sock()
|
/tools/testing/selftests/bpf/ |
D | bpf_tcp_helpers.h | 68 __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/ |
D | sock_fields.c | 93 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/ |
D | sock.c | 328 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)),
|
D | ref_tracking.c | 672 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/ |
D | bpf.h | 5364 __u32 snd_cwnd; /* Sending congestion window */ member 5702 __u32 snd_cwnd; member
|