/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | bpf_dctcp.c | 69 if (bpf_setsockopt(sk, SOL_TCP, TCP_CONGESTION, in BPF_PROG() 77 if (bpf_setsockopt(sk, SOL_TCP, TCP_CONGESTION, in BPF_PROG() 82 if (bpf_setsockopt(sk, SOL_TCP, TCP_CONGESTION, in BPF_PROG() 87 tcp_cdg_res = bpf_setsockopt(sk, SOL_TCP, TCP_CONGESTION, in BPF_PROG() 89 bpf_getsockopt(sk, SOL_TCP, TCP_CONGESTION, in BPF_PROG()
|
D | setget_sockopt.c | 60 { .opt = TCP_CONGESTION, }, 208 if (t->opt == TCP_CONGESTION) { in bpf_test_tcp_sockopt() 213 if (!bpf_setsockopt(ctx, IPPROTO_TCP, TCP_CONGESTION, in bpf_test_tcp_sockopt() 216 if (bpf_getsockopt(ctx, IPPROTO_TCP, TCP_CONGESTION, old_cc, sizeof(old_cc))) in bpf_test_tcp_sockopt() 225 if (bpf_setsockopt(ctx, IPPROTO_TCP, TCP_CONGESTION, (void *)new_cc, in bpf_test_tcp_sockopt() 228 if (bpf_getsockopt(ctx, IPPROTO_TCP, TCP_CONGESTION, tmp_cc, sizeof(tmp_cc))) in bpf_test_tcp_sockopt() 232 if (bpf_setsockopt(ctx, IPPROTO_TCP, TCP_CONGESTION, old_cc, sizeof(old_cc))) in bpf_test_tcp_sockopt()
|
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_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 | 56 if (bpf_getsockopt(ctx, SOL_TCP, TCP_CONGESTION, &buf, sizeof(buf))) in verify_cc() 74 if (bpf_setsockopt(ctx, SOL_TCP, TCP_CONGESTION, &reno, sizeof(reno))) in set_cc() 79 if (bpf_setsockopt(ctx, SOL_TCP, TCP_CONGESTION, &cubic, sizeof(cubic))) in set_cc()
|
D | sockopt_sk.c | 61 if (ctx->level == SOL_TCP && ctx->optname == TCP_CONGESTION) { in _getsockopt() 164 if (ctx->level == SOL_TCP && ctx->optname == TCP_CONGESTION) { in _setsockopt()
|
D | bpf_dctcp_release.c | 18 bpf_setsockopt(sk, SOL_TCP, TCP_CONGESTION, in BPF_STRUCT_OPS()
|
D | bpf_tracing_net.h | 36 #define TCP_CONGESTION 13 macro
|
/linux-6.1.9/samples/bpf/ |
D | tcp_cong_kern.c | 59 rv = bpf_setsockopt(skops, SOL_TCP, TCP_CONGESTION, in bpf_cong() 63 rv = bpf_setsockopt(skops, SOL_TCP, TCP_CONGESTION, in bpf_cong()
|
D | tcp_basertt_kern.c | 48 n = bpf_getsockopt(skops, SOL_TCP, TCP_CONGESTION, in bpf_basertt()
|
/linux-6.1.9/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 | sockopt_sk.c | 145 err = setsockopt(fd, SOL_TCP, TCP_CONGESTION, &buf, strlen("nv")); in getsetsockopt() 153 err = getsockopt(fd, SOL_TCP, TCP_CONGESTION, &buf, &optlen); in getsetsockopt()
|
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 | bpf_tcp_ca.c | 28 err = setsockopt(fd, IPPROTO_TCP, TCP_CONGESTION, tcp_ca, strlen(tcp_ca)); in settcpca() 298 err = getsockopt(srv_fd, SOL_TCP, TCP_CONGESTION, srv_cc, &cc_len); in test_dctcp_fallback()
|
/linux-6.1.9/include/uapi/linux/ |
D | tcp.h | 104 #define TCP_CONGESTION 13 /* Congestion control algorithm */ macro
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | tcp.h | 104 #define TCP_CONGESTION 13 /* Congestion control algorithm */ macro
|
/linux-6.1.9/net/mptcp/ |
D | sockopt.c | 547 case TCP_CONGESTION: in mptcp_supported_sockopt() 805 case TCP_CONGESTION: in mptcp_setsockopt_sol_tcp() 1172 case TCP_CONGESTION: in mptcp_getsockopt_sol_tcp()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | network_helpers.c | 300 setsockopt(fd, SOL_TCP, TCP_CONGESTION, opts->cc, in connect_to_fd_opts()
|
/linux-6.1.9/net/ipv4/ |
D | tcp.c | 3502 case TCP_CONGESTION: { in do_tcp_setsockopt() 4150 case TCP_CONGESTION: in do_tcp_getsockopt()
|
/linux-6.1.9/net/core/ |
D | filter.c | 5132 return do_tcp_getsockopt(sk, SOL_TCP, TCP_CONGESTION, in sol_tcp_sockopt_congestion() 5165 ret = do_tcp_setsockopt(sk, SOL_TCP, TCP_CONGESTION, in sol_tcp_sockopt_congestion() 5193 case TCP_CONGESTION: in sol_tcp_sockopt()
|
/linux-6.1.9/Documentation/networking/ |
D | ip-sysctl.rst | 386 [see setsockopt(listenfd, SOL_TCP, TCP_CONGESTION, "name" ...) ]
|