ProtoCore v0.0.2
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
SshFlow Struct Reference

One channel's flow-control state (RFC 4254 sec 5.2). More...

#include <ssh_flow_control.h>

Public Attributes

uint32_t local_window
 Bytes the peer may still send us before we WINDOW_ADJUST.
 
uint32_t local_max
 The window we advertised, and replenish back up to.
 
uint32_t peer_window
 Bytes we may still send the peer.
 
uint32_t peer_max_pkt
 Peer's maximum packet size; caps a single send independently of the window.
 

Detailed Description

One channel's flow-control state (RFC 4254 sec 5.2).

Definition at line 29 of file ssh_flow_control.h.

Member Data Documentation

◆ local_window

uint32_t SshFlow::local_window

Bytes the peer may still send us before we WINDOW_ADJUST.

Definition at line 31 of file ssh_flow_control.h.

Referenced by pc_ssh_flow_init(), pc_ssh_flow_local_credit(), pc_ssh_flow_recv_take(), pc_ssh_flow_replenish_due(), and pc_ssh_sig_build_open_confirm().

◆ local_max

uint32_t SshFlow::local_max

The window we advertised, and replenish back up to.

Definition at line 32 of file ssh_flow_control.h.

Referenced by pc_ssh_flow_init(), and pc_ssh_flow_replenish_due().

◆ peer_window

uint32_t SshFlow::peer_window

◆ peer_max_pkt

uint32_t SshFlow::peer_max_pkt

Peer's maximum packet size; caps a single send independently of the window.

Definition at line 34 of file ssh_flow_control.h.

Referenced by pc_ssh_channel_handle_open_confirm(), pc_ssh_flow_init(), pc_ssh_flow_send_allows(), and pc_ssh_flow_send_cap().


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