• Home
  • Raw
  • Download

Lines Matching full:radius

2  * hostapd / RADIUS Accounting
15 #include "radius/radius.h"
16 #include "radius/radius_client.h"
47 radius_client_get_id(hapd->radius)); in accounting_msg()
49 wpa_printf(MSG_INFO, "Could not create new RADIUS packet"); in accounting_msg()
74 /* Use RADIUS ACL identity if 802.1X provides no identity */ in accounting_msg()
80 /* Use STA MAC if neither 802.1X nor RADIUS ACL provided in accounting_msg()
243 if (!hapd->conf->radius->acct_server) in accounting_sta_start()
255 radius_client_send(hapd->radius, msg, RADIUS_ACCT, sta->addr) < 0) in accounting_sta_start()
271 if (!hapd->conf->radius->acct_server) in accounting_sta_report()
278 wpa_printf(MSG_INFO, "Could not create RADIUS Accounting message"); in accounting_sta_report()
349 if (radius_client_send(hapd->radius, msg, in accounting_sta_report()
400 * accounting_receive - Process the RADIUS frames from Accounting Server
401 * @msg: RADIUS response message
402 * @req: RADIUS request message
403 * @shared_secret: RADIUS shared secret
414 wpa_printf(MSG_INFO, "Unknown RADIUS message code"); in accounting_receive()
419 wpa_printf(MSG_INFO, "Incoming RADIUS packet did not have correct Authenticator - dropped"); in accounting_receive()
431 if (!hapd->conf->radius->acct_server || hapd->radius == NULL) in accounting_report_state()
434 /* Inform RADIUS server that accounting will start/stop so that the in accounting_report_state()
452 if (radius_client_send(hapd->radius, msg, RADIUS_ACCT, NULL) < 0) in accounting_report_state()
470 "Interim RADIUS accounting update failed for " MACSTR in accounting_interim_error_cb()
483 * RADIUS client code has already waited RADIUS_CLIENT_FIRST_WAIT. in accounting_interim_error_cb()
498 "Interim RADIUS accounting update failed for " MACSTR in accounting_interim_error_cb()
503 "Interim RADIUS accounting update failed for " MACSTR in accounting_interim_error_cb()
508 "Interim RADIUS accounting update failed for " MACSTR in accounting_interim_error_cb()
525 if (radius_client_register(hapd->radius, RADIUS_ACCT, in accounting_init()
528 radius_client_set_interim_error_cb(hapd->radius, in accounting_init()