summaryrefslogtreecommitdiffhomepage
path: root/runopts.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-09-14 06:47:51 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-09-14 06:47:51 +0000
commit1c72a35ddb79eede31657a450b8ba35aed24c79e (patch)
treee6f6ae8bac919e2696678d7a680dce410a1ea91a /runopts.h
parentcdbe853595d1ba06be4127d86c60a9bc2e9e3545 (diff)
parent460bf4382257a262fda862f66d6fe97c749f5bb7 (diff)
propagate from branch 'au.asn.ucc.matt.dropbear' (head f21045c791002d81fc6b8dde6537ea481e513eb2)
to branch 'au.asn.ucc.matt.dropbear.dbclient-netcat-alike' (head d1f69334581dc4c35f9ca16aa5355074c9dd315d) --HG-- branch : dbclient-netcat-alike extra : convert_revision : 22bbe895accc3995b48f07b556e45d546ff1ce5d
Diffstat (limited to 'runopts.h')
-rw-r--r--runopts.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/runopts.h b/runopts.h
index 5107a9d..d6e8917 100644
--- a/runopts.h
+++ b/runopts.h
@@ -36,6 +36,8 @@ typedef struct runopts {
#if defined(ENABLE_SVR_REMOTETCPFWD) || defined(ENABLE_CLI_LOCALTCPFWD)
int listen_fwd_all;
#endif
+ unsigned int recv_window;
+ time_t keepalive_secs;
} runopts;
@@ -55,6 +57,7 @@ typedef struct svr_runopts {
/* ports is an array of the portcount listening ports */
char *ports[DROPBEAR_MAX_PORTS];
unsigned int portcount;
+ char *addresses[DROPBEAR_MAX_PORTS];
int inetdmode;
@@ -83,6 +86,7 @@ typedef struct svr_runopts {
sign_key *hostkey;
buffer * banner;
+ char * pidfile;
} svr_runopts;
@@ -101,6 +105,9 @@ typedef struct cli_runopts {
char *cmd;
int wantpty;
+ int always_accept_key;
+ int no_cmd;
+ int backgrounded;
#ifdef ENABLE_CLI_PUBKEY_AUTH
struct SignKeyList *privkeys; /* Keys to use for public-key auth */
#endif