diff options
author | Ryo Nakamura <upa@haeena.net> | 2023-09-09 14:32:15 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2023-11-01 19:54:18 +0900 |
commit | bf74aa095adf8d0a3b4144b29b2d7a48fe4e02b2 (patch) | |
tree | d3d58b31457af827cecf439b902e14b62d41c129 /include | |
parent | a88471fc43a8500f73cd55eeb87b3a990cb0b4f9 (diff) |
add -g option to specify TCP cc algorithm
This commit introduce SSH_OPTIONS_CCALGO option to the libssh patch
and add -g CONGESTION option to mscp.
Diffstat (limited to 'include')
-rw-r--r-- | include/mscp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mscp.h b/include/mscp.h index 7062c48..35af518 100644 --- a/include/mscp.h +++ b/include/mscp.h @@ -56,6 +56,7 @@ struct mscp_opts { #define MSCP_SSH_MAX_CIPHER_STR 32 #define MSCP_SSH_MAX_HMAC_STR 32 #define MSCP_SSH_MAX_COMP_STR 32 /* yes, no, zlib, zlib@openssh.com, none */ +#define MSCP_SSH_MAX_CCALGO_STR 16 #define MSCP_SSH_MAX_PASSWORD 128 #define MSCP_SSH_MAX_PASSPHRASE 128 @@ -72,6 +73,7 @@ struct mscp_ssh_opts { char cipher[MSCP_SSH_MAX_CIPHER_STR]; /** cipher spec */ char hmac[MSCP_SSH_MAX_HMAC_STR]; /** hmacp spec */ char compress[MSCP_SSH_MAX_COMP_STR]; /** yes, no, zlib@openssh.com */ + char ccalgo[MSCP_SSH_MAX_CCALGO_STR]; /** TCP cc algorithm */ char password[MSCP_SSH_MAX_PASSWORD]; /** password auth passowrd */ char passphrase[MSCP_SSH_MAX_PASSPHRASE]; /** passphrase for private key */ |