openssl/crypto/bio
Matt Caswell 0d3ae34df5 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>
2014-12-03 09:24:04 +00:00
..
b_dump.c Move the SCT List extension parser into libssl. 2014-02-19 13:12:46 +00:00
b_print.c Make bn2dec work on "SIXTY_FOUR_BIT" platforms. 2007-09-15 17:05:11 +00:00
b_sock.c Undo a90081576c 2014-08-09 08:02:20 -04:00
bf_buff.c Fix BIO_f_buffer(). 2011-12-02 12:25:03 +00:00
bf_lbuf.c disable '#ifdef DEBUG' sections 2002-02-28 10:51:56 +00:00
bf_nbio.c Fix warnings. 2010-06-12 14:13:23 +00:00
bf_null.c Start to reduce some of the header bloat. 2001-08-05 18:02:16 +00:00
bio.h There are a number of instances throughout the code where the constant 28 is 2014-12-03 09:24:04 +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:40:21 +00:00
bio_lcl.h Fix from 1.0.0-stable. 2009-05-06 10:28:37 +00:00
bio_lib.c Fix memory leak in BIO_free if there is no destroy function. 2014-07-09 23:29:17 +01:00
bss_acpt.c Constification. 2013-10-07 12:45:26 +01:00
bss_bio.c Add new type ossl_ssize_t instead of ssize_t and move definitions to 2010-07-26 18:15:59 +00:00
bss_conn.c Constification. 2013-10-07 12:45:26 +01:00
bss_dgram.c There are a number of instances throughout the code where the constant 28 is 2014-12-03 09:24:04 +00:00
bss_fd.c Improve WINCE support. 2013-01-19 21:23:13 +01:00
bss_file.c bss_file.c: refine UTF8 logic. 2010-12-11 14:53:14 +00:00
bss_log.c Undo a90081576c 2014-08-09 08:02:20 -04:00
bss_mem.c Update from stable branch. 2009-03-07 17:00:23 +00:00
bss_null.c Get rid of more non-ANSI declarations. 2000-05-15 22:54:43 +00:00
bss_rtcp.c rtcp_new: return failure if allocation of bi->ptr failed 2014-08-15 22:38:05 +02:00
bss_sock.c Undo a90081576c 2014-08-09 08:02:20 -04:00
Makefile Change AR to ARX to allow exclusion of fips object modules 2011-01-26 16:08:08 +00:00