1323124Sdes/* $OpenBSD: canohost.h,v 1.12 2016/03/07 19:02:43 djm Exp $ */
276259Sgreen
376259Sgreen/*
476259Sgreen * Author: Tatu Ylonen <ylo@cs.hut.fi>
576259Sgreen * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
676259Sgreen *                    All rights reserved
776259Sgreen *
876259Sgreen * As far as I am concerned, the code I have written for this software
976259Sgreen * can be used freely for any purpose.  Any derived versions of this
1076259Sgreen * software must be clearly marked as such, and if the derived work is
1176259Sgreen * incompatible with the protocol description in the RFC file, it must be
1276259Sgreen * called by a name other than "ssh" or "Secure Shell".
1376259Sgreen */
1476259Sgreen
15323124Sdes#ifndef _CANOHOST_H
16323124Sdes#define _CANOHOST_H
1776259Sgreen
1892555Sdeschar		*get_peer_ipaddr(int);
1992555Sdesint		 get_peer_port(int);
2092555Sdeschar		*get_local_ipaddr(int);
2192555Sdeschar		*get_local_name(int);
22323124Sdesint		get_local_port(int);
2376259Sgreen
24323124Sdes#endif /* _CANOHOST_H */
25146998Sdes
26146998Sdesvoid		 ipv64_normalise_mapped(struct sockaddr_storage *, socklen_t *);
27