| /freebsd-src/crypto/openssh/ |
| H A D | canohost.c | 72 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 D | auth.c | 678 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 D | sshconnect.c | 359 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 D | channels.c | 1578 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 D | sshd.c | 1043 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 D | configure.ac | 2546 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 D | bn_blind.c | 182 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 D | parser.c | 268 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 D | ippool_y.y | 775 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 D | http.c | 4359 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 D | http.c | 4359 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 D | Changelog | 294 * Fix b{32,64}_{ntop,pton} detection and handling.
|
| /freebsd-src/contrib/unbound/doc/ |
| H A D | Changelog | 11202 - ntop output is null terminated by unbound.
|