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

/macosx-10.9.5/NFS-81/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.9.5/NFS-81/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.9.5/OpenLDAP-491.1/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.9.5/OpenSSH-186/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.9.5/cups-372.4/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.9.5/gssd-62/
H A Dgssd.c1480 char hostbuf[MAXHOSTNAMELEN]; local
1500 gethostname(hostbuf, MAXHOSTNAMELEN);
1501 local_host = canonicalize_host(hostbuf, NULL);
1504 local_host = strdup(lowercase(hostbuf));
H A Dgsstest.c245 char hostbuf[MAXHOSTNAME]; local
246 char *host = hostbuf;
372 gethostname(hostbuf, MAXHOSTNAME);
/macosx-10.9.5/ipsec-258.100.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.c2954 char hostbuf[NI_MAXHOST];
2971 if (getnameinfo(from, sysdep_sa_len((struct sockaddr *)from), hostbuf, sizeof(hostbuf),
2974 strlcpy(hostbuf, "?", sizeof(hostbuf));
2977 printf("%s:%s", hostbuf, portbuf);
2982 if (getnameinfo(my, sysdep_sa_len((struct sockaddr *)my), hostbuf, sizeof(hostbuf),
2985 strlcpy(hostbuf, "?", sizeof(hostbuf));
2953 char hostbuf[NI_MAXHOST]; local
[all...]
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSMacOSX/
H A DmDNSMacOSX.c6704 char hostbuf[MAX_ESCAPED_DOMAIN_NAME + 6]; // Max legal domainname as C-string, including terminating NUL
6706 if (CFDataGetLength(data) >= (int)sizeof(hostbuf))
6711 CFDataGetBytes(data, CFRangeMake(0,CFDataGetLength(data)), (UInt8 *)hostbuf);
6712 hostbuf[CFDataGetLength(data)] = '\0';
6717 hptr = strchr(hostbuf, ':');
6737 // The hostbuf is of the format dsid@hostname:port. We don't care about the dsid.
6738 hptr = strchr(hostbuf, '@');
6742 hptr = hostbuf;
/macosx-10.9.5/ntp-88/util/
H A Dntp-keygen.c246 char hostbuf[MAXHOSTNAME + 1]; local
267 gethostname(hostbuf, MAXHOSTNAME);
268 hostname = hostbuf;
283 passwd1 = hostbuf;
/macosx-10.9.5/postfix-252/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.9.5/remote_cmds-41.90.1/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.9.5/sudo-72/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.9.5/tcpdump-56/tcpdump/
H A Daddrtoname.c108 static char hostbuf[NI_MAXHOST]; local
112 host.h_name = hostbuf;

Completed in 635 milliseconds