diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-07-19 22:20:02 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-07-19 22:20:02 +0400 |
commit | 3c343b7902755f6110d89c9a87bf8c08ed30c705 (patch) | |
tree | a32dc70bf5660e1b79e2ba0b5f01f02e7c095806 /accel-pppd/radius/radius_p.h | |
parent | 6fe9ea35fb1484c37aa5f7eb9b023780f986f1e8 (diff) | |
download | accel-ppp-xebd-3c343b7902755f6110d89c9a87bf8c08ed30c705.tar.gz accel-ppp-xebd-3c343b7902755f6110d89c9a87bf8c08ed30c705.zip |
radius: implemented Idle-Timeout
Diffstat (limited to 'accel-pppd/radius/radius_p.h')
-rw-r--r-- | accel-pppd/radius/radius_p.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/accel-pppd/radius/radius_p.h b/accel-pppd/radius/radius_p.h index 383be7d..8a4d27a 100644 --- a/accel-pppd/radius/radius_p.h +++ b/accel-pppd/radius/radius_p.h @@ -27,6 +27,8 @@ struct radius_pd_t uint32_t acct_rx_bytes; uint32_t acct_tx_bytes; + uint32_t acct_rx_packets; + uint32_t acct_tx_packets; uint32_t acct_input_gigawords; uint32_t acct_output_gigawords; uint32_t acct_rx_packets_i; @@ -35,6 +37,7 @@ struct radius_pd_t uint32_t acct_tx_bytes_i; struct triton_timer_t session_timeout; + struct triton_timer_t idle_timeout; struct rad_packet_t *dm_coa_req; struct sockaddr_in dm_coa_addr; @@ -187,6 +190,9 @@ void rad_server_reply(struct rad_server_t *); void radius_restore_session(struct ap_session *ses, struct radius_pd_t *rpd); +struct rtnl_link_stats; +int rad_read_stats(struct radius_pd_t *rpd, struct rtnl_link_stats *stats); + struct stat_accm_t; struct stat_accm_t *stat_accm_create(unsigned int time); void stat_accm_free(struct stat_accm_t *); |