summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/packet.h b/packet.h
index 40837e9db..a2ece6786 100644
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.h,v 1.82 2017/09/12 06:32:07 djm Exp $ */ 1/* $OpenBSD: packet.h,v 1.84 2017/12/10 05:55:29 dtucker Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -61,6 +61,7 @@ struct ssh {
61 int remote_port; 61 int remote_port;
62 char *local_ipaddr; 62 char *local_ipaddr;
63 int local_port; 63 int local_port;
64 char *rdomain_in;
64 65
65 /* Optional preamble for log messages (e.g. username) */ 66 /* Optional preamble for log messages (e.g. username) */
66 char *log_preamble; 67 char *log_preamble;
@@ -162,6 +163,7 @@ const char *ssh_remote_ipaddr(struct ssh *);
162int ssh_remote_port(struct ssh *); 163int ssh_remote_port(struct ssh *);
163const char *ssh_local_ipaddr(struct ssh *); 164const char *ssh_local_ipaddr(struct ssh *);
164int ssh_local_port(struct ssh *); 165int ssh_local_port(struct ssh *);
166const char *ssh_packet_rdomain_in(struct ssh *);
165 167
166void ssh_packet_set_rekey_limits(struct ssh *, u_int64_t, u_int32_t); 168void ssh_packet_set_rekey_limits(struct ssh *, u_int64_t, u_int32_t);
167time_t ssh_packet_get_rekey_timeout(struct ssh *); 169time_t ssh_packet_get_rekey_timeout(struct ssh *);
@@ -200,6 +202,7 @@ int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp);
200int sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g); 202int sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g);
201int sshpkt_get_bignum2(struct ssh *ssh, BIGNUM *v); 203int sshpkt_get_bignum2(struct ssh *ssh, BIGNUM *v);
202int sshpkt_get_end(struct ssh *ssh); 204int sshpkt_get_end(struct ssh *ssh);
205void sshpkt_fmt_connection_id(struct ssh *ssh, char *s, size_t l);
203const u_char *sshpkt_ptr(struct ssh *, size_t *lenp); 206const u_char *sshpkt_ptr(struct ssh *, size_t *lenp);
204 207
205/* OLD API */ 208/* OLD API */