Lines Matching refs:answer
116 struct inet_protosw *answer; in inet6_create() local
129 list_for_each_entry_rcu(answer, &inetsw6[sock->type], list) { in inet6_create()
133 if (protocol == answer->protocol) { in inet6_create()
139 protocol = answer->protocol; in inet6_create()
142 if (IPPROTO_IP == answer->protocol) in inet6_create()
175 sock->ops = answer->ops; in inet6_create()
176 answer_prot = answer->prot; in inet6_create()
177 answer_flags = answer->flags; in inet6_create()
206 sk->sk_backlog_rcv = answer->prot->backlog_rcv; in inet6_create()
732 struct inet_protosw *answer; in inet6_register_protosw() local
744 answer = NULL; in inet6_register_protosw()
748 answer = list_entry(lh, struct inet_protosw, list); in inet6_register_protosw()
751 if (INET_PROTOSW_PERMANENT & answer->flags) { in inet6_register_protosw()
752 if (protocol == answer->protocol) in inet6_register_protosw()
757 answer = NULL; in inet6_register_protosw()
759 if (answer) in inet6_register_protosw()