gnutls_packet_get(3) gnutls gnutls_packet_get(3)

gnutls_packet_get - API function

#include <gnutls/gnutls.h>

void gnutls_packet_get(gnutls_packet_t packet, gnutls_datum_t * data, unsigned char * sequence);

is a gnutls_packet_t type.
will contain the data present in the packet structure (may be NULL)
the 8-bytes of the packet sequence number (may be NULL)

This function returns the data and sequence number associated with the received packet.


Report bugs to <>.
Home page:

Copyright © 2001-2023 Free Software Foundation, Inc., and others.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit

3.8.5 gnutls