Lines Matching refs:answer
106 struct inet_protosw *answer; in inet6_create() local
119 list_for_each_entry_rcu(answer, &inetsw6[sock->type], list) { in inet6_create()
123 if (protocol == answer->protocol) { in inet6_create()
129 protocol = answer->protocol; in inet6_create()
132 if (IPPROTO_IP == answer->protocol) in inet6_create()
165 sock->ops = answer->ops; in inet6_create()
166 answer_prot = answer->prot; in inet6_create()
167 answer_flags = answer->flags; in inet6_create()
196 sk->sk_backlog_rcv = answer->prot->backlog_rcv; in inet6_create()
575 struct inet_protosw *answer; in inet6_register_protosw() local
587 answer = NULL; in inet6_register_protosw()
591 answer = list_entry(lh, struct inet_protosw, list); in inet6_register_protosw()
594 if (INET_PROTOSW_PERMANENT & answer->flags) { in inet6_register_protosw()
595 if (protocol == answer->protocol) in inet6_register_protosw()
600 answer = NULL; in inet6_register_protosw()
602 if (answer) in inet6_register_protosw()