/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | bpf_dctcp.c | 113 ca->loss_cwnd = tp->snd_cwnd; in BPF_PROG() 114 return max(tp->snd_cwnd - ((tp->snd_cwnd * ca->dctcp_alpha) >> 11U), 2U); in BPF_PROG() 152 ca->loss_cwnd = tp->snd_cwnd; in dctcp_react_to_loss() 153 tp->snd_ssthresh = max(tp->snd_cwnd >> 1U, 2U); in dctcp_react_to_loss() 228 return max(tcp_sk(sk)->snd_cwnd, ca->loss_cwnd); in BPF_PROG()
|
A D | bpf_cubic.c | 396 bictcp_update(ca, tp->snd_cwnd, acked); in BPF_STRUCT_OPS() 408 if (tp->snd_cwnd < ca->last_max_cwnd && fast_convergence) in BPF_STRUCT_OPS() 409 ca->last_max_cwnd = (tp->snd_cwnd * (BICTCP_BETA_SCALE + beta)) in BPF_STRUCT_OPS() 412 ca->last_max_cwnd = tp->snd_cwnd; in BPF_STRUCT_OPS() 414 return max((tp->snd_cwnd * beta) / BICTCP_BETA_SCALE, 2U); in BPF_STRUCT_OPS() 472 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update() 487 tp->snd_ssthresh = tp->snd_cwnd; in hystart_update() 518 tp->snd_cwnd >= hystart_low_window) in BPF_STRUCT_OPS()
|
A D | tcp_ca_write_sk_pacing.c | 36 ((tp->snd_cwnd * tp->mss_cache * USEC_PER_SEC) << 3) / in BPF_PROG() 50 return tcp_sk(sk)->snd_cwnd; in BPF_PROG()
|
A D | tcp_ca_incompl_cong_ops.c | 24 return tcp_sk(sk)->snd_cwnd; in BPF_PROG()
|
A D | test_sock_fields.c | 88 dst->snd_cwnd = src->snd_cwnd; in tpcpy()
|
A D | bpf_iter_tcp4.c | 139 tp->snd_cwnd, in dump_tcp_sock()
|
A D | bpf_iter_tcp6.c | 143 tp->tcp.snd_cwnd, in dump_tcp6_sock()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | bpf_tcp_helpers.h | 72 __u32 snd_cwnd; member 202 return tp->snd_cwnd < tp->snd_ssthresh; in tcp_in_slow_start() 211 return tp->snd_cwnd < 2 * tp->max_packets_out; in tcp_is_cwnd_limited()
|
/linux-6.3-rc2/net/ipv4/ |
A D | bpf_tcp_ca.c | 104 case offsetof(struct tcp_sock, snd_cwnd): in bpf_tcp_ca_btf_struct_access() 105 end = offsetofend(struct tcp_sock, snd_cwnd); in bpf_tcp_ca_btf_struct_access()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | sock_fields.c | 92 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.3-rc2/include/trace/events/ |
A D | tcp.h | 255 __field(__u32, snd_cwnd) 282 __entry->snd_cwnd = tcp_snd_cwnd(tp); 294 __entry->snd_cwnd, __entry->ssthresh, __entry->snd_wnd,
|
/linux-6.3-rc2/tools/testing/selftests/bpf/verifier/ |
A 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)),
|
A D | ref_tracking.c | 811 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_7, offsetof(struct bpf_tcp_sock, snd_cwnd)), 958 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_8, offsetof(struct bpf_tcp_sock, snd_cwnd)),
|
/linux-6.3-rc2/samples/bpf/ |
A D | hbm_kern.h | 94 pkti->cwnd = tp->snd_cwnd; in get_tcp_info()
|
/linux-6.3-rc2/include/linux/ |
A D | tcp.h | 316 u32 snd_cwnd; /* Sending congestion window */ member
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | bpf.h | 6058 __u32 snd_cwnd; /* Sending congestion window */ member 6416 __u32 snd_cwnd; member
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | bpf.h | 6058 __u32 snd_cwnd; /* Sending congestion window */ member 6416 __u32 snd_cwnd; member
|
/linux-6.3-rc2/include/net/ |
A D | tcp.h | 1227 return tp->snd_cwnd; in tcp_snd_cwnd() 1233 tp->snd_cwnd = val; in tcp_snd_cwnd_set()
|
/linux-6.3-rc2/net/core/ |
A D | filter.c | 6904 case offsetof(struct bpf_tcp_sock, snd_cwnd): in bpf_tcp_sock_convert_ctx_access() 6905 BPF_TCP_SOCK_GET_COMMON(snd_cwnd); in bpf_tcp_sock_convert_ctx_access() 10361 case offsetof(struct bpf_sock_ops, snd_cwnd): in sock_ops_convert_ctx_access() 10362 SOCK_OPS_GET_TCP_SOCK_FIELD(snd_cwnd); in sock_ops_convert_ctx_access()
|
/linux-6.3-rc2/Documentation/trace/ |
A D | histogram.rst | 2472 # 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…
|