Struct 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¶
Bytes of current payload read so far
variable payload_len¶
Expected size of the incoming frame payload
variable rx_buf¶
Buffer for staging incoming packet payloads
variable sock¶
Embedded network TCP socket handle
variable 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