Home
last modified time | relevance | path

Searched refs:auth_sock (Results 1 – 6 of 6) sorted by relevance

/external/wpa_supplicant_8/src/radius/
Dradius_client.c193 int auth_sock; member
397 if (radius->auth_sock < 0) in radius_client_retransmit()
399 if (radius->auth_sock < 0 && conf->num_auth_servers > 1) { in radius_client_retransmit()
405 s = radius->auth_sock; in radius_client_retransmit()
508 s = entry->msg_type == RADIUS_AUTH ? radius->auth_sock : in radius_client_timer()
776 if (conf->auth_server && radius->auth_sock < 0) in radius_client_send()
779 if (conf->auth_server == NULL || radius->auth_sock < 0 || in radius_client_send()
791 s = radius->auth_sock; in radius_client_send()
1241 radius->auth_sock = sel_sock; in radius_change_server()
1255 if (radius->auth_sock >= 0 && conf->auth_servers && in radius_retry_primary_timer()
[all …]
Dradius_server.c130 int auth_sock; member
1285 if (sendto(data->auth_sock, wpabuf_head(buf), wpabuf_len(buf), 0, in radius_server_reject()
1400 res = sendto(data->auth_sock, wpabuf_head(buf), in radius_server_request()
1511 res = sendto(data->auth_sock, wpabuf_head(buf), in radius_server_request()
2200 data->auth_sock = -1; in radius_server_init()
2263 data->auth_sock = radius_server_open_socket6(conf->auth_port); in radius_server_init()
2266 data->auth_sock = radius_server_open_socket(conf->auth_port); in radius_server_init()
2267 if (data->auth_sock < 0) { in radius_server_init()
2271 if (eloop_register_read_sock(data->auth_sock, in radius_server_init()
2331 if (data->auth_sock >= 0) { in radius_server_deinit()
[all …]
/external/openssh/
Dsshconnect.c1413 int auth_sock = -1, r; in maybe_add_key_to_agent() local
1419 if ((r = ssh_get_authentication_socket(&auth_sock)) != 0) { in maybe_add_key_to_agent()
1427 close(auth_sock); in maybe_add_key_to_agent()
1432 if ((r = ssh_add_identity_constrained(auth_sock, private, in maybe_add_key_to_agent()
1438 close(auth_sock); in maybe_add_key_to_agent()
Dsshd.c185 int auth_sock = -1; variable
503 r = ssh_get_authentication_socket(&auth_sock); in privsep_preauth()
2188 if ((r = ssh_get_authentication_socket(&auth_sock)) != 0) {
2307 if ((r = ssh_agent_sign(auth_sock, pubkey,
Dsession.c1475 extern int auth_sock; in child_close_fds()
1477 if (auth_sock != -1) { in child_close_fds()
1478 close(auth_sock); in child_close_fds()
1479 auth_sock = -1; in child_close_fds()
Dmonitor.c617 extern int auth_sock; /* XXX move to state struct? */ in mm_answer_sign()
686 auth_sock > 0) { in mm_answer_sign()
687 if ((r = ssh_agent_sign(auth_sock, key, &signature, &siglen, in mm_answer_sign()