summaryrefslogtreecommitdiff
path: root/accel-pptpd/radius/radius_p.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2011-01-04 00:11:04 +0300
committerDmitry Kozlov <xeb@mail.ru>2011-01-04 00:11:04 +0300
commitcdd91cd6a6a7bd00dcf9a0ba78ea76e01ce33655 (patch)
tree9edc12be71dc10f7112aef9fa654faa2b6897b51 /accel-pptpd/radius/radius_p.h
parent709dd1595b4877471cb18397be28352730120067 (diff)
downloadaccel-ppp-cdd91cd6a6a7bd00dcf9a0ba78ea76e01ce33655.tar.gz
accel-ppp-cdd91cd6a6a7bd00dcf9a0ba78ea76e01ce33655.zip
pppoe: additional statistics
radius: additional statistics
Diffstat (limited to 'accel-pptpd/radius/radius_p.h')
-rw-r--r--accel-pptpd/radius/radius_p.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/accel-pptpd/radius/radius_p.h b/accel-pptpd/radius/radius_p.h
index 9fd0b74..71c1a63 100644
--- a/accel-pptpd/radius/radius_p.h
+++ b/accel-pptpd/radius/radius_p.h
@@ -78,6 +78,13 @@ extern in_addr_t conf_dm_coa_server;
extern int conf_dm_coa_port;
extern int conf_acct_interim_interval;
+extern unsigned long stat_auth_sent;
+extern unsigned long stat_auth_lost;
+extern unsigned long stat_acct_sent;
+extern unsigned long stat_acct_lost;
+extern unsigned long stat_interim_sent;
+extern unsigned long stat_interim_lost;
+
int rad_check_nas_pack(struct rad_packet_t *pack);
struct radius_pd_t *rad_find_session(const char *sessionid, const char *username, int port_id, in_addr_t ipaddr, const char *csid);
struct radius_pd_t *rad_find_session_pack(struct rad_packet_t *pack);