Struct SYN_Router¶
Router instance — node ID, transport, handler table, ACK tracking.
#include <syn_router.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint16_t | ack_timeout_ms |
| uint32_t | drop_count |
| uint8_t | handler_cap |
| uint8_t | handler_count |
| SYN_RouterHandler * | handlers |
| uint8_t | max_retries |
| uint8_t | node_id |
| SYN_PendingAck * | pending |
| uint8_t | pending_cap |
| uint32_t | rx_count |
| SYN_Transport * | transport |
| uint32_t | tx_count |
| uint8_t | tx_seq |
Public Attributes Documentation¶
variable ack_timeout_ms¶
ACK timeout in ms
variable drop_count¶
Unhandled / bad packets
variable handler_cap¶
Array capacity
variable handler_count¶
Registered handler count
variable handlers¶
Caller-owned handler array
variable max_retries¶
Max retransmissions
variable node_id¶
Our node ID
variable pending¶
Caller-owned pending ACK array
variable pending_cap¶
Array capacity
variable rx_count¶
Total packets received
variable transport¶
Underlying transport
variable tx_count¶
Total packets sent
variable tx_seq¶
Auto-incrementing TX seq
The documentation for this class was generated from the following file src/syntropic/net/syn_router.h