Searched refs:tcp_ca (Results 1 – 2 of 2) sorted by relevance
215 struct tcp_congestion_ops *tcp_ca; in bpf_tcp_ca_init_member() local219 tcp_ca = (struct tcp_congestion_ops *)kdata; in bpf_tcp_ca_init_member()226 tcp_ca->flags = utcp_ca->flags; in bpf_tcp_ca_init_member()229 if (bpf_obj_name_cpy(tcp_ca->name, utcp_ca->name, in bpf_tcp_ca_init_member()230 sizeof(tcp_ca->name)) <= 0) in bpf_tcp_ca_init_member()
27 static int settcpca(int fd, const char *tcp_ca) in settcpca() argument31 err = setsockopt(fd, IPPROTO_TCP, TCP_CONGESTION, tcp_ca, strlen(tcp_ca)); in settcpca()