Lines Matching refs:ulp_ops
87 struct tcp_ulp_ops *ulp_ops; in tcp_get_available_ulp() local
92 list_for_each_entry_rcu(ulp_ops, &tcp_ulp_list, list) { in tcp_get_available_ulp()
95 offs == 0 ? "" : " ", ulp_ops->name); in tcp_get_available_ulp()
130 static int __tcp_set_ulp(struct sock *sk, const struct tcp_ulp_ops *ulp_ops) in __tcp_set_ulp() argument
140 if (!ulp_ops->clone && sk->sk_state == TCP_LISTEN) in __tcp_set_ulp()
143 err = ulp_ops->init(sk); in __tcp_set_ulp()
147 icsk->icsk_ulp_ops = ulp_ops; in __tcp_set_ulp()
150 module_put(ulp_ops->owner); in __tcp_set_ulp()
156 const struct tcp_ulp_ops *ulp_ops; in tcp_set_ulp() local
160 ulp_ops = __tcp_ulp_find_autoload(name); in tcp_set_ulp()
161 if (!ulp_ops) in tcp_set_ulp()
164 return __tcp_set_ulp(sk, ulp_ops); in tcp_set_ulp()