accounting.c File Reference

hostapd / RADIUS Accounting More...

#include "includes.h"
#include "hostapd.h"
#include "radius/radius.h"
#include "radius/radius_client.h"
#include "eloop.h"
#include "accounting.h"
#include "ieee802_1x.h"
#include "driver_i.h"
#include "sta_info.h"
Include dependency graph for accounting.c:

Go to the source code of this file.

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)
int accounting_reconfig (struct hostapd_data *hapd, struct hostapd_config *oldconf)

Detailed Description

hostapd / RADIUS Accounting

Copyright
Copyright (c) 2002-2008, Jouni Malinen <j@w1.fi>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Alternatively, this software may be distributed under the terms of BSD license.

See README and COPYING for more details.

Definition in file accounting.c.


Function Documentation

void accounting_deinit ( struct hostapd_data hapd  ) 

accounting_deinit: Deinitilize accounting : hostapd BSS data

Definition at line 502 of file accounting.c.

int accounting_init ( struct hostapd_data hapd  ) 

accounting_init: Initialize accounting : hostapd BSS data Returns: 0 on success, -1 on failure

Definition at line 482 of file accounting.c.

void accounting_sta_interim ( struct hostapd_data hapd,
struct sta_info sta 
)

Send a interim STA accounting report.

Parameters:
hapd hostapd BSS data
sta The station

Definition at line 380 of file accounting.c.

void accounting_sta_start ( struct hostapd_data hapd,
struct sta_info sta 
)

Start STA accounting.

Parameters:
hapd hostapd BSS data
sta The station

Definition at line 236 of file accounting.c.

Here is the call graph for this function:

void accounting_sta_stop ( struct hostapd_data hapd,
struct sta_info sta 
)

Stop STA accounting.

Parameters:
hapd hostapd BSS data
sta The station

Definition at line 393 of file accounting.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:16:57 2009 for hostapd by  doxygen 1.6.1