Lines Matching refs:answer
323 struct inet_protosw *answer; in inet_create() local
331 answer = NULL; in inet_create()
334 answer = list_entry(p, struct inet_protosw, list); in inet_create()
337 if (protocol == answer->protocol) { in inet_create()
343 protocol = answer->protocol; in inet_create()
346 if (IPPROTO_IP == answer->protocol) in inet_create()
349 answer = NULL; in inet_create()
353 if (!answer) in inet_create()
355 if (answer->capability > 0 && !capable(answer->capability)) in inet_create()
360 sock->ops = answer->ops; in inet_create()
361 sk->prot = answer->prot; in inet_create()
362 sk->no_check = answer->no_check; in inet_create()
363 if (INET_PROTOSW_REUSE & answer->flags) in inet_create()
1061 struct inet_protosw *answer; in inet_register_protosw() local
1071 answer = NULL; in inet_register_protosw()
1074 answer = list_entry(lh, struct inet_protosw, list); in inet_register_protosw()
1077 if (INET_PROTOSW_PERMANENT & answer->flags) { in inet_register_protosw()
1078 if (protocol == answer->protocol) in inet_register_protosw()
1083 answer = NULL; in inet_register_protosw()
1085 if (answer) in inet_register_protosw()