Searched refs:TCP_CONGESTION (Results 1 – 13 of 13) sorted by relevance
/tools/testing/selftests/bpf/progs/ |
D | sockopt_qos_to_cc.c | 27 if (bpf_getsockopt(ctx->sk, SOL_TCP, TCP_CONGESTION, &buf, sizeof(buf))) in sockopt_qos_to_cc() 34 if (bpf_setsockopt(ctx->sk, SOL_TCP, TCP_CONGESTION, &cc_reno, in sockopt_qos_to_cc()
|
D | bpf_dctcp.c | 67 bpf_setsockopt(sk, SOL_TCP, TCP_CONGESTION, in BPF_PROG() 72 bpf_setsockopt(sk, SOL_TCP, TCP_CONGESTION, in BPF_PROG() 75 bpf_setsockopt(sk, SOL_TCP, TCP_CONGESTION, in BPF_PROG() 78 tcp_cdg_res = bpf_setsockopt(sk, SOL_TCP, TCP_CONGESTION, in BPF_PROG() 80 bpf_getsockopt(sk, SOL_TCP, TCP_CONGESTION, in BPF_PROG()
|
D | bpf_iter_setsockopt.c | 58 if (bpf_getsockopt(tp, SOL_TCP, TCP_CONGESTION, in change_tcp_cc() 68 bpf_setsockopt(tp, SOL_TCP, TCP_CONGESTION, dctcp_cc, sizeof(dctcp_cc)); in change_tcp_cc()
|
D | connect4_prog.c | 57 if (bpf_getsockopt(ctx, SOL_TCP, TCP_CONGESTION, &buf, sizeof(buf))) in verify_cc() 75 if (bpf_setsockopt(ctx, SOL_TCP, TCP_CONGESTION, &reno, sizeof(reno))) in set_cc() 80 if (bpf_setsockopt(ctx, SOL_TCP, TCP_CONGESTION, &cubic, sizeof(cubic))) in set_cc()
|
D | bpf_dctcp_release.c | 18 bpf_setsockopt(sk, SOL_TCP, TCP_CONGESTION, in BPF_STRUCT_OPS()
|
D | sockopt_sk.c | 67 if (ctx->level == SOL_TCP && ctx->optname == TCP_CONGESTION) { in _getsockopt() 175 if (ctx->level == SOL_TCP && ctx->optname == TCP_CONGESTION) { in _setsockopt()
|
D | bpf_tracing_net.h | 13 #define TCP_CONGESTION 13 macro
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt_qos_to_cc.c | 21 err = getsockopt(sock_fd, SOL_TCP, TCP_CONGESTION, cc, &optlen); in run_setsockopt_test() 49 err = setsockopt(sock_fd, SOL_TCP, TCP_CONGESTION, &cc_cubic, in test_sockopt_qos_to_cc()
|
D | bpf_iter_setsockopt.c | 27 if (setsockopt(fds[i], SOL_TCP, TCP_CONGESTION, "bpf_cubic", in set_bpf_cubic() 42 if (getsockopt(fds[i], SOL_TCP, TCP_CONGESTION, in check_bpf_dctcp()
|
D | sockopt_sk.c | 146 err = setsockopt(fd, SOL_TCP, TCP_CONGESTION, &buf, strlen("nv")); in getsetsockopt() 154 err = getsockopt(fd, SOL_TCP, TCP_CONGESTION, &buf, &optlen); in getsetsockopt()
|
D | bpf_tcp_ca.c | 27 err = setsockopt(fd, IPPROTO_TCP, TCP_CONGESTION, tcp_ca, strlen(tcp_ca)); in settcpca() 292 err = getsockopt(srv_fd, SOL_TCP, TCP_CONGESTION, srv_cc, &cc_len); in test_dctcp_fallback()
|
/tools/include/uapi/linux/ |
D | tcp.h | 104 #define TCP_CONGESTION 13 /* Congestion control algorithm */ macro
|
/tools/testing/selftests/bpf/ |
D | network_helpers.c | 271 setsockopt(fd, SOL_TCP, TCP_CONGESTION, opts->cc, in connect_to_fd_opts()
|