tls_header Struct Reference

A TLS header. More...

#include <tls.h>


Data Fields

uint8_t type
 Content type.
uint16_t version
 Protocol version.
uint16_t length
 Length of payload.


Detailed Description

A TLS header.

Definition at line 22 of file tls.h.


Field Documentation

Content type.

This is a TLS_TYPE_XXX constant

Definition at line 27 of file tls.h.

Referenced by tls_new_ciphertext(), and tls_send_plaintext().

Protocol version.

This is a TLS_VERSION_XXX constant

Definition at line 32 of file tls.h.

Referenced by tls_new_ciphertext(), and tls_send_plaintext().

Length of payload.

Definition at line 34 of file tls.h.

Referenced by tls_cipherstream_deliver_raw(), tls_new_ciphertext(), tls_newdata_process_header(), and tls_send_plaintext().


The documentation for this struct was generated from the following file:

Generated on Tue Apr 6 20:02:10 2010 for gPXE by  doxygen 1.5.7.1