Lines Matching refs:answer
252 struct inet_protosw *answer; in inet_create() local
268 list_for_each_entry_rcu(answer, &inetsw[sock->type], list) { in inet_create()
272 if (protocol == answer->protocol) { in inet_create()
278 protocol = answer->protocol; in inet_create()
281 if (IPPROTO_IP == answer->protocol) in inet_create()
314 sock->ops = answer->ops; in inet_create()
315 answer_prot = answer->prot; in inet_create()
316 answer_flags = answer->flags; in inet_create()
1172 struct inet_protosw *answer; in inet_register_protosw() local
1184 answer = list_entry(lh, struct inet_protosw, list); in inet_register_protosw()
1186 if ((INET_PROTOSW_PERMANENT & answer->flags) == 0) in inet_register_protosw()
1188 if (protocol == answer->protocol) in inet_register_protosw()