Home
last modified time | relevance | path

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

/freebsd-src/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 Dauth.c678 const char *ntop = ssh_remote_ipaddr(ssh); in remote_hostname() local
686 return xstrdup(ntop); in remote_hostname()
693 debug3("Trying to reverse map address %.100s.", ntop); in remote_hostname()
698 return xstrdup(ntop); in remote_hostname()
711 name, ntop); in remote_hostname()
713 return xstrdup(ntop); in remote_hostname()
733 "[%s] failed.", name, ntop); in remote_hostname()
734 return xstrdup(ntop); in remote_hostname()
740 (strcmp(ntop, ntop2) == 0)) in remote_hostname()
748 "map back to the address.", ntop, name); in remote_hostname()
[all …]
H A Dsshconnect.c359 char ntop[NI_MAXHOST]; in ssh_create_socket() local
413 ntop, sizeof(ntop), NULL, 0, NI_NUMERICHOST)) != 0) { in ssh_create_socket()
418 error("bind %s: %s", ntop, strerror(errno)); in ssh_create_socket()
421 debug_f("bound to %s", ntop); in ssh_create_socket()
453 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in ssh_connect_direct() local
457 memset(ntop, 0, sizeof(ntop)); in ssh_connect_direct()
477 ntop, sizeof(ntop), strport, sizeof(strport), in ssh_connect_direct()
487 "wrong address family", ntop, strport); in ssh_connect_direct()
493 host, ntop, strport); in ssh_connect_direct()
512 ntop, strport, strerror(errno)); in ssh_connect_direct()
[all …]
H A Dchannels.c1578 char dest_addr[255+1], ntop[INET6_ADDRSTRLEN]; in channel_decode_socks5() local
1672 if (inet_ntop(af, dest_addr, ntop, sizeof(ntop)) == NULL) in channel_decode_socks5()
1674 c->path = xstrdup(ntop); in channel_decode_socks5()
3804 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in channel_setup_fwd_listener_tcpip() local
3874 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop, sizeof(ntop), in channel_setup_fwd_listener_tcpip()
3884 verbose("socket [%s]:%s: %.100s", ntop, strport, in channel_setup_fwd_listener_tcpip()
3894 ntop, strport); in channel_setup_fwd_listener_tcpip()
3904 ntop, strport, strerror(errno)); in channel_setup_fwd_listener_tcpip()
3907 ntop, strport, strerror(errno)); in channel_setup_fwd_listener_tcpip()
3914 error("listen [%s]:%s: %.100s", ntop, strport, in channel_setup_fwd_listener_tcpip()
[all …]
H A Dsshd.c1043 char ntop[NI_MAXHOST], strport[NI_MAXSERV];
1052 ntop, sizeof(ntop), strport, sizeof(strport),
1087 debug("Bind to port %s on %s.", strport, ntop);
1092 strport, ntop, strerror(errno));
1102 ntop, strport, strerror(errno));
1104 ntop, strport,
1045 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; global() local
H A Dconfigure.ac2546 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2563 err = getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop,
2564 sizeof(ntop), strport, sizeof(strport),
2615 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2632 err = getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop,
2633 sizeof(ntop), strport, sizeof(strport),
/freebsd-src/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-src/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-src/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-src/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-src/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-src/contrib/ldns/
H A DChangelog294 * Fix b{32,64}_{ntop,pton} detection and handling.
/freebsd-src/contrib/unbound/doc/
H A DChangelog11202 - ntop output is null terminated by unbound.