Searched refs:remote_ipaddr (Results 1 – 3 of 3) sorted by relevance
60 char *remote_ipaddr; member
529 if (ssh->remote_ipaddr == NULL) { in ssh_remote_ipaddr()532 ssh->remote_ipaddr = get_peer_ipaddr(sock); in ssh_remote_ipaddr()537 ssh->remote_ipaddr = xstrdup("UNKNOWN"); in ssh_remote_ipaddr()543 return ssh->remote_ipaddr; in ssh_remote_ipaddr()650 free(ssh->remote_ipaddr); in ssh_packet_close_internal()651 ssh->remote_ipaddr = NULL; in ssh_packet_close_internal()
1657 char buf[16384], *remote_ipaddr; in channel_post_x11_listener() local1681 remote_ipaddr = get_peer_ipaddr(newsock); in channel_post_x11_listener()1684 remote_ipaddr, remote_port); in channel_post_x11_listener()1690 if ((r = sshpkt_put_cstring(ssh, remote_ipaddr)) != 0 || in channel_post_x11_listener()1697 free(remote_ipaddr); in channel_post_x11_listener()1705 char *remote_ipaddr = get_peer_ipaddr(c->sock); in port_open_helper() local1711 free(remote_ipaddr); in port_open_helper()1712 remote_ipaddr = xstrdup("127.0.0.1"); in port_open_helper()1721 remote_ipaddr, remote_port, local_ipaddr, local_port); in port_open_helper()1759 if ((r = sshpkt_put_cstring(ssh, remote_ipaddr)) != 0 || in port_open_helper()[all …]