Home
last modified time | relevance | path

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

/dragonfly/crypto/openssh/
H A Dauth.c657 const char *ntop = ssh_remote_ipaddr(ssh); in remote_hostname() local
665 return xstrdup(ntop); in remote_hostname()
672 debug3("Trying to reverse map address %.100s.", ntop); in remote_hostname()
677 return xstrdup(ntop); in remote_hostname()
690 name, ntop); in remote_hostname()
692 return xstrdup(ntop); in remote_hostname()
712 "[%s] failed.", name, ntop); in remote_hostname()
713 return xstrdup(ntop); in remote_hostname()
719 (strcmp(ntop, ntop2) == 0)) in remote_hostname()
727 "map back to the address.", ntop, name); in remote_hostname()
[all …]
H A Dcanohost.c72 char ntop[NI_MAXHOST]; in get_socket_address() local
97 if ((r = getnameinfo((struct sockaddr *)&addr, addrlen, ntop, in get_socket_address()
98 sizeof(ntop), NULL, 0, flags)) != 0) { in get_socket_address()
103 return xstrdup(ntop); in get_socket_address()
H A Dsshconnect.c360 char ntop[NI_MAXHOST]; in ssh_create_socket() local
414 ntop, sizeof(ntop), NULL, 0, NI_NUMERICHOST)) != 0) { in ssh_create_socket()
419 error("bind %s: %s", ntop, strerror(errno)); in ssh_create_socket()
422 debug_f("bound to %s", ntop); in ssh_create_socket()
454 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in ssh_connect_direct() local
458 memset(ntop, 0, sizeof(ntop)); in ssh_connect_direct()
478 ntop, sizeof(ntop), strport, sizeof(strport), in ssh_connect_direct()
486 host, ntop, strport); in ssh_connect_direct()
505 ntop, strport, strerror(errno)); in ssh_connect_direct()
617 char ntop[NI_MAXHOST]; in get_hostfile_hostname_ipaddr() local
[all …]
H A Dchannels.c1496 if (inet_ntop(af, dest_addr, ntop, sizeof(ntop)) == NULL) in channel_decode_socks5()
1498 c->path = xstrdup(ntop); in channel_decode_socks5()
3662 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop, sizeof(ntop), in channel_setup_fwd_listener_tcpip()
3682 ntop, strport); in channel_setup_fwd_listener_tcpip()
3692 ntop, strport, strerror(errno)); in channel_setup_fwd_listener_tcpip()
3695 ntop, strport, strerror(errno)); in channel_setup_fwd_listener_tcpip()
4390 char ntop[NI_MAXHOST]; in connect_next() local
4398 strlcpy(ntop, "unix", sizeof(ntop)); in connect_next()
4404 ntop, sizeof(ntop), strport, sizeof(strport), in connect_next()
4414 cctx->host, ntop, strport); in connect_next()
[all …]
H A Dsshd.c1033 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; local
1042 ntop, sizeof(ntop), strport, sizeof(strport),
1077 debug("Bind to port %s on %s.", strport, ntop);
1082 strport, ntop, strerror(errno));
1092 ntop, strport, strerror(errno));
1094 ntop, strport,
/dragonfly/bin/sh/
H A Dparser.c275 union node *ntop, *n1, *n2, *n3; in list() local
281 ntop = n1 = NULL; in list()
298 if (ntop == NULL) in list()
299 ntop = n2; in list()
301 n1 = makebinary(NSEMI, ntop, n2); in list()
302 ntop = n1; in list()
318 return ntop; in list()
321 return ntop; in list()
327 return ntop; in list()
334 return ntop; in list()
[all …]