Skip to content

Struct SYN_TransportTcp

ClassList > SYN_TransportTcp

TCP bridge transport layer context.

  • #include <syn_transport_tcp.h>

Public Attributes

Type Name
uint16_t bytes_read
uint16_t payload_len
uint8_t rx_buf
SYN_Socket sock
uint8_t state

Public Attributes Documentation

variable bytes_read

uint16_t SYN_TransportTcp::bytes_read;

Bytes of current payload read so far


variable payload_len

uint16_t SYN_TransportTcp::payload_len;

Expected size of the incoming frame payload


variable rx_buf

uint8_t SYN_TransportTcp::rx_buf[128];

Buffer for staging incoming packet payloads


variable sock

SYN_Socket SYN_TransportTcp::sock;

Embedded network TCP socket handle


variable state

uint8_t SYN_TransportTcp::state;

Parser state: 0=len MSB, 1=len LSB, 2=payload



The documentation for this class was generated from the following file src/syntropic/net/syn_transport_tcp.h