]> git.ipfire.org Git - thirdparty/openvpn.git/commit
dco-linux: implement dco_get_peer_stats{, multi} API
authorAntonio Quartulli <a@unstable.cc>
Wed, 22 Mar 2023 19:27:57 +0000 (20:27 +0100)
committerGert Doering <gert@greenie.muc.de>
Thu, 23 Mar 2023 09:59:12 +0000 (10:59 +0100)
commit5a8fb55ac8cf4019afee884d3be545ddf87435a4
tree27af9059c36046627155e2f517e896d3ce07ce06
parentd5238627e4fab93a6c09816c60eb90e237b626c3
dco-linux: implement dco_get_peer_stats{, multi} API

With this API it is possible to retrieve the stats for a specific peer
or for all peers and then update the userspace counters with the value
reported by DCO.

Change-Id: Ia3990b86b1be7ca844fb1674b39ce0d60528ccff
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20230322192757.20767-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26481.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/dco_linux.c
src/openvpn/ovpn_dco_linux.h