1gnutls_est_record_overhead_size(3)  gnutls  gnutls_est_record_overhead_size(3)
2
3
4

NAME

6       gnutls_est_record_overhead_size - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       size_t    gnutls_est_record_overhead_size(gnutls_protocol_t    version,
12       gnutls_cipher_algorithm_t    cipher,    gnutls_mac_algorithm_t     mac,
13       gnutls_compression_method_t comp, unsigned int flags);
14

ARGUMENTS

16       gnutls_protocol_t version
17                   is a gnutls_protocol_t value
18
19       gnutls_cipher_algorithm_t cipher
20                   is a gnutls_cipher_algorithm_t value
21
22       gnutls_mac_algorithm_t mac
23                   is a gnutls_mac_algorithm_t value
24
25       gnutls_compression_method_t comp
26                   is a gnutls_compression_method_t value (ignored)
27
28       unsigned int flags
29                   must be zero
30

DESCRIPTION

32       This  function will return the set size in bytes of the overhead due to
33       TLS (or DTLS) per record.
34
35       Note that this function may provide inaccurate values when  TLS  exten‐
36       sions  that  modify  the record format are negotiated. In these cases a
37       more accurate value can be obtained using gnutls_record_overhead_size()
38       after a completed handshake.
39

SINCE

41       3.2.2
42

REPORTING BUGS

44       Report bugs to <bugs@gnutls.org>.
45       Home page: https://www.gnutls.org
46
47
49       Copyright © 2001-2023 Free Software Foundation, Inc., and others.
50       Copying  and  distribution  of this file, with or without modification,
51       are permitted in any medium without royalty provided the copyright  no‐
52       tice and this notice are preserved.
53

SEE ALSO

55       The  full  documentation  for gnutls is maintained as a Texinfo manual.
56       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
57       visit
58
59       https://www.gnutls.org/manual/
60
61gnutls                               3.8.2  gnutls_est_record_overhead_size(3)
Impressum