assh/assh_packet.h header reference

Description [link] 

This header provides functions used to build and parse the packet format used the ssh2 protocol.

See also assh/assh_buffer.h.

Members [link] 

Types [link] 

Function [link] 

Members detail [link] 

void assh_packet_collect(struct assh_context_s *c) [link] 

This function is declared in assh/assh_packet.h source file, line 242.

This function forces garbage collect of packets. This does nothing when CONFIG_ASSH_PACKET_POOL is not defined.

enum assh_ssh_disconnect_e [link] 

This enum is declared in assh/assh_packet.h source file, line 199.

This enum specifies standard ssh2 disconnect reasons.

IdentifierDescription
SSH_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT
SSH_DISCONNECT_PROTOCOL_ERROR
SSH_DISCONNECT_KEY_EXCHANGE_FAILED
SSH_DISCONNECT_RESERVED
SSH_DISCONNECT_MAC_ERROR
SSH_DISCONNECT_COMPRESSION_ERROR
SSH_DISCONNECT_SERVICE_NOT_AVAILABLE
SSH_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED
SSH_DISCONNECT_HOST_KEY_NOT_VERIFIABLE
SSH_DISCONNECT_CONNECTION_LOST
SSH_DISCONNECT_BY_APPLICATION
SSH_DISCONNECT_TOO_MANY_CONNECTIONS
SSH_DISCONNECT_AUTH_CANCELLED_BY_USER
SSH_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE
SSH_DISCONNECT_ILLEGAL_USER_NAME
SSH_DISCONNECT_PRIVATE

enum assh_ssh_msg_e [link] 

This enum is declared in assh/assh_packet.h source file, line 139.

This enum specifies the standard values for ssh2 message ids.

IdentifierValueDescription
SSH_MSG_INVALID0
SSH_MSG_DISCONNECT1 Transport layer related message
SSH_MSG_IGNORE2 Transport layer related message
SSH_MSG_UNIMPLEMENTED3 Transport layer related message
SSH_MSG_DEBUG4 Transport layer related message
SSH_MSG_SERVICE_REQUEST5 Transport layer related message
SSH_MSG_SERVICE_ACCEPT6 Transport layer related message
SSH_MSG_KEXINIT20 Generic key-exchange message
SSH_MSG_NEWKEYS21 Generic key-exchange message
SSH_MSG_KEX_DH_REQUEST30 Method specific key-exchange message
SSH_MSG_KEX_DH_REPLY31 Method specific key-exchange message
SSH_MSG_KEX_ECDH_INIT30 Method specific key-exchange message
SSH_MSG_KEX_ECDH_REPLY31 Method specific key-exchange message
SSH_MSG_KEX_DH_GEX_REQUEST_OLD30 Method specific key-exchange message
SSH_MSG_KEX_DH_GEX_GROUP31 Method specific key-exchange message
SSH_MSG_KEX_DH_GEX_INIT32 Method specific key-exchange message
SSH_MSG_KEX_DH_GEX_REPLY33 Method specific key-exchange message
SSH_MSG_KEX_DH_GEX_REQUEST34 Method specific key-exchange message
SSH_MSG_KEXRSA_PUBKEY30 Method specific key-exchange message
SSH_MSG_KEXRSA_SECRET31 Method specific key-exchange message
SSH_MSG_KEXRSA_DONE32 Method specific key-exchange message
SSH_MSG_USERAUTH_REQUEST50 User authentication related message
SSH_MSG_USERAUTH_FAILURE51 User authentication related message
SSH_MSG_USERAUTH_SUCCESS52 User authentication related message
SSH_MSG_USERAUTH_BANNER53 User authentication related message
SSH_MSG_USERAUTH_PK_OK60 User authentication related message
SSH_MSG_USERAUTH_PASSWD_CHANGEREQ60 User authentication related message
SSH_MSG_USERAUTH_INFO_REQUEST60 User authentication related message
SSH_MSG_USERAUTH_INFO_RESPONSE61 User authentication related message
SSH_MSG_GLOBAL_REQUEST80 Connection protocol related message
SSH_MSG_REQUEST_SUCCESS81 Connection protocol related message
SSH_MSG_REQUEST_FAILURE82 Connection protocol related message
SSH_MSG_CHANNEL_OPEN90 Connection protocol related message
SSH_MSG_CHANNEL_OPEN_CONFIRMATION91 Connection protocol related message
SSH_MSG_CHANNEL_OPEN_FAILURE92 Connection protocol related message
SSH_MSG_CHANNEL_WINDOW_ADJUST93 Connection protocol related message
SSH_MSG_CHANNEL_DATA94 Connection protocol related message
SSH_MSG_CHANNEL_EXTENDED_DATA95 Connection protocol related message
SSH_MSG_CHANNEL_EOF96 Connection protocol related message
SSH_MSG_CHANNEL_CLOSE97 Connection protocol related message
SSH_MSG_CHANNEL_REQUEST98 Connection protocol related message
SSH_MSG_CHANNEL_SUCCESS99 Connection protocol related message
SSH_MSG_CHANNEL_FAILURE100 Connection protocol related message
Valid XHTML 1.0 StrictGenerated by diaxen on Sun Oct 25 23:30:45 2020 using MkDoc