Lines Matching refs:answer
117 struct inet_protosw *answer; in inet6_create() local
130 list_for_each_entry_rcu(answer, &inetsw6[sock->type], list) { in inet6_create()
134 if (protocol == answer->protocol) { in inet6_create()
140 protocol = answer->protocol; in inet6_create()
143 if (IPPROTO_IP == answer->protocol) in inet6_create()
176 sock->ops = answer->ops; in inet6_create()
177 answer_prot = answer->prot; in inet6_create()
178 answer_flags = answer->flags; in inet6_create()
207 sk->sk_backlog_rcv = answer->prot->backlog_rcv; in inet6_create()
737 struct inet_protosw *answer; in inet6_register_protosw() local
749 answer = NULL; in inet6_register_protosw()
753 answer = list_entry(lh, struct inet_protosw, list); in inet6_register_protosw()
756 if (INET_PROTOSW_PERMANENT & answer->flags) { in inet6_register_protosw()
757 if (protocol == answer->protocol) in inet6_register_protosw()
762 answer = NULL; in inet6_register_protosw()
764 if (answer) in inet6_register_protosw()