|
ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
|
Per-connection channel state. More...
#include <connection.h>
Public Attributes | |
| proto_bool | open |
| True once the channel is confirmed open both ways. | |
| proto_bool | pending |
| True for a server-initiated channel we opened, awaiting the client's confirmation. | |
| SshChanType | type |
| session, direct-tcpip, or forwarded-tcpip. | |
| SshChanService | service |
| What a sec 6 request bound over a session channel, if anything. | |
| uint32_t | local_id |
| Our channel id (== slot index). | |
| uint32_t | peer_id |
| Client's channel id. | |
| SshFlow | flow |
| RFC 4254 sec 5.2 window pair (owner: ssh_flow_control.*). | |
| proto_bool | eof_sent |
| We sent CHANNEL_EOF (RFC 4254 sec 5.3). | |
| proto_bool | relay_eof |
| The peer sent CHANNEL_EOF. | |
| proto_bool | close_sent |
| We sent CHANNEL_CLOSE. | |
| proto_bool | close_received |
| The peer sent CHANNEL_CLOSE. | |
| proto_bool | pty |
| A "pty-req" was accepted on this channel. | |
| uint32_t | width_chars |
| terminal width, characters | |
| uint32_t | height_rows |
| terminal height, rows | |
| uint32_t | width_px |
| terminal width, pixels | |
| uint32_t | height_px |
| terminal height, pixels | |
Per-connection channel state.
Definition at line 155 of file connection.h.
| proto_bool SshChannel::open |
True once the channel is confirmed open both ways.
Definition at line 157 of file connection.h.
| proto_bool SshChannel::pending |
True for a server-initiated channel we opened, awaiting the client's confirmation.
Definition at line 158 of file connection.h.
| SshChanType SshChannel::type |
session, direct-tcpip, or forwarded-tcpip.
Definition at line 159 of file connection.h.
| SshChanService SshChannel::service |
What a sec 6 request bound over a session channel, if anything.
Definition at line 160 of file connection.h.
| uint32_t SshChannel::local_id |
Our channel id (== slot index).
Definition at line 161 of file connection.h.
| uint32_t SshChannel::peer_id |
Client's channel id.
Definition at line 162 of file connection.h.
| SshFlow SshChannel::flow |
RFC 4254 sec 5.2 window pair (owner: ssh_flow_control.*).
Definition at line 163 of file connection.h.
| proto_bool SshChannel::eof_sent |
We sent CHANNEL_EOF (RFC 4254 sec 5.3).
Definition at line 164 of file connection.h.
| proto_bool SshChannel::relay_eof |
The peer sent CHANNEL_EOF.
Definition at line 165 of file connection.h.
| proto_bool SshChannel::close_sent |
We sent CHANNEL_CLOSE.
Definition at line 169 of file connection.h.
| proto_bool SshChannel::close_received |
The peer sent CHANNEL_CLOSE.
Definition at line 170 of file connection.h.
| proto_bool SshChannel::pty |
A "pty-req" was accepted on this channel.
Definition at line 173 of file connection.h.
| uint32_t SshChannel::width_chars |
terminal width, characters
Definition at line 174 of file connection.h.
| uint32_t SshChannel::height_rows |
terminal height, rows
Definition at line 175 of file connection.h.
| uint32_t SshChannel::width_px |
terminal width, pixels
Definition at line 176 of file connection.h.
| uint32_t SshChannel::height_px |
terminal height, pixels
Definition at line 177 of file connection.h.