Lines Matching refs:answer
124 struct inet_protosw *answer; in inet6_create() local
137 list_for_each_entry_rcu(answer, &inetsw6[sock->type], list) { in inet6_create()
141 if (protocol == answer->protocol) { in inet6_create()
147 protocol = answer->protocol; in inet6_create()
150 if (IPPROTO_IP == answer->protocol) in inet6_create()
183 sock->ops = answer->ops; in inet6_create()
184 answer_prot = answer->prot; in inet6_create()
185 answer_flags = answer->flags; in inet6_create()
217 sk->sk_backlog_rcv = answer->prot->backlog_rcv; in inet6_create()
755 struct inet_protosw *answer; in inet6_register_protosw() local
767 answer = NULL; in inet6_register_protosw()
771 answer = list_entry(lh, struct inet_protosw, list); in inet6_register_protosw()
774 if (INET_PROTOSW_PERMANENT & answer->flags) { in inet6_register_protosw()
775 if (protocol == answer->protocol) in inet6_register_protosw()
780 answer = NULL; in inet6_register_protosw()
782 if (answer) in inet6_register_protosw()