Lines Matching refs:ulp
36 const struct tcp_ulp_ops *ulp = NULL;
39 ulp = tcp_ulp_find(name);
42 if (!ulp && capable(CAP_NET_ADMIN)) {
44 request_module("tcp-ulp-%s", name);
46 ulp = tcp_ulp_find(name);
49 if (!ulp || !try_module_get(ulp->owner))
50 ulp = NULL;
53 return ulp;
59 int tcp_register_ulp(struct tcp_ulp_ops *ulp)
64 if (tcp_ulp_find(ulp->name))
67 list_add_tail_rcu(&ulp->list, &tcp_ulp_list);
74 void tcp_unregister_ulp(struct tcp_ulp_ops *ulp)
77 list_del_rcu(&ulp->list);