Home
last modified time | relevance | path

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

/net/ipv4/
Dtcp_ulp.c87 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
143 if (!ulp_ops->clone && sk->sk_state == TCP_LISTEN) in __tcp_set_ulp()
146 err = ulp_ops->init(sk); in __tcp_set_ulp()
150 icsk->icsk_ulp_ops = ulp_ops; in __tcp_set_ulp()
153 module_put(ulp_ops->owner); in __tcp_set_ulp()
159 const struct tcp_ulp_ops *ulp_ops; in tcp_set_ulp() local
163 ulp_ops = __tcp_ulp_find_autoload(name); in tcp_set_ulp()
[all …]
Dtcp_diag.c86 const struct tcp_ulp_ops *ulp_ops) in tcp_diag_put_ulp() argument
95 err = nla_put_string(skb, INET_ULP_INFO_NAME, ulp_ops->name); in tcp_diag_put_ulp()
99 if (ulp_ops->get_info) in tcp_diag_put_ulp()
100 err = ulp_ops->get_info(sk, skb); in tcp_diag_put_ulp()
133 const struct tcp_ulp_ops *ulp_ops; in tcp_diag_get_aux() local
135 ulp_ops = icsk->icsk_ulp_ops; in tcp_diag_get_aux()
136 if (ulp_ops) in tcp_diag_get_aux()
137 err = tcp_diag_put_ulp(skb, sk, ulp_ops); in tcp_diag_get_aux()
168 const struct tcp_ulp_ops *ulp_ops; in tcp_diag_get_aux_size() local
170 ulp_ops = icsk->icsk_ulp_ops; in tcp_diag_get_aux_size()
[all …]