diff options
author | Colin Watson <cjwatson@debian.org> | 2016-08-06 10:49:58 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2016-08-06 10:49:58 +0100 |
commit | a8ed8d256b2e2c05b0c15565a7938028c5192277 (patch) | |
tree | 87abbdc914a38b43e4e5bb9581ad1f46eabbf88e /canohost.h | |
parent | f0329aac23c61e1a5197d6d57349a63f459bccb0 (diff) | |
parent | 99522ba7ec6963a05c04a156bf20e3ba3605987c (diff) |
Import openssh_7.3p1.orig.tar.gz
Diffstat (limited to 'canohost.h')
-rw-r--r-- | canohost.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/canohost.h b/canohost.h index 4c8636f42..26d62855a 100644 --- a/canohost.h +++ b/canohost.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: canohost.h,v 1.11 2009/05/27 06:31:25 andreas Exp $ */ | 1 | /* $OpenBSD: canohost.h,v 1.12 2016/03/07 19:02:43 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -12,18 +12,15 @@ | |||
12 | * called by a name other than "ssh" or "Secure Shell". | 12 | * called by a name other than "ssh" or "Secure Shell". |
13 | */ | 13 | */ |
14 | 14 | ||
15 | const char *get_canonical_hostname(int); | 15 | #ifndef _CANOHOST_H |
16 | const char *get_remote_ipaddr(void); | 16 | #define _CANOHOST_H |
17 | const char *get_remote_name_or_ip(u_int, int); | ||
18 | 17 | ||
19 | char *get_peer_ipaddr(int); | 18 | char *get_peer_ipaddr(int); |
20 | int get_peer_port(int); | 19 | int get_peer_port(int); |
21 | char *get_local_ipaddr(int); | 20 | char *get_local_ipaddr(int); |
22 | char *get_local_name(int); | 21 | char *get_local_name(int); |
22 | int get_local_port(int); | ||
23 | 23 | ||
24 | int get_remote_port(void); | 24 | #endif /* _CANOHOST_H */ |
25 | int get_local_port(void); | ||
26 | int get_sock_port(int, int); | ||
27 | void clear_cached_addr(void); | ||
28 | 25 | ||
29 | void ipv64_normalise_mapped(struct sockaddr_storage *, socklen_t *); | 26 | void ipv64_normalise_mapped(struct sockaddr_storage *, socklen_t *); |