/titanic_41/usr/src/cmd/ssh/libssh/common/ |
H A D | canohost.c | 44 char name[NI_MAXHOST], ntop[NI_MAXHOST], ntop2[NI_MAXHOST]; in get_remote_hostname() local 54 if ((res = getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop), in get_remote_hostname() 64 ntop, sizeof(ntop)); in get_remote_hostname() 69 return xstrdup(ntop); in get_remote_hostname() 71 debug3("Trying to reverse map address %.100s.", ntop); in get_remote_hostname() 77 log("Could not reverse map address %.100s.", ntop); in get_remote_hostname() 79 return xstrdup(ntop); in get_remote_hostname() 107 return xstrdup(ntop); in get_remote_hostname() 113 (strcmp(ntop, ntop2) == 0)) in get_remote_hostname() 122 ntop, name); in get_remote_hostname() [all …]
|
H A D | channels.c | 2165 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in channel_setup_fwd_listener() local 2237 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop, sizeof(ntop), in channel_setup_fwd_listener() 2257 debug("Local forwarding listening on %s port %s.", ntop, strport); in channel_setup_fwd_listener() 2521 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in connect_to() local 2537 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop, sizeof(ntop), in connect_to() 2551 error("connect_to %.100s port %s: %.100s", ntop, strport, in connect_to()
|
/titanic_41/usr/src/lib/libtnf/ |
H A D | util.c | 34 static struct ntop { struct 37 } ntop[] = { argument 75 struct ntop *p; in _tnf_get_props() 79 p = ntop; in _tnf_get_props()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 369 char ntop[NI_MAXHOST + NI_MAXSERV]; in main() local 372 print_addr(ntop, sizeof (ntop), in main() 461 print_addr(char *ntop, size_t ntlen, struct sockaddr *addr, int len, int flags) in print_addr() argument 467 if ((e = getnameinfo(addr, len, ntop, ntlen, in print_addr() 472 (void) snprintf(ntop, ntlen, "%s port %s", ntop, port); in print_addr() 474 return (ntop); in print_addr() 597 char ntop[NI_MAXHOST + NI_MAXSERV]; in remote_connect() local 599 print_addr(ntop, sizeof (ntop), in remote_connect()
|
/titanic_41/usr/src/cmd/ssh/ssh/ |
H A D | sshconnect.c | 328 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in ssh_connect() local 377 ntop, sizeof(ntop), strport, sizeof(strport), in ssh_connect() 383 host, ntop, strport); in ssh_connect() 400 ntop, strport, strerror(errno)); in ssh_connect() 614 char ntop[NI_MAXHOST]; in check_host_key() local 658 if (getnameinfo(hostaddr, salen, ntop, sizeof(ntop), in check_host_key() 661 ip = xstrdup(ntop); in check_host_key()
|
/titanic_41/usr/src/cmd/krb5/slave/ |
H A D | kpropd.c | 534 char ntop[NI_MAXHOST] = ""; local 575 if (getnameinfo((struct sockaddr *)&from, fromlen, ntop, sizeof(ntop), 583 ntop, sizeof(ntop)); 591 (const void *)&ss2sin6(&from)->sin6_addr, ntop, 592 sizeof(ntop)); 609 ntop, sizeof(ntop)); 612 syslog(LOG_INFO, gettext("Connection from %s"), ntop); 615 printf("Connection from %s\n", ntop);
|
/titanic_41/usr/src/cmd/ssh/sshd/ |
H A D | sshd.c | 832 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in main() local 1218 ntop, sizeof(ntop), strport, sizeof(strport), in main() 1243 debug("Bind to port %s on %s.", strport, ntop); in main() 1249 strport, ntop, strerror(errno)); in main() 1257 log("Server listening on %s port %s.", ntop, strport); in main()
|
/titanic_41/usr/src/lib/libbsm/common/ |
H A D | adt.c | 763 char ntop[INET6_ADDRSTRLEN]; in adt_get_hostIP() local 797 hostname, inet_ntop(family, &(al.addr), ntop, in adt_get_hostIP() 798 sizeof (ntop))); in adt_get_hostIP()
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_io.c | 2112 mdb_iob_t *top, *ntop; in mdb_iob_stack_destroy() local 2114 for (top = stk->stk_top; top != NULL; top = ntop) { in mdb_iob_stack_destroy() 2115 ntop = top->iob_next; in mdb_iob_stack_destroy()
|