Home
last modified time | relevance | path

Searched refs:auth_sock (Results 1 – 7 of 7) 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()
1232 radius->auth_sock = sel_sock; in radius_change_server()
1246 if (radius->auth_sock >= 0 && conf->auth_servers && in radius_retry_primary_timer()
[all …]
Dradius_server.c135 int auth_sock; member
1437 if (sendto(data->auth_sock, wpabuf_head(buf), wpabuf_len(buf), 0, in radius_server_reject()
1552 res = sendto(data->auth_sock, wpabuf_head(buf), in radius_server_request()
1663 res = sendto(data->auth_sock, wpabuf_head(buf), in radius_server_request()
2435 data->auth_sock = radius_server_open_socket6(conf->auth_port); in radius_server_init()
2438 data->auth_sock = radius_server_open_socket(conf->auth_port); in radius_server_init()
2439 if (data->auth_sock < 0) { in radius_server_init()
2444 if (eloop_register_read_sock(data->auth_sock, in radius_server_init()
2505 if (data->auth_sock >= 0) { in radius_server_deinit()
2506 eloop_unregister_read_sock(data->auth_sock); in radius_server_deinit()
[all …]
/external/openssh/
Dsshconnect.c1522 int auth_sock = -1, r; in maybe_add_key_to_agent() local
1527 if ((r = ssh_get_authentication_socket(&auth_sock)) != 0) { in maybe_add_key_to_agent()
1535 close(auth_sock); in maybe_add_key_to_agent()
1539 if ((r = ssh_add_identity_constrained(auth_sock, private, comment, 0, in maybe_add_key_to_agent()
1544 close(auth_sock); in maybe_add_key_to_agent()
Dsshd.c202 int auth_sock = -1; variable
600 r = ssh_get_authentication_socket(&auth_sock); in privsep_preauth()
2086 if ((r = ssh_get_authentication_socket(&auth_sock)) != 0) {
2199 if ((r = ssh_agent_sign(auth_sock, pubkey, signature, slen,
Dsession.c1447 extern int auth_sock; in child_close_fds()
1449 if (auth_sock != -1) { in child_close_fds()
1450 close(auth_sock); in child_close_fds()
1451 auth_sock = -1; in child_close_fds()
Dmonitor.c599 extern int auth_sock; /* XXX move to state struct? */ in mm_answer_sign()
667 auth_sock > 0) { in mm_answer_sign()
668 if ((r = ssh_agent_sign(auth_sock, key, &signature, &siglen, in mm_answer_sign()
DChangeLog470 Plug descriptor leaks of auth_sock. From jjelen at