|
ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
|
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. | |
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.
| uint8_t TcpEvt::slot_id |
Which connection slot is affected.
Definition at line 163 of file tcp.h.
Referenced by listener_enqueue().
| size_t TcpEvt::data_len |
Bytes copied (EvtType::EVT_DATA only); 0 for other types.