1gnutls_dtls_set_mtu(3)              gnutls              gnutls_dtls_set_mtu(3)
2
3
4

NAME

6       gnutls_dtls_set_mtu - API function
7

SYNOPSIS

9       #include <gnutls/dtls.h>
10
11       void gnutls_dtls_set_mtu(gnutls_session_t session, unsigned int mtu);
12

ARGUMENTS

14       gnutls_session_t session
15                   is a gnutls_session_t type.
16
17       unsigned int mtu
18                   The maximum transfer unit of the transport
19

DESCRIPTION

21       This  function will set the maximum transfer unit of the transport that
22       DTLS packets are sent over. Note that this should exclude  the  IP  (or
23       IPv6) and UDP headers. So for DTLS over IPv6 on an Ethernet device with
24       MTU 1500, the DTLS MTU set with this function would be 1500 - 40  (IPV6
25       header) - 8 (UDP header) = 1452.
26

SINCE

28       3.0
29

REPORTING BUGS

31       Report bugs to <bugs@gnutls.org>.
32       Home page: http://www.gnutls.org
33
34
36       Copyright © 2001-2018 Free Software Foundation, Inc., and others.
37       Copying  and  distribution  of this file, with or without modification,
38       are permitted in any medium  without  royalty  provided  the  copyright
39       notice and this notice are preserved.
40

SEE ALSO

42       The  full  documentation  for gnutls is maintained as a Texinfo manual.
43       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
44       visit
45
46       http://www.gnutls.org/manual/
47
48gnutls                               3.6.5              gnutls_dtls_set_mtu(3)
Impressum