gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gnutls branch, gnutls_3_0_x-2, updated. gnutls_3_0_20-26-g2398


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, gnutls_3_0_x-2, updated. gnutls_3_0_20-26-g239863d
Date: Fri, 29 Jun 2012 23:38:31 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=239863d1efddb54d61fcb3d9acbbcf836cb120e3

The branch, gnutls_3_0_x-2 has been updated
       via  239863d1efddb54d61fcb3d9acbbcf836cb120e3 (commit)
      from  5e49e4793d10a23bd4b0a3a06f7f7f19503506c5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 239863d1efddb54d61fcb3d9acbbcf836cb120e3
Author: David Woodhouse <address@hidden>
Date:   Fri Jun 29 22:08:24 2012 +0100

    Fix documentation for gnutls_dtls_set_mtu()
    
    It *isn't* the interface MTU, it's the transport MTU.
    
    Signed-off-by: Nikos Mavrogiannopoulos <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 lib/gnutls_dtls.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/lib/gnutls_dtls.c b/lib/gnutls_dtls.c
index e798b27..bd3c637 100644
--- a/lib/gnutls_dtls.c
+++ b/lib/gnutls_dtls.c
@@ -570,10 +570,13 @@ void gnutls_dtls_set_timeouts (gnutls_session_t session, 
unsigned int retrans_ti
 /**
  * gnutls_dtls_set_mtu:
  * @session: is a #gnutls_session_t structure.
- * @mtu: The maximum transfer unit of the interface
+ * @mtu: The maximum transfer unit of the transport
  *
- * This function will set the maximum transfer unit of the interface
- * that DTLS packets are expected to leave from.
+ * This function will set the maximum transfer unit of the transport
+ * that DTLS packets are sent over. Note that this should exclude
+ * the IP (or IPv6) and UDP headers. So for DTLS over IPv6 on an
+ * Ethenet device with MTU 1500, the DTLS MTU set with this function
+ * would be 1500 - 40 (IPV6 header) - 8 (UDP header) = 1452.
  *
  * Since: 3.0
  **/


hooks/post-receive
-- 
GNU gnutls



reply via email to

[Prev in Thread] Current Thread [Next in Thread]