Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/
H A Dbpf_tcp_ca.c222 struct tcp_congestion_ops *tcp_ca; in bpf_tcp_ca_init_member() local
226 tcp_ca = (struct tcp_congestion_ops *)kdata; in bpf_tcp_ca_init_member()
233 tcp_ca->flags = utcp_ca->flags; in bpf_tcp_ca_init_member()
236 if (bpf_obj_name_cpy(tcp_ca->name, utcp_ca->name, in bpf_tcp_ca_init_member()
237 sizeof(tcp_ca->name)) <= 0) in bpf_tcp_ca_init_member()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_tcp_ca.c25 static int settcpca(int fd, const char *tcp_ca) in settcpca() argument
29 err = setsockopt(fd, IPPROTO_TCP, TCP_CONGESTION, tcp_ca, strlen(tcp_ca)); in settcpca()
81 static void do_test(const char *tcp_ca, const struct bpf_map *sk_stg_map) in do_test() argument
103 if (settcpca(lfd, tcp_ca) || settcpca(fd, tcp_ca) || in do_test()