summaryrefslogtreecommitdiff
path: root/accel-pppd/include
diff options
context:
space:
mode:
authorStephan Brunner <s.brunner@stephan-brunner.net>2022-11-01 10:08:06 +0100
committerStephan Brunner <s.brunner@stephan-brunner.net>2022-11-01 10:08:06 +0100
commit5d3e96a67dc6ea6ca81156bdccd83b9b7e241ccb (patch)
treed4df4990549815fecb1880766117a5fcf1f13920 /accel-pppd/include
parentffe3a1337c1380a5b79651b34037c6c9f66b9ea1 (diff)
downloadaccel-ppp-5d3e96a67dc6ea6ca81156bdccd83b9b7e241ccb.tar.gz
accel-ppp-5d3e96a67dc6ea6ca81156bdccd83b9b7e241ccb.zip
Add PACKETS_SENT and PACKETS_RCVD to the pppd-compat environment.
Diffstat (limited to 'accel-pppd/include')
-rw-r--r--accel-pppd/include/ap_session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/include/ap_session.h b/accel-pppd/include/ap_session.h
index 629b58e..7051513 100644
--- a/accel-pppd/include/ap_session.h
+++ b/accel-pppd/include/ap_session.h
@@ -110,6 +110,8 @@ struct ap_session
int session_timeout;
struct triton_timer_t timer;
+ uint64_t acct_rx_packets;
+ uint64_t acct_tx_packets;
uint64_t acct_rx_bytes;
uint64_t acct_tx_bytes;
uint64_t acct_rx_packets_i;