]> git.ipfire.org Git - thirdparty/openvpn.git/commit
dco-freebsd: store peer stats directly in c2
authorRalf Lici <ralf@mandelbit.com>
Sun, 19 Oct 2025 17:02:42 +0000 (19:02 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 19 Oct 2025 17:05:07 +0000 (19:05 +0200)
commitbf01a965dfbfc2651eaf3dbe4d37da74f3071628
tree40cb0514a5802309cfbfcda146260b1fb442ee44
parenta8b8e41c7906c895ba6c88aa748e6dfa3946aff5
dco-freebsd: store peer stats directly in c2

The dco_context_t structure includes a reference to the general context
structure c, which allows us to store dco_read_bytes and dco_write_bytes
directly as c2 fields. This aligns the FreeBSD implementation with how
we handle DCO peer stats on Linux and Windows.

Change-Id: I53dd40fabdeacb9dca843e28fdd3b357711c5a84
Signed-off-by: Ralf Lici <ralf@mandelbit.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1275
Message-Id: <20251019170249.30942-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg33791.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/dco_freebsd.c