DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
SshChannel Struct Reference

Per-connection channel state. More...

#include <ssh_channel.h>

Public Attributes

bool open
 True once the channel is confirmed open both ways.
 
bool pending
 True for a server-initiated channel we opened, awaiting the client's confirmation.
 
SshChanType type
 session, direct-tcpip, or forwarded-tcpip.
 
uint32_t local_id
 Our channel id (== slot index).
 
uint32_t peer_id
 Client's channel id.
 
uint32_t local_window
 Bytes we may still receive before WINDOW_ADJUST.
 
uint32_t peer_window
 Bytes we may still send to the client.
 
uint32_t peer_max_pkt
 Client's maximum packet size.
 

Detailed Description

Per-connection channel state.

Definition at line 40 of file ssh_channel.h.

Member Data Documentation

◆ open

bool SshChannel::open

True once the channel is confirmed open both ways.

Definition at line 42 of file ssh_channel.h.

Referenced by ssh_channel_handle_open(), ssh_channel_handle_open_confirm(), ssh_channel_handle_open_failure(), and ssh_channel_open_forwarded().

◆ pending

bool SshChannel::pending

True for a server-initiated channel we opened, awaiting the client's confirmation.

Definition at line 43 of file ssh_channel.h.

Referenced by ssh_channel_handle_open_confirm(), ssh_channel_handle_open_failure(), and ssh_channel_open_forwarded().

◆ type

SshChanType SshChannel::type

session, direct-tcpip, or forwarded-tcpip.

Definition at line 44 of file ssh_channel.h.

Referenced by ssh_channel_handle_data(), ssh_channel_handle_open(), and ssh_channel_open_forwarded().

◆ local_id

uint32_t SshChannel::local_id

◆ peer_id

◆ local_window

uint32_t SshChannel::local_window

Bytes we may still receive before WINDOW_ADJUST.

Definition at line 47 of file ssh_channel.h.

Referenced by ssh_channel_handle_data(), ssh_channel_handle_open(), and ssh_channel_open_forwarded().

◆ peer_window

uint32_t SshChannel::peer_window

◆ peer_max_pkt

uint32_t SshChannel::peer_max_pkt

Client's maximum packet size.

Definition at line 49 of file ssh_channel.h.

Referenced by ssh_channel_build_data(), ssh_channel_handle_open(), ssh_channel_handle_open_confirm(), and ssh_channel_open_forwarded().


The documentation for this struct was generated from the following file: