Home
last modified time | relevance | path

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

/openbsd/usr.bin/ssh/
H A Dcanohost.c44 char ntop[NI_MAXHOST]; in get_socket_address() local
66 if ((r = getnameinfo((struct sockaddr *)&addr, addrlen, ntop, in get_socket_address()
67 sizeof(ntop), NULL, 0, flags)) != 0) { in get_socket_address()
72 return xstrdup(ntop); in get_socket_address()
H A Dsshconnect.c344 char ntop[NI_MAXHOST]; in ssh_create_socket() local
394 ntop, sizeof(ntop), NULL, 0, NI_NUMERICHOST)) != 0) { in ssh_create_socket()
399 error("bind %s: %s", ntop, strerror(errno)); in ssh_create_socket()
402 debug_f("bound to %s", ntop); in ssh_create_socket()
432 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in ssh_connect_direct() local
436 memset(ntop, 0, sizeof(ntop)); in ssh_connect_direct()
456 ntop, sizeof(ntop), strport, sizeof(strport), in ssh_connect_direct()
472 host, ntop, strport); in ssh_connect_direct()
491 ntop, strport, strerror(errno)); in ssh_connect_direct()
603 char ntop[NI_MAXHOST]; in get_hostfile_hostname_ipaddr() local
[all …]
H A Dsshd.c719 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in listen_on_addrs() local
728 ntop, sizeof(ntop), strport, sizeof(strport), in listen_on_addrs()
759 debug("Bind to port %s on %s.", strport, ntop); in listen_on_addrs()
764 strport, ntop, strerror(errno)); in listen_on_addrs()
774 ntop, strport, strerror(errno)); in listen_on_addrs()
776 ntop, strport, in listen_on_addrs()
H A Dpacket.c533 const char *ntop = ssh_remote_ipaddr(ssh); in ssh_remote_hostname() local
541 return xstrdup(ntop); in ssh_remote_hostname()
544 debug3_f("trying to reverse map address %.100s.", ntop); in ssh_remote_hostname()
549 return xstrdup(ntop); in ssh_remote_hostname()
562 name, ntop); in ssh_remote_hostname()
564 return xstrdup(ntop); in ssh_remote_hostname()
584 "[%s] failed.", name, ntop); in ssh_remote_hostname()
585 return xstrdup(ntop); in ssh_remote_hostname()
591 (strcmp(ntop, ntop2) == 0)) in ssh_remote_hostname()
599 "map back to the address.", ntop, name); in ssh_remote_hostname()
[all …]
H A Dchannels.c1657 if (inet_ntop(af, dest_addr, ntop, sizeof(ntop)) == NULL) in channel_decode_socks5()
1659 c->path = xstrdup(ntop); in channel_decode_socks5()
3759 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in channel_setup_fwd_listener_tcpip() local
3829 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop, sizeof(ntop), in channel_setup_fwd_listener_tcpip()
3847 ntop, strport); in channel_setup_fwd_listener_tcpip()
3856 ntop, strport, strerror(errno)); in channel_setup_fwd_listener_tcpip()
4536 char ntop[NI_MAXHOST]; in connect_next() local
4544 strlcpy(ntop, "unix", sizeof(ntop)); in connect_next()
4550 ntop, sizeof(ntop), strport, sizeof(strport), in connect_next()
4560 cctx->host, ntop, strport); in connect_next()
[all …]
/openbsd/gnu/usr.bin/perl/dist/Net-Ping/lib/Net/
H A DPing.pm619 return wantarray ? ($ret, &time() - $ping_time, $self->ntop($ip)) : $ret;
811 …if (! $source_verify || ($self->ntop($from_ip) eq $self->ntop($ip))) { # Does the packet check out?
841 return ($self->ntop($addr),($self->{from_type} || 0), ($self->{from_subcode} || 0));
1628 ($entry->[0], &time() - $entry->[3], $self->ntop($entry->[1]), $entry->[5])
1664 return ($entry->[0], &time() - $entry->[3], $self->ntop($entry->[1]));
1708 return ($entry->[0], &time() - $entry->[3], $self->ntop($entry->[1]));
1771 sub ntop { subroutine
/openbsd/usr.sbin/unbound/doc/
H A DChangelog11053 - ntop output is null terminated by unbound.