|
wpa_supplicant / hostapd 2.0
|
hostapd / RADIUS Accounting More...
#include "utils/includes.h"#include "utils/common.h"#include "utils/eloop.h"#include "drivers/driver.h"#include "radius/radius.h"#include "radius/radius_client.h"#include "hostapd.h"#include "ieee802_1x.h"#include "ap_config.h"#include "sta_info.h"#include "ap_drv_ops.h"#include "accounting.h"Defines | |
| #define | ACCT_DEFAULT_UPDATE_INTERVAL 300 |
Functions | |
| void | accounting_sta_start (struct hostapd_data *hapd, struct sta_info *sta) |
| Start STA accounting. | |
| void | accounting_sta_interim (struct hostapd_data *hapd, struct sta_info *sta) |
| Send a interim STA accounting report. | |
| void | accounting_sta_stop (struct hostapd_data *hapd, struct sta_info *sta) |
| Stop STA accounting. | |
| int | accounting_init (struct hostapd_data *hapd) |
| void | accounting_deinit (struct hostapd_data *hapd) |
hostapd / RADIUS Accounting
This software may be distributed under the terms of the BSD license. See README for more details.
| void accounting_deinit | ( | struct hostapd_data * | hapd | ) |
accounting_deinit: Deinitilize accounting : hostapd BSS data
| int accounting_init | ( | struct hostapd_data * | hapd | ) |
accounting_init: Initialize accounting : hostapd BSS data Returns: 0 on success, -1 on failure
| void accounting_sta_interim | ( | struct hostapd_data * | hapd, |
| struct sta_info * | sta | ||
| ) |
Send a interim STA accounting report.
| hapd | hostapd BSS data |
| sta | The station |
| void accounting_sta_start | ( | struct hostapd_data * | hapd, |
| struct sta_info * | sta | ||
| ) |
Start STA accounting.
| hapd | hostapd BSS data |
| sta | The station |
| void accounting_sta_stop | ( | struct hostapd_data * | hapd, |
| struct sta_info * | sta | ||
| ) |
Stop STA accounting.
| hapd | hostapd BSS data |
| sta | The station |
1.7.3