Home
last modified time | relevance | path

Searched refs:ntop (Results 1 – 8 of 8) sorted by relevance

/external/openssh/
Dcanohost.c53 char name[NI_MAXHOST], ntop[NI_MAXHOST], ntop2[NI_MAXHOST]; in get_remote_hostname() local
64 check_ip_options(sock, ntop); in get_remote_hostname()
71 if (getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop), in get_remote_hostname()
76 return xstrdup(ntop); in get_remote_hostname()
78 debug3("Trying to reverse map address %.100s.", ntop); in get_remote_hostname()
83 return xstrdup(ntop); in get_remote_hostname()
96 name, ntop); in get_remote_hostname()
98 return xstrdup(ntop); in get_remote_hostname()
118 "[%s] failed - POSSIBLE BREAK-IN ATTEMPT!", name, ntop); in get_remote_hostname()
119 return xstrdup(ntop); in get_remote_hostname()
[all …]
Dsshconnect.c432 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in ssh_connect_direct() local
452 ntop, sizeof(ntop), strport, sizeof(strport), in ssh_connect_direct()
458 host, ntop, strport); in ssh_connect_direct()
473 ntop, strport, strerror(errno)); in ssh_connect_direct()
747 char ntop[NI_MAXHOST]; in get_hostfile_hostname_ipaddr() local
772 ntop, sizeof(ntop), NULL, 0, NI_NUMERICHOST) != 0) in get_hostfile_hostname_ipaddr()
774 *hostfile_ipaddr = put_host_port(ntop, port); in get_hostfile_hostname_ipaddr()
Dchannels.c1176 char dest_addr[255+1], ntop[INET6_ADDRSTRLEN]; in channel_decode_socks5() local
1260 if (inet_ntop(af, dest_addr, ntop, sizeof(ntop)) == NULL) in channel_decode_socks5()
1262 c->path = xstrdup(ntop); in channel_decode_socks5()
2824 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; local
2893 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop, sizeof(ntop),
2911 ntop, strport);
3632 char ntop[NI_MAXHOST], strport[MAX(NI_MAXSERV,sizeof(sunaddr->sun_path))]; local
3639 strlcpy(ntop, "unix", sizeof(ntop));
3645 ntop, sizeof(ntop), strport, sizeof(strport),
3667 "%.100s", cctx->host, ntop, strport,
[all …]
Dsshd.c1161 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; local
1170 ntop, sizeof(ntop), strport, sizeof(strport),
1200 debug("Bind to port %s on %s.", strport, ntop);
1205 strport, ntop, strerror(errno));
1215 ntop, strport, strerror(errno));
1216 logit("Server listening on %s port %s.", ntop, strport);
Dconfigure.ac2121 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2138 err = getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop,
2139 sizeof(ntop), strport, sizeof(strport),
2189 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2206 err = getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop,
2207 sizeof(ntop), strport, sizeof(strport),
Dconfigure20251 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
20268 err = getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop,
20269 sizeof(ntop), strport, sizeof(strport),
20372 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
20389 err = getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop,
20390 sizeof(ntop), strport, sizeof(strport),
/external/libevent/
Dhttp.c3787 char ntop[NI_MAXHOST]; in name_from_addr() local
3793 ntop, sizeof(ntop), strport, sizeof(strport), in name_from_addr()
3808 ntop, sizeof(ntop), strport, sizeof(strport), in name_from_addr()
3814 *phost = mm_strdup(ntop); in name_from_addr()
/external/tcpdump/
Dconfigure.in604 # resolver, and the way it defines inet_{ntop,pton} is rather strange;