summaryrefslogtreecommitdiff
path: root/accel-pppd/include/ap_session.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2015-02-21 14:31:34 +0300
committerDmitry Kozlov <xeb@mail.ru>2015-02-21 14:31:34 +0300
commit9280d2cf0d7d514cc2a3aaf76608d8e053d287bc (patch)
tree42f6683412868c9e48ed8dc1beab70809afbd0e3 /accel-pppd/include/ap_session.h
parenta8cf09aafaf8bd4995cd205537ec8d8aa7fdb969 (diff)
downloadaccel-ppp-9280d2cf0d7d514cc2a3aaf76608d8e053d287bc.tar.gz
accel-ppp-9280d2cf0d7d514cc2a3aaf76608d8e053d287bc.zip
session: implemented idle and timeout timers
Diffstat (limited to 'accel-pppd/include/ap_session.h')
-rw-r--r--accel-pppd/include/ap_session.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/accel-pppd/include/ap_session.h b/accel-pppd/include/ap_session.h
index 12f2937e..41155f1b 100644
--- a/accel-pppd/include/ap_session.h
+++ b/accel-pppd/include/ap_session.h
@@ -96,6 +96,10 @@ struct ap_session
struct list_head pd_list;
+ int idle_timeout;
+ int session_timeout;
+ struct triton_timer_t timer;
+
uint32_t acct_rx_bytes;
uint32_t acct_tx_bytes;
uint32_t acct_input_gigawords;