From: Arne Schwabe Date: Tue, 21 Jun 2022 16:16:44 +0000 (+0200) Subject: Remove leftover frame_set_mtu_dynamic definitions in mtu.h X-Git-Tag: v2.6_beta1~182 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e2df31b6835eb15af6524d67f6fd93ff7a3cc4dd;p=thirdparty%2Fopenvpn.git Remove leftover frame_set_mtu_dynamic definitions in mtu.h The frame_set_mtu_dynamic function and it defines were removed during the buffer rework but this definitions were overlooked. Signed-off-by: Arne Schwabe Acked-by: Gert Doering Message-Id: <20220621161649.2872985-1-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24494.html Signed-off-by: Gert Doering --- diff --git a/src/openvpn/mtu.h b/src/openvpn/mtu.h index 7f967e066..4b8feca7c 100644 --- a/src/openvpn/mtu.h +++ b/src/openvpn/mtu.h @@ -253,16 +253,6 @@ unsigned int calc_packet_id_size_dc(const struct options *options, const struct key_type *kt); - -/* - * frame_set_mtu_dynamic and flags - */ - -#define SET_MTU_TUN (1<<0) /* use tun/tap rather than link sizing */ -#define SET_MTU_UPPER_BOUND (1<<1) /* only decrease dynamic MTU */ - -void frame_set_mtu_dynamic(struct frame *frame, int mtu, unsigned int flags); - /* * allocate a buffer for socket or tun layer */