15#ifndef PROTOCORE_APP_SERVER_H
16#define PROTOCORE_APP_SERVER_H
69static const SshAppServerNs SshAppServer __attribute__((unused)) = {
RFC 4254 connection protocol: channel multiplexing, windows, and port forwarding.
SshAppServerVars SshAppServerV
The operands and the outcome.
void protocore_ssh_app_server_classify(const uint8_t *work)
void(*const classify)(const uint8_t *work)
uint32_t channel
the channel it names
uint8_t slot
the SSH slot the request arrived on
SshChanReqArgs req
what one channel request names and carries
embed_bool accept
in/out: set when an accepted SFTP subsystem flips acceptance
RFC 4254 sec 5.4 CHANNEL_REQUEST: the type it names, and the body that follows.
const uint8_t * rtype
the request type
size_t off
in/out: the request-specific argument, advanced past what was read
const uint8_t * payload
the request body
size_t len
how many bytes it has
uint32_t rtype_len
its length