/macosx-10.10.1/postfix-255/postfix/auxiliary/name-addr-test/ |
H A D | getnameinfo.c | 28 char hostbuf[NI_MAXHOST]; /* XXX */ local 61 hostbuf, sizeof(hostbuf), 67 printf("Hostname:\t%s\n", hostbuf); 71 if (inet_ntop(res->ai_family, addr, hostbuf, sizeof(hostbuf)) == 0) { 75 printf("Address:\t%s\n", hostbuf);
|
H A D | getaddrinfo.c | 28 char hostbuf[NI_MAXHOST]; /* XXX */ local 55 if (inet_ntop(res->ai_family, addr, hostbuf, sizeof(hostbuf)) == 0) { 59 printf("%s ", hostbuf);
|
/macosx-10.10.1/NFS-82/nfsd/ |
H A D | nfsd.c | 116 char hostbuf[NI_MAXHOST]; local 153 hostbuf[0] = '\0'; 154 getnameinfo(sa, sa->sa_len, hostbuf, sizeof(hostbuf), NULL, 0, 0); 155 DEBUG(1, "NFS IPv4 socket accepted from %s", hostbuf); 174 hostbuf[0] = '\0'; 175 getnameinfo(sa, sa->sa_len, hostbuf, sizeof(hostbuf), NULL, 0, 0); 176 DEBUG(1, "NFS IPv6 socket accepted from %s", hostbuf);
|
H A D | mountd.c | 822 char addrbuf[2*INET6_ADDRSTRLEN], hostbuf[NI_MAXHOST]; local 834 strlcpy(hostbuf, "unknown_host", sizeof(hostbuf)); 909 if (!getnameinfo(sa, sa->sa_len, hostbuf, sizeof(hostbuf), NULL, 0, 0)) 910 add_mlist(hostbuf, dirpath); 911 log(LOG_INFO, "Mount successful: %s %s", hostbuf, dirpath); 942 if (!getnameinfo(sa, sa->sa_len, hostbuf, sizeof(hostbuf), NULL, 0, NI_NAMEREQD)) 943 del_mlist(hostbuf, dirpat [all...] |
/macosx-10.10.1/OpenSSH-189/openssh/ |
H A D | auth-rhosts.c | 84 char hostbuf[1024], userbuf[1024], dummy[1024], *host, *user, *cp; local 103 switch (sscanf(buf, "%1023s %1023s %1023s", hostbuf, userbuf, 123 host = hostbuf;
|
/macosx-10.10.1/ipsec-286.1.1/ipsec-tools/racoon/ |
H A D | getcertsbyname.c | 209 char hostbuf[1024]; /* XXX */ local 261 len = dn_expand(answer, eom, cp, hostbuf, sizeof(hostbuf)); 274 len = dn_expand(answer, eom, cp, hostbuf, sizeof(hostbuf));
|
H A D | isakmp.c | 2944 char hostbuf[NI_MAXHOST]; 2961 if (getnameinfo(from, sysdep_sa_len((struct sockaddr *)from), hostbuf, sizeof(hostbuf), 2964 strlcpy(hostbuf, "?", sizeof(hostbuf)); 2967 printf("%s:%s", hostbuf, portbuf); 2972 if (getnameinfo(my, sysdep_sa_len((struct sockaddr *)my), hostbuf, sizeof(hostbuf), 2975 strlcpy(hostbuf, "?", sizeof(hostbuf)); 2943 char hostbuf[NI_MAXHOST]; local [all...] |
/macosx-10.10.1/cups-408/cups/notifier/ |
H A D | mailto.c | 242 char hostbuf[1024]; /* Local hostname */ local 266 httpGetHostname(NULL, hostbuf, sizeof(hostbuf))); 267 fprintf(stderr, "DEBUG: >>> HELO %s\n", hostbuf);
|
/macosx-10.10.1/sudo-73/src/ |
H A D | ldap.c | 383 char hostbuf[LINE_MAX * 2]; local 385 hostbuf[0] = '\0'; 390 if (hostbuf[0] != '\0') { 391 if (strlcat(hostbuf, " ", sizeof(hostbuf)) >= sizeof(hostbuf)) 395 if (strlcat(hostbuf, host, sizeof(hostbuf)) >= sizeof(hostbuf)) 400 if (strlcat(hostbuf, defpor 425 char hostbuf[LINE_MAX]; local [all...] |
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/libldap/ |
H A D | util-int.c | 764 char hostbuf[MAXHOSTNAMELEN+1]; local 769 if( gethostname( hostbuf, MAXHOSTNAMELEN ) == 0 ) { 770 hostbuf[MAXHOSTNAMELEN] = '\0'; 771 name = hostbuf;
|
/macosx-10.10.1/gssd-64/ |
H A D | gsstest.c | 245 char hostbuf[MAXHOSTNAME]; local 246 char *host = hostbuf; 372 gethostname(hostbuf, MAXHOSTNAME);
|
H A D | gssd.c | 1482 char hostbuf[MAXHOSTNAMELEN]; local 1502 gethostname(hostbuf, MAXHOSTNAMELEN); 1503 local_host = canonicalize_host(hostbuf, NULL); 1506 local_host = strdup(lowercase(hostbuf));
|
/macosx-10.10.1/NFS-82/rpc.lockd/ |
H A D | lockd_lock.c | 2500 char hostbuf[NI_MAXHOST]; local 2560 !getnameinfo(saddr, saddr->sa_len, hostbuf, sizeof(hostbuf), NULL, 0, 0) && 2561 strcmp(nhp->name, hostbuf)) { 2562 debuglog("Statd retry with '%s'\n", hostbuf); 2563 smon.mon_id.mon_name = hostbuf; 2564 nhp->revname = strdup(hostbuf);
|
/macosx-10.10.1/ntp-92/util/ |
H A D | ntp-keygen.c | 246 char hostbuf[MAXHOSTNAME + 1]; local 267 gethostname(hostbuf, MAXHOSTNAME); 268 hostname = hostbuf; 283 passwd1 = hostbuf;
|
/macosx-10.10.1/remote_cmds-47/telnet.tproj/ |
H A D | commands.c | 2389 static char hostbuf[BUFSIZ]; 2392 strncpy(hostbuf, hostp, BUFSIZ - 1); 2393 hostbuf[BUFSIZ - 1] = '\0'; 2395 hostp = hostbuf; 2381 static char hostbuf[BUFSIZ]; local
|
/macosx-10.10.1/tcpdump-61/tcpdump/ |
H A D | addrtoname.c | 108 static char hostbuf[NI_MAXHOST]; local 112 host.h_name = hostbuf;
|
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSMacOSX/ |
H A D | mDNSMacOSX.c | 6724 char hostbuf[MAX_ESCAPED_DOMAIN_NAME + 6]; // Max legal domainname as C-string, including terminating NUL 6726 if (CFDataGetLength(data) >= (int)sizeof(hostbuf)) 6731 CFDataGetBytes(data, CFRangeMake(0,CFDataGetLength(data)), (UInt8 *)hostbuf); 6732 hostbuf[CFDataGetLength(data)] = '\0'; 6737 hptr = strchr(hostbuf, ':'); 6757 // The hostbuf is of the format dsid@hostname:port. We don't care about the dsid. 6758 hptr = strchr(hostbuf, '@'); 6762 hptr = hostbuf;
|