|
ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
|
Per-connection SSH binary packet state. More...
#include <transport.h>
Public Attributes | |
| uint32_t | seq_no_send |
| Outgoing sequence number. | |
| uint32_t | seq_no_recv |
| Incoming sequence number. | |
| proto_bool | is_client |
| uint8_t * | rx_buf |
| SSH_RX_ASM_CAP bytes at SSH_OFF_RX_ASM. Null until claimed. | |
| size_t | rx_len |
| Bytes currently in rx_buf. | |
| uint8_t * | tx_wire |
| The wire buffer for this slot. Null until the first packet. | |
| size_t | tx_len |
| Bytes of the framed packet. | |
| size_t | tx_off |
| Bytes already put on the wire. | |
| proto_bool | tx_ready |
| A packet is framed and waiting for a worker. | |
| uint8_t * | mac_work |
| PROTOCORE_HMAC_SHA256_BORROW bytes. Null until the first packet. | |
| uint8_t * | cipher_work |
| uint8_t * | crypto_work |
Per-connection SSH binary packet state.
Allocated in ssh_pool[] (BSS); one entry per SSH connection slot. Key material is in ssh_keys[] - a separate BSS symbol to prevent linear overflow from packet buffers into key material.
Definition at line 376 of file transport.h.
| uint32_t SshPacketState::seq_no_send |
Outgoing sequence number.
Definition at line 380 of file transport.h.
| uint32_t SshPacketState::seq_no_recv |
Incoming sequence number.
Definition at line 381 of file transport.h.
| proto_bool SshPacketState::is_client |
Definition at line 387 of file transport.h.
| uint8_t* SshPacketState::rx_buf |
SSH_RX_ASM_CAP bytes at SSH_OFF_RX_ASM. Null until claimed.
Definition at line 391 of file transport.h.
| size_t SshPacketState::rx_len |
Bytes currently in rx_buf.
Definition at line 392 of file transport.h.
| uint8_t* SshPacketState::tx_wire |
The wire buffer for this slot. Null until the first packet.
Definition at line 402 of file transport.h.
| size_t SshPacketState::tx_len |
Bytes of the framed packet.
Definition at line 403 of file transport.h.
| size_t SshPacketState::tx_off |
Bytes already put on the wire.
Definition at line 404 of file transport.h.
| proto_bool SshPacketState::tx_ready |
A packet is framed and waiting for a worker.
Definition at line 405 of file transport.h.
| uint8_t* SshPacketState::mac_work |
PROTOCORE_HMAC_SHA256_BORROW bytes. Null until the first packet.
Definition at line 409 of file transport.h.
| uint8_t* SshPacketState::cipher_work |
Definition at line 412 of file transport.h.
| uint8_t* SshPacketState::crypto_work |
Definition at line 415 of file transport.h.