openssl/crypto/bio
Matt Caswell ccecdb130c There are a number of instances throughout the code where the constant 28 is
used with no explanation. Some of this was introduced as part of RT#1929. The
value 28 is the length of the IP header (20 bytes) plus the UDP header (8
bytes). However use of this constant is incorrect because there may be
instances where a different value is needed, e.g. an IPv4 header is 20 bytes
but an IPv6 header is 40. Similarly you may not be using UDP (e.g. SCTP).
This commit introduces a new BIO_CTRL that provides the value to be used for
this mtu "overhead". It will be used by subsequent commits.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit 0d3ae34df5)
2014-12-03 09:30:21 +00:00
..
.cvsignore Add emacs cache files to .cvsignore. 2005-04-11 14:17:07 +00:00
b_dump.c Show the contents of the RFC6962 Signed Certificate Timestamp List Certificate/OCSP Extensions. 2014-02-20 21:43:54 +00:00
b_print.c Make bn2dec work on "SIXTY_FOUR_BIT" platforms. 2007-09-15 17:05:11 +00:00
b_sock.c b_sock.c: make getsockopt work in cases when optlen is 64-bit value. 2014-02-01 22:33:02 +01:00
bf_buff.c Fix BIO_f_buffer(). 2011-12-02 12:24:48 +00:00
bf_lbuf.c
bf_nbio.c Fix warnings (From HEAD, original patch by Ben). 2010-06-15 17:25:15 +00:00
bf_null.c
bio.h There are a number of instances throughout the code where the constant 28 is 2014-12-03 09:30:21 +00:00
bio_cb.c Revert the size_t modifications from HEAD that had led to more 2008-11-12 03:58:08 +00:00
bio_err.c fix error code 2011-12-27 14:37:43 +00:00
bio_lcl.h Don't use -D_CRT_NONSTDC_NO_DEPRECATE, fix bio_lcl.h instead. 2009-05-06 10:23:39 +00:00
bio_lib.c Fix memory leak in BIO_free if there is no destroy function. 2014-07-09 23:32:18 +01:00
bss_acpt.c Constification. 2013-10-07 12:44:40 +01:00
bss_bio.c Backport ossl_ssize_t type from HEAD. 2011-10-10 22:33:50 +00:00
bss_conn.c Constification. 2013-10-07 12:44:40 +01:00
bss_dgram.c There are a number of instances throughout the code where the constant 28 is 2014-12-03 09:30:21 +00:00
bss_fd.c Improve WINCE support. 2014-02-01 22:48:56 +01:00
bss_file.c bss_file.c: refine UTF8 logic [from HEAD]. 2010-12-11 14:54:48 +00:00
bss_log.c Avoid Windows 8 Getversion deprecated errors. 2014-02-25 13:41:53 +00:00
bss_mem.c Update from stable branch. 2009-03-07 17:00:23 +00:00
bss_null.c
bss_rtcp.c
bss_sock.c PR: 1763 2010-03-27 23:28:23 +00:00
Makefile make update 2006-02-12 23:21:56 +00:00