ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
DtlsHsHeader Struct Reference

Parsed view of one DTLS handshake message fragment (fields point into the caller buffer). More...

#include <dtls_handshake.h>

Public Attributes

uint8_t msg_type
 HandshakeType (client_hello, server_hello, finished, ...)
 
uint32_t length
 full reassembled body length (uint24 on the wire)
 
uint16_t msg_seq
 handshake message sequence number
 
uint32_t frag_offset
 byte offset of this fragment within the body (uint24)
 
uint32_t frag_length
 length of this fragment (uint24)
 
const uint8_t * fragment
 fragment bytes, into the input buffer
 

Detailed Description

Parsed view of one DTLS handshake message fragment (fields point into the caller buffer).

Definition at line 62 of file dtls_handshake.h.

Member Data Documentation

◆ msg_type

uint8_t DtlsHsHeader::msg_type

HandshakeType (client_hello, server_hello, finished, ...)

Definition at line 64 of file dtls_handshake.h.

◆ length

uint32_t DtlsHsHeader::length

full reassembled body length (uint24 on the wire)

Definition at line 65 of file dtls_handshake.h.

◆ msg_seq

uint16_t DtlsHsHeader::msg_seq

handshake message sequence number

Definition at line 66 of file dtls_handshake.h.

◆ frag_offset

uint32_t DtlsHsHeader::frag_offset

byte offset of this fragment within the body (uint24)

Definition at line 67 of file dtls_handshake.h.

◆ frag_length

uint32_t DtlsHsHeader::frag_length

length of this fragment (uint24)

Definition at line 68 of file dtls_handshake.h.

◆ fragment

const uint8_t* DtlsHsHeader::fragment

fragment bytes, into the input buffer

Definition at line 69 of file dtls_handshake.h.


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