Lines Matching refs:answer
253 struct inet_protosw *answer; in inet_create() local
269 list_for_each_entry_rcu(answer, &inetsw[sock->type], list) { in inet_create()
273 if (protocol == answer->protocol) { in inet_create()
279 protocol = answer->protocol; in inet_create()
282 if (IPPROTO_IP == answer->protocol) in inet_create()
315 sock->ops = answer->ops; in inet_create()
316 answer_prot = answer->prot; in inet_create()
317 answer_flags = answer->flags; in inet_create()
1035 struct inet_protosw *answer; in inet_register_protosw() local
1047 answer = list_entry(lh, struct inet_protosw, list); in inet_register_protosw()
1049 if ((INET_PROTOSW_PERMANENT & answer->flags) == 0) in inet_register_protosw()
1051 if (protocol == answer->protocol) in inet_register_protosw()