Searched refs:old_cc (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | setget_sockopt.c | 209 char old_cc[16], tmp_cc[16]; in bpf_test_tcp_sockopt() local 216 if (bpf_getsockopt(ctx, IPPROTO_TCP, TCP_CONGESTION, old_cc, sizeof(old_cc))) in bpf_test_tcp_sockopt() 218 if (!bpf_strncmp(old_cc, sizeof(old_cc), cubic_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()
|