DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
TcpEvt Struct Reference

Event record posted from lwIP callbacks to the session layer. More...

#include <tcp.h>

Public Attributes

EvtType type
 What happened.
 
uint8_t slot_id
 Which connection slot is affected.
 
size_t data_len
 Bytes copied (EvtType::EVT_DATA only); 0 for other types.
 

Detailed Description

Event record posted from lwIP callbacks to the session layer.

Small enough (≤12 bytes on 32-bit) that the FreeRTOS queue copies it by value - no pointer lifetime issues.

Definition at line 148 of file tcp.h.

Member Data Documentation

◆ type

EvtType TcpEvt::type

What happened.

Definition at line 150 of file tcp.h.

◆ slot_id

uint8_t TcpEvt::slot_id

Which connection slot is affected.

Definition at line 151 of file tcp.h.

Referenced by listener_enqueue().

◆ data_len

size_t TcpEvt::data_len

Bytes copied (EvtType::EVT_DATA only); 0 for other types.

Definition at line 152 of file tcp.h.


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