Lines Matching refs:answer
123 struct inet_protosw *answer; in inet6_create() local
136 list_for_each_entry_rcu(answer, &inetsw6[sock->type], list) { in inet6_create()
140 if (protocol == answer->protocol) { in inet6_create()
146 protocol = answer->protocol; in inet6_create()
149 if (IPPROTO_IP == answer->protocol) in inet6_create()
182 sock->ops = answer->ops; in inet6_create()
183 answer_prot = answer->prot; in inet6_create()
184 answer_flags = answer->flags; in inet6_create()
216 sk->sk_backlog_rcv = answer->prot->backlog_rcv; in inet6_create()
748 struct inet_protosw *answer; in inet6_register_protosw() local
760 answer = NULL; in inet6_register_protosw()
764 answer = list_entry(lh, struct inet_protosw, list); in inet6_register_protosw()
767 if (INET_PROTOSW_PERMANENT & answer->flags) { in inet6_register_protosw()
768 if (protocol == answer->protocol) in inet6_register_protosw()
773 answer = NULL; in inet6_register_protosw()
775 if (answer) in inet6_register_protosw()