Lines Matching refs:answer
256 struct inet_protosw *answer; in inet_create() local
272 list_for_each_entry_rcu(answer, &inetsw[sock->type], list) { in inet_create()
276 if (protocol == answer->protocol) { in inet_create()
282 protocol = answer->protocol; in inet_create()
285 if (IPPROTO_IP == answer->protocol) in inet_create()
318 sock->ops = answer->ops; in inet_create()
319 answer_prot = answer->prot; in inet_create()
320 answer_flags = answer->flags; in inet_create()
1194 struct inet_protosw *answer; in inet_register_protosw() local
1206 answer = list_entry(lh, struct inet_protosw, list); in inet_register_protosw()
1208 if ((INET_PROTOSW_PERMANENT & answer->flags) == 0) in inet_register_protosw()
1210 if (protocol == answer->protocol) in inet_register_protosw()