ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
SshChanArgs Struct Reference

RFC 4254 sec 5 channels: what a channel call acts on. More...

#include <connection.h>

Public Attributes

uint8_t slot
 the SSH slot
 
uint32_t channel
 the channel number on it
 
uint32_t id
 the channel a lookup names
 
SshChanService service
 the service a bind attaches
 
const uint8_t * payload
 the message body
 
size_t len
 how many bytes it has
 
const uint8_t * data
 payload bytes a send carries
 
uint8_t * out
 where a reply is written
 
size_t out_len
 what was written
 
size_t cap
 how much room it has
 
uint32_t exit_status
 sec 6.10 exit-status
 
const char * signal_name
 sec 6.10 exit-signal
 
proto_bool core_dumped
 whether it dumped core
 
const char * err_msg
 the message that accompanies it
 
const uint8_t * rtype
 sec 5.4 request type
 
uint32_t rtype_len
 its length
 

Detailed Description

RFC 4254 sec 5 channels: what a channel call acts on.

Definition at line 573 of file connection.h.

Member Data Documentation

◆ slot

uint8_t SshChanArgs::slot

the SSH slot

Definition at line 575 of file connection.h.

◆ channel

uint32_t SshChanArgs::channel

the channel number on it

Definition at line 576 of file connection.h.

◆ id

uint32_t SshChanArgs::id

the channel a lookup names

Definition at line 577 of file connection.h.

◆ service

SshChanService SshChanArgs::service

the service a bind attaches

Definition at line 578 of file connection.h.

◆ payload

const uint8_t* SshChanArgs::payload

the message body

Definition at line 579 of file connection.h.

◆ len

size_t SshChanArgs::len

how many bytes it has

Definition at line 580 of file connection.h.

◆ data

const uint8_t* SshChanArgs::data

payload bytes a send carries

Definition at line 581 of file connection.h.

◆ out

uint8_t* SshChanArgs::out

where a reply is written

Definition at line 582 of file connection.h.

◆ out_len

size_t SshChanArgs::out_len

what was written

Definition at line 583 of file connection.h.

◆ cap

size_t SshChanArgs::cap

how much room it has

Definition at line 584 of file connection.h.

◆ exit_status

uint32_t SshChanArgs::exit_status

sec 6.10 exit-status

Definition at line 585 of file connection.h.

◆ signal_name

const char* SshChanArgs::signal_name

sec 6.10 exit-signal

Definition at line 586 of file connection.h.

◆ core_dumped

proto_bool SshChanArgs::core_dumped

whether it dumped core

Definition at line 587 of file connection.h.

◆ err_msg

const char* SshChanArgs::err_msg

the message that accompanies it

Definition at line 588 of file connection.h.

◆ rtype

const uint8_t* SshChanArgs::rtype

sec 5.4 request type

Definition at line 589 of file connection.h.

◆ rtype_len

uint32_t SshChanArgs::rtype_len

its length

Definition at line 590 of file connection.h.


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