Searched refs:acct_sock (Results 1 – 2 of 2) sorted by relevance
198 int acct_sock; member380 if (radius->acct_sock < 0) in radius_client_retransmit()382 if (radius->acct_sock < 0 && conf->num_acct_servers > 1) { in radius_client_retransmit()388 s = radius->acct_sock; in radius_client_retransmit()509 radius->acct_sock; in radius_client_timer()758 if (conf->acct_server && radius->acct_sock < 0) in radius_client_send()761 if (conf->acct_server == NULL || radius->acct_sock < 0 || in radius_client_send()773 s = radius->acct_sock; in radius_client_send()1234 radius->acct_sock = sel_sock; in radius_change_server()1260 if (radius->acct_sock >= 0 && conf->acct_servers && in radius_retry_primary_timer()[all …]
140 int acct_sock; member2055 res = sendto(data->acct_sock, wpabuf_head(rbuf), wpabuf_len(rbuf), 0, in radius_server_receive_acct()2454 data->acct_sock = radius_server_open_socket6( in radius_server_init()2458 data->acct_sock = radius_server_open_socket(conf->acct_port); in radius_server_init()2459 if (data->acct_sock < 0) { in radius_server_init()2464 if (eloop_register_read_sock(data->acct_sock, in radius_server_init()2471 data->acct_sock = -1; in radius_server_init()2510 if (data->acct_sock >= 0) { in radius_server_deinit()2511 eloop_unregister_read_sock(data->acct_sock); in radius_server_deinit()2512 close(data->acct_sock); in radius_server_deinit()