Searched refs:acct_server (Results 1 – 12 of 12) sorted by relevance
390 conf->acct_server->requests++; in radius_client_retransmit()392 conf->acct_server->timeouts++; in radius_client_retransmit()393 conf->acct_server->retransmissions++; in radius_client_retransmit()613 old = conf->acct_server; in radius_client_acct_failover()629 conf->acct_server = next; in radius_client_acct_failover()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()762 conf->acct_server->shared_secret == NULL) { in radius_client_send()769 shared_secret = conf->acct_server->shared_secret; in radius_client_send()770 shared_secret_len = conf->acct_server->shared_secret_len; in radius_client_send()[all …]
149 struct hostapd_radius_server *acct_server; member
391 conf->acct_server->requests++; in radius_client_retransmit()393 conf->acct_server->timeouts++; in radius_client_retransmit()394 conf->acct_server->retransmissions++; in radius_client_retransmit()614 old = conf->acct_server; in radius_client_acct_failover()630 conf->acct_server = next; in radius_client_acct_failover()759 if (conf->acct_server && radius->acct_sock < 0) in radius_client_send()762 if (conf->acct_server == NULL || radius->acct_sock < 0 || in radius_client_send()763 conf->acct_server->shared_secret == NULL) { in radius_client_send()770 shared_secret = conf->acct_server->shared_secret; in radius_client_send()771 shared_secret_len = conf->acct_server->shared_secret_len; in radius_client_send()[all …]
246 if (!hapd->conf->radius->acct_server) in accounting_sta_start()274 if (!hapd->conf->radius->acct_server) in accounting_sta_report()434 if (!hapd->conf->radius->acct_server || hapd->radius == NULL) in accounting_report_state()
1307 bss->radius->acct_server = bss->radius->acct_servers; in hostapd_set_security_params()
1548 if (!hapd->conf->radius->acct_server || hapd->radius == NULL || in ieee802_1x_store_radius_class()
1537 bss->radius->acct_server = bss->radius->acct_servers; in hostapd_set_security_params()
1557 if (!hapd->conf->radius->acct_server || !hapd->radius || !sm) in ieee802_1x_store_radius_class()
2769 &bss->radius->acct_server)) {2775 } else if (bss->radius->acct_server &&2778 &bss->radius->acct_server->addr)) {2784 } else if (bss->radius->acct_server &&2786 bss->radius->acct_server->port = atoi(pos);2787 } else if (bss->radius->acct_server &&2796 os_free(bss->radius->acct_server->shared_secret);2797 bss->radius->acct_server->shared_secret = (u8 *) os_strdup(pos);2798 bss->radius->acct_server->shared_secret_len = len;
2777 &bss->radius->acct_server)) { in hostapd_config_fill()2783 } else if (bss->radius->acct_server && in hostapd_config_fill()2786 &bss->radius->acct_server->addr)) { in hostapd_config_fill()2792 } else if (bss->radius->acct_server && in hostapd_config_fill()2794 bss->radius->acct_server->port = atoi(pos); in hostapd_config_fill()2795 } else if (bss->radius->acct_server && in hostapd_config_fill()2804 os_free(bss->radius->acct_server->shared_secret); in hostapd_config_fill()2805 bss->radius->acct_server->shared_secret = (u8 *) os_strdup(pos); in hostapd_config_fill()2806 bss->radius->acct_server->shared_secret_len = len; in hostapd_config_fill()