Lines Matching refs:answer
255 struct inet_protosw *answer; in inet_create() local
271 list_for_each_entry_rcu(answer, &inetsw[sock->type], list) { in inet_create()
275 if (protocol == answer->protocol) { in inet_create()
281 protocol = answer->protocol; in inet_create()
284 if (IPPROTO_IP == answer->protocol) in inet_create()
317 sock->ops = answer->ops; in inet_create()
318 answer_prot = answer->prot; in inet_create()
319 answer_flags = answer->flags; in inet_create()
1034 struct inet_protosw *answer; in inet_register_protosw() local
1044 answer = NULL; in inet_register_protosw()
1047 answer = list_entry(lh, struct inet_protosw, list); in inet_register_protosw()
1050 if (INET_PROTOSW_PERMANENT & answer->flags) { in inet_register_protosw()
1051 if (protocol == answer->protocol) in inet_register_protosw()
1056 answer = NULL; in inet_register_protosw()
1058 if (answer) in inet_register_protosw()