Searched refs:hostbuf (Results 1 - 17 of 17) sorted by path

/macosx-10.10/NFS-82/nfsd/
H A Dmountd.c822 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...]
H A Dnfsd.c116 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);
/macosx-10.10/NFS-82/rpc.lockd/
H A Dlockd_lock.c2500 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/OpenLDAP-499.27/OpenLDAP/libraries/libldap/
H A Dutil-int.c764 char hostbuf[MAXHOSTNAMELEN+1]; local
769 if( gethostname( hostbuf, MAXHOSTNAMELEN ) == 0 ) {
770 hostbuf[MAXHOSTNAMELEN] = '\0';
771 name = hostbuf;
/macosx-10.10/OpenSSH-189/openssh/
H A Dauth-rhosts.c84 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/cups-408/cups/notifier/
H A Dmailto.c242 char hostbuf[1024]; /* Local hostname */ local
266 httpGetHostname(NULL, hostbuf, sizeof(hostbuf)));
267 fprintf(stderr, "DEBUG: >>> HELO %s\n", hostbuf);
/macosx-10.10/gssd-64/
H A Dgssd.c1482 char hostbuf[MAXHOSTNAMELEN]; local
1502 gethostname(hostbuf, MAXHOSTNAMELEN);
1503 local_host = canonicalize_host(hostbuf, NULL);
1506 local_host = strdup(lowercase(hostbuf));
H A Dgsstest.c245 char hostbuf[MAXHOSTNAME]; local
246 char *host = hostbuf;
372 gethostname(hostbuf, MAXHOSTNAME);
/macosx-10.10/ipsec-286.1.1/ipsec-tools/racoon/
H A Dgetcertsbyname.c209 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 Disakmp.c2944 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/mDNSResponder-561.1.1/mDNSMacOSX/
H A DmDNSMacOSX.c6724 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;
/macosx-10.10/ntp-92/util/
H A Dntp-keygen.c246 char hostbuf[MAXHOSTNAME + 1]; local
267 gethostname(hostbuf, MAXHOSTNAME);
268 hostname = hostbuf;
283 passwd1 = hostbuf;
/macosx-10.10/postfix-255/postfix/auxiliary/name-addr-test/
H A Dgetaddrinfo.c28 char hostbuf[NI_MAXHOST]; /* XXX */ local
55 if (inet_ntop(res->ai_family, addr, hostbuf, sizeof(hostbuf)) == 0) {
59 printf("%s ", hostbuf);
H A Dgetnameinfo.c28 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);
/macosx-10.10/remote_cmds-47/telnet.tproj/
H A Dcommands.c2389 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/sudo-73/src/
H A Dldap.c383 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/tcpdump-61/tcpdump/
H A Daddrtoname.c108 static char hostbuf[NI_MAXHOST]; local
112 host.h_name = hostbuf;

Completed in 365 milliseconds