Home
last modified time | relevance | path

Searched refs:tcp_ca (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/net/ipv4/
Dbpf_tcp_ca.c224 struct tcp_congestion_ops *tcp_ca; in bpf_tcp_ca_init_member() local
228 tcp_ca = (struct tcp_congestion_ops *)kdata; in bpf_tcp_ca_init_member()
235 tcp_ca->flags = utcp_ca->flags; in bpf_tcp_ca_init_member()
238 if (bpf_obj_name_cpy(tcp_ca->name, utcp_ca->name, in bpf_tcp_ca_init_member()
239 sizeof(tcp_ca->name)) <= 0) in bpf_tcp_ca_init_member()
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dbpf_tcp_ca.c24 static int settcpca(int fd, const char *tcp_ca) in settcpca() argument
28 err = setsockopt(fd, IPPROTO_TCP, TCP_CONGESTION, tcp_ca, strlen(tcp_ca)); in settcpca()
80 static void do_test(const char *tcp_ca, const struct bpf_map *sk_stg_map) in do_test() argument
102 if (settcpca(lfd, tcp_ca) || settcpca(fd, tcp_ca) || in do_test()