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

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

#include <evt.h>

Public Attributes

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

Detailed Description

Event record posted from the stack callbacks to the session layer.

Copied into the queue by value, so nothing in it points at a slot whose lifetime ends before the record is drained.

Definition at line 78 of file evt.h.

Member Data Documentation

◆ type

EvtType TcpEvt::type

What happened.

Definition at line 80 of file evt.h.

◆ slot_id

uint8_t TcpEvt::slot_id

Which connection slot is affected.

Definition at line 81 of file evt.h.

◆ data_len

size_t TcpEvt::data_len

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

Definition at line 82 of file evt.h.


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