diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2014-02-06 17:23:32 +0100 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-02-08 09:31:00 +0400 |
commit | ea57a3932621e89d7ca206dc8354fbb9f6596f3e (patch) | |
tree | 414ac20df8e8b17230db35ad6a7a9d0a87792ff7 /accel-pppd/radius/serv.c | |
parent | 7f4fb7016323b8f62e84085c62e6a80109dc0196 (diff) | |
download | accel-ppp-ea57a3932621e89d7ca206dc8354fbb9f6596f3e.tar.gz accel-ppp-ea57a3932621e89d7ca206dc8354fbb9f6596f3e.zip |
l2tp: add tunnel statistics
Report tunnel statistics with the "show stat" command.
Statistics are updated upon tunnel state modifications. Setting the
STATE_ESTB state is centralised in l2tp_tunnel_connect() to ensure
the tunnel state remains synchronised with the statistics even when
errors occur.
While there, connect tunnels after sending SCCCN and stop tunnel
establishment timer as soon as l2tp_tunnel_connect() is called (so
that it'll be deleted even upon failure).
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/radius/serv.c')
0 files changed, 0 insertions, 0 deletions