Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dcanohost.c71 char ntop[NI_MAXHOST]; in get_socket_address() local
99 if ((r = getnameinfo((struct sockaddr *)&addr, addrlen, ntop, in get_socket_address()
100 sizeof(ntop), NULL, 0, flags)) != 0) { in get_socket_address()
105 return xstrdup(ntop); in get_socket_address()
H A Dsshconnect.c389 char ntop[NI_MAXHOST]; in ssh_create_socket() local
443 ntop, sizeof(ntop), NULL, 0, NI_NUMERICHOST)) != 0) { in ssh_create_socket()
448 error("bind %s: %s", ntop, strerror(errno)); in ssh_create_socket()
451 debug_f("bound to %s", ntop); in ssh_create_socket()
483 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in ssh_connect_direct() local
487 memset(ntop, 0, sizeof(ntop)); in ssh_connect_direct()
509 ntop, sizeof(ntop), strport, sizeof(strport), in ssh_connect_direct()
519 "unsupported address family", ntop, strport); in ssh_connect_direct()
526 "wrong address family", ntop, strport); in ssh_connect_direct()
532 host, ntop, strport); in ssh_connect_direct()
[all …]
H A Dsshd.c833 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in listen_on_addrs() local
842 ntop, sizeof(ntop), strport, sizeof(strport), in listen_on_addrs()
877 debug("Bind to port %s on %s.", strport, ntop); in listen_on_addrs()
882 strport, ntop, strerror(errno)); in listen_on_addrs()
892 ntop, strport, strerror(errno)); in listen_on_addrs()
894 ntop, strport, in listen_on_addrs()
H A Dpacket.c563 const char *ntop = ssh_remote_ipaddr(ssh); in ssh_remote_hostname() local
571 return xstrdup(ntop); in ssh_remote_hostname()
578 debug3("trying to reverse map address %.100s.", ntop); in ssh_remote_hostname()
583 return xstrdup(ntop); in ssh_remote_hostname()
596 name, ntop); in ssh_remote_hostname()
598 return xstrdup(ntop); in ssh_remote_hostname()
618 "[%s] failed.", name, ntop); in ssh_remote_hostname()
619 return xstrdup(ntop); in ssh_remote_hostname()
625 (strcmp(ntop, ntop2) == 0)) in ssh_remote_hostname()
633 "map back to the address.", ntop, name); in ssh_remote_hostname()
[all …]
H A Dchannels.c1664 char dest_addr[255+1], ntop[INET6_ADDRSTRLEN]; in channel_decode_socks5() local
1745 if (inet_ntop(af, dest_addr, ntop, sizeof(ntop)) == NULL) in channel_decode_socks5()
1747 c->path = xstrdup(ntop); in channel_decode_socks5()
3888 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in channel_setup_fwd_listener_tcpip() local
3958 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop, sizeof(ntop), in channel_setup_fwd_listener_tcpip()
3968 verbose("socket [%s]:%s: %.100s", ntop, strport, in channel_setup_fwd_listener_tcpip()
3978 ntop, strport); in channel_setup_fwd_listener_tcpip()
3988 ntop, strport, strerror(errno)); in channel_setup_fwd_listener_tcpip()
3991 ntop, strport, strerror(errno)); in channel_setup_fwd_listener_tcpip()
3998 error("listen [%s]:%s: %.100s", ntop, strport, in channel_setup_fwd_listener_tcpip()
[all …]
H A Dconfigure.ac2777 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2794 err = getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop,
2795 sizeof(ntop), strport, sizeof(strport),
2846 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2863 err = getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop,
2864 sizeof(ntop), strport, sizeof(strport),
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_blind.c179 size_t i, rtop = r->top, ntop = n->top; in BN_BLINDING_invert_ex() local
183 mask = (BN_ULONG)0 - ((i - ntop) >> (8 * sizeof(i) - 1)); in BN_BLINDING_invert_ex()
186 mask = (BN_ULONG)0 - ((rtop - ntop) >> (8 * sizeof(ntop) - 1)); in BN_BLINDING_invert_ex()
188 n->top = (int)(rtop & ~mask) | (ntop & mask); in BN_BLINDING_invert_ex()
/freebsd/bin/sh/
H A Dparser.c270 union node *ntop, *n1, *n2, *n3; in list() local
276 ntop = n1 = NULL; in list()
293 if (ntop == NULL) in list()
294 ntop = n2; in list()
296 n1 = makebinary(NSEMI, ntop, n2); in list()
297 ntop = n1; in list()
313 return ntop; in list()
316 return ntop; in list()
322 return ntop; in list()
329 return ntop; in list()
[all …]
/freebsd/sbin/ipf/ippool/
H A Dippool_y.y775 ip_pool_node_t *ntop, *ipn, node, *last; in read_whoisfile() local
784 ntop = NULL; in read_whoisfile()
796 ntop = ipn; in read_whoisfile()
802 return(ntop); in read_whoisfile()
/freebsd/contrib/ntp/sntp/libevent/
H A Dhttp.c4359 char ntop[NI_MAXHOST]; in name_from_addr() local
4365 ntop, sizeof(ntop), strport, sizeof(strport), in name_from_addr()
4380 ntop, sizeof(ntop), strport, sizeof(strport), in name_from_addr()
4386 *phost = mm_strdup(ntop); in name_from_addr()
/freebsd/contrib/libevent/
H A Dhttp.c4359 char ntop[NI_MAXHOST]; in name_from_addr() local
4365 ntop, sizeof(ntop), strport, sizeof(strport), in name_from_addr()
4380 ntop, sizeof(ntop), strport, sizeof(strport), in name_from_addr()
4386 *phost = mm_strdup(ntop); in name_from_addr()
/freebsd/contrib/ldns/
H A DChangelog389 * Fix b{32,64}_{ntop,pton} detection and handling.
/freebsd/contrib/unbound/doc/
H A DChangelog12825 - ntop output is null terminated by unbound.