Lines Matching refs:ulp
35 const struct tcp_ulp_ops *ulp = NULL; in __tcp_ulp_find_autoload() local
38 ulp = tcp_ulp_find(name); in __tcp_ulp_find_autoload()
41 if (!ulp && capable(CAP_NET_ADMIN)) { in __tcp_ulp_find_autoload()
45 ulp = tcp_ulp_find(name); in __tcp_ulp_find_autoload()
48 if (!ulp || !try_module_get(ulp->owner)) in __tcp_ulp_find_autoload()
49 ulp = NULL; in __tcp_ulp_find_autoload()
52 return ulp; in __tcp_ulp_find_autoload()
58 int tcp_register_ulp(struct tcp_ulp_ops *ulp) in tcp_register_ulp() argument
63 if (tcp_ulp_find(ulp->name)) in tcp_register_ulp()
66 list_add_tail_rcu(&ulp->list, &tcp_ulp_list); in tcp_register_ulp()
73 void tcp_unregister_ulp(struct tcp_ulp_ops *ulp) in tcp_unregister_ulp() argument
76 list_del_rcu(&ulp->list); in tcp_unregister_ulp()