openssl/crypto/bio
Matt Caswell bbfdd1f0c9 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)

Conflicts:
	crypto/bio/bio.h
	crypto/bio/bss_dgram.c
2014-12-03 09:41:16 +00:00
..
.cvsignore Add emacs cache files to .cvsignore. 2005-04-11 14:17:07 +00:00
b_dump.c OPENSSL_Applink update. 2005-05-17 00:08:28 +00:00
b_print.c Make bn2dec work on "SIXTY_FOUR_BIT" platforms. 2007-09-15 17:05:11 +00:00
b_sock.c OPENSSL_NO_SOCK fixes [from HEAD]. 2012-04-16 17:43:28 +00:00
bf_buff.c Fix BIO_f_buffer(). 2011-12-02 12:24:29 +00:00
bf_lbuf.c disable '#ifdef DEBUG' sections 2002-02-28 10:51:56 +00:00
bf_nbio.c Fix warnings (From HEAD, original patch by Ben). 2010-06-15 17:25:15 +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:41:16 +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 Update from 0.9.8 stable. Eliminate duplicate error codes. 2006-11-21 21:29:44 +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:37:04 +01:00
bss_acpt.c Fix warnings (From HEAD, original patch by Ben). 2010-06-15 17:25:15 +00:00
bss_bio.c In BIO_write(), update the write statistics, not the read statistics. 2008-12-25 22:24:17 +00:00
bss_conn.c fix if statement: call conn_state() if the BIO is not in the BIO_CONN_S_OK state 2006-02-02 22:11:02 +00:00
bss_dgram.c There are a number of instances throughout the code where the constant 28 is 2014-12-03 09:41:16 +00:00
bss_fd.c RFC 3161 compliant time stamp request creation, response generation 2006-02-12 23:11:56 +00:00
bss_file.c bss_file.c: refine UTF8 logic [from HEAD]. 2010-12-11 14:53:58 +00:00
bss_log.c Avoid Windows 8 Getversion deprecated errors. 2014-02-25 13:43:04 +00: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 More VMS synchronisation 2000-09-09 18:05:27 +00:00
bss_sock.c PR: 1763 2010-03-27 23:28:23 +00:00
Makefile make update 2006-02-12 23:21:56 +00:00