ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
client.h File Reference

The client engine: drive the handshake, authenticate, and request the port forward. More...

Go to the source code of this file.

Typedefs

typedef PROTOCORE_BEGIN_DECLS enum PROTO_ENUM_PACKED protocore_ssh_client_state
 Lifecycle phase of the forward, for observability.
 

Enumerations

enum  PROTO_ENUM_PACKED { PROTOCORE_SSH_CLIENT_IDLE = 0 , PROTOCORE_SSH_CLIENT_CONNECTING , PROTOCORE_SSH_CLIENT_UP , PROTOCORE_SSH_CLIENT_FAILED }
 Lifecycle phase of the forward, for observability. More...
 

Detailed Description

The client engine: drive the handshake, authenticate, and request the port forward.

Definition in file client.h.

Typedef Documentation

◆ protocore_ssh_client_state

Lifecycle phase of the forward, for observability.

Enumeration Type Documentation

◆ PROTO_ENUM_PACKED

Lifecycle phase of the forward, for observability.

Enumerator
PROTOCORE_SSH_CLIENT_IDLE 

not started.

PROTOCORE_SSH_CLIENT_CONNECTING 

TCP + SSH handshake + auth in progress.

PROTOCORE_SSH_CLIENT_UP 

authenticated and the remote forward is established.

PROTOCORE_SSH_CLIENT_FAILED 

the last attempt failed (host-key mismatch, auth, or transport).

Definition at line 17 of file client.h.