Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dcanohost.c72 char ntop[NI_MAXHOST]; in get_socket_address() local
100 if ((r = getnameinfo((struct sockaddr *)&addr, addrlen, ntop, in get_socket_address()
101 sizeof(ntop), NULL, 0, flags)) != 0) { in get_socket_address()
106 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()
488 "wrong address family", ntop, strport); in ssh_connect_direct()
494 host, ntop, strport); in ssh_connect_direct()
513 ntop, strport, strerror(errno)); in ssh_connect_direct()
[all …]
H A Dsshd.c773 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in listen_on_addrs() local
782 ntop, sizeof(ntop), strport, sizeof(strport), in listen_on_addrs()
817 debug("Bind to port %s on %s.", strport, ntop); in listen_on_addrs()
822 strport, ntop, strerror(errno)); in listen_on_addrs()
832 ntop, strport, strerror(errno)); in listen_on_addrs()
834 ntop, strport, in listen_on_addrs()
H A Dpacket.c554 const char *ntop = ssh_remote_ipaddr(ssh); in ssh_remote_hostname() local
562 return xstrdup(ntop); in ssh_remote_hostname()
569 debug3("trying to reverse map address %.100s.", ntop); in ssh_remote_hostname()
574 return xstrdup(ntop); in ssh_remote_hostname()
587 name, ntop); in ssh_remote_hostname()
589 return xstrdup(ntop); in ssh_remote_hostname()
609 "[%s] failed.", name, ntop); in ssh_remote_hostname()
610 return xstrdup(ntop); in ssh_remote_hostname()
616 (strcmp(ntop, ntop2) == 0)) in ssh_remote_hostname()
624 "map back to the address.", ntop, name); in ssh_remote_hostname()
[all …]
H A Dchannels.c1573 char dest_addr[255+1], ntop[INET6_ADDRSTRLEN]; in channel_decode_socks5() local
1667 if (inet_ntop(af, dest_addr, ntop, sizeof(ntop)) == NULL) in channel_decode_socks5()
1669 c->path = xstrdup(ntop); in channel_decode_socks5()
3799 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in channel_setup_fwd_listener_tcpip() local
3869 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop, sizeof(ntop), in channel_setup_fwd_listener_tcpip()
3879 verbose("socket [%s]:%s: %.100s", ntop, strport, in channel_setup_fwd_listener_tcpip()
3889 ntop, strport); in channel_setup_fwd_listener_tcpip()
3899 ntop, strport, strerror(errno)); in channel_setup_fwd_listener_tcpip()
3902 ntop, strport, strerror(errno)); in channel_setup_fwd_listener_tcpip()
3909 error("listen [%s]:%s: %.100s", ntop, strport, in channel_setup_fwd_listener_tcpip()
[all …]
H A Dconfigure.ac2551 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2568 err = getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop,
2569 sizeof(ntop), strport, sizeof(strport),
2620 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2637 err = getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop,
2638 sizeof(ntop), strport, sizeof(strport),
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_blind.c182 size_t i, rtop = r->top, ntop = n->top; in BN_BLINDING_invert_ex() local
186 mask = (BN_ULONG)0 - ((i - ntop) >> (8 * sizeof(i) - 1)); in BN_BLINDING_invert_ex()
189 mask = (BN_ULONG)0 - ((rtop - ntop) >> (8 * sizeof(ntop) - 1)); in BN_BLINDING_invert_ex()
191 n->top = (int)(rtop & ~mask) | (ntop & mask); in BN_BLINDING_invert_ex()
/freebsd/bin/sh/
H A Dparser.c268 union node *ntop, *n1, *n2, *n3; in list() local
274 ntop = n1 = NULL; in list()
291 if (ntop == NULL) in list()
292 ntop = n2; in list()
294 n1 = makebinary(NSEMI, ntop, n2); in list()
295 ntop = n1; in list()
311 return ntop; in list()
314 return ntop; in list()
320 return ntop; in list()
327 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 DChangelog294 * Fix b{32,64}_{ntop,pton} detection and handling.
/freebsd/contrib/unbound/doc/
H A DChangelog11202 - ntop output is null terminated by unbound.