From: Matt Caswell Date: Mon, 1 Dec 2014 23:58:05 +0000 (+0000) Subject: Remove instances in libssl of the constant 28 (for size of IPv4 header + UDP) X-Git-Tag: master-post-reformat~249 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=59669b6abf620d1ed2ef4d1e2df25c998b89b64d;hp=59669b6abf620d1ed2ef4d1e2df25c998b89b64d Remove instances in libssl of the constant 28 (for size of IPv4 header + UDP) and instead use the value provided by the underlying BIO. Also provide some new DTLS_CTRLs so that the library user can set the mtu without needing to know this constant. These new DTLS_CTRLs provide the capability to set the link level mtu to be used (i.e. including this IP/UDP overhead). The previous DTLS_CTRLs required the library user to subtract this overhead first. Reviewed-by: Tim Hudson ---