iPXE
Data Fields
tls_header Struct Reference

A TLS header. More...

#include <tls.h>

Data Fields

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

Detailed Description

A TLS header.

Definition at line 28 of file tls.h.

Field Documentation

◆ type

uint8_t tls_header::type

Content type.

This is a TLS_TYPE_XXX constant

Definition at line 33 of file tls.h.

Referenced by tls_new_ciphertext(), and tls_send_plaintext().

◆ version

uint16_t tls_header::version

Protocol version.

This is a TLS_VERSION_XXX constant

Definition at line 38 of file tls.h.

Referenced by tls_new_ciphertext(), and tls_send_plaintext().

◆ length

uint16_t tls_header::length

Length of payload.

Definition at line 40 of file tls.h.

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


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