]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Remove FRAME_HEADROOM, PAYLOAD_SIZE, EXTRA_FRAME and TUN_LINK_DELTA macros
authorArne Schwabe <arne@rfc2549.org>
Mon, 14 Feb 2022 09:26:07 +0000 (10:26 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 14 Feb 2022 16:21:19 +0000 (17:21 +0100)
commitd2e6605fec0d8641deef0ec7807811d0222bb71e
tree97b89e2e169214def8f60ddea0fd46589ef3db7c
parentde152bccc00daf7aebfa97e376ec2e37c3e1f574
Remove FRAME_HEADROOM, PAYLOAD_SIZE, EXTRA_FRAME and TUN_LINK_DELTA macros

The buffer overhaul simplified the frame struct to a point that these
macros are either not used anymore or are not adding any benefit in
understanding the code anymore. Replace the macros with direct member
acessses.

Patch v2: Remove all FRAME_HEADROOM macros
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220214092607.3785665-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23785.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/comp-lz4.c
src/openvpn/crypto.c
src/openvpn/forward.c
src/openvpn/fragment.c
src/openvpn/lzo.c
src/openvpn/mtu.c
src/openvpn/mtu.h
src/openvpn/multi.c
src/openvpn/occ.c
src/openvpn/ping.c
src/openvpn/ssl.c