Re: [Openvpn-devel] [PATCH 09/21] Rework occ link-mtu calculation

2021-12-30 Thread Gert Doering
Hi, On Tue, Dec 07, 2021 at 06:01:59PM +0100, Arne Schwabe wrote: > Use the functions that directly compute the link mtu instead relying on the > frame logic. [..] > --- a/src/openvpn/mtu.c > +++ b/src/openvpn/mtu.c > @@ -61,6 +61,8 @@ frame_calculate_protocol_header_size(const struct key_type >

Re: [Openvpn-devel] [PATCH 09/21] Rework occ link-mtu calculation

2021-12-16 Thread Frank Lichtenheld
> Arne Schwabe hat am 07.12.2021 18:01 geschrieben: > > > Use the functions that directly compute the link mtu instead relying on the > frame logic. Is the assumption that the old and new version of the calc_options_string_link_mtu functions should return the same values for the same confi

[Openvpn-devel] [PATCH 09/21] Rework occ link-mtu calculation

2021-12-07 Thread Arne Schwabe
Use the functions that directly compute the link mtu instead relying on the frame logic. Signed-off-by: Arne Schwabe --- src/openvpn/mtu.c | 50 +- src/openvpn/mtu.h | 11 +++ src/openvpn/options.c | 51 -- tests/unit_