Searched defs:MAXHOSTNAMELEN (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_localhost.c42 #ifndef MAXHOSTNAMELEN
43 #define MAXHOSTNAMELEN 64 macro
48 char buf[MAXHOSTNAMELEN+1], *ptr;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddnsglue.h67 #include <sys/param.h> /* for MAXHOSTNAMELEN */
70 #ifndef MAXHOSTNAMELEN
71 #define MAXHOSTNAMELEN 64 /* if we can't find it elswhere */ macro
82 #define MAXDNAME (16 * MAXHOSTNAMELEN)
H A Ddef_realm.c63 #ifndef MAXHOSTNAMELEN
64 #define MAXHOSTNAMELEN 64 macro
67 #define MAX_DNS_NAMELEN (15*(MAXHOSTNAMELEN + 1)+1)
H A Dlocate_kdc.c80 #ifndef MAXHOSTNAMELEN
81 #define MAXHOSTNAMELEN 64 macro
84 #define MAX_DNS_NAMELEN (15*(MAXHOSTNAMELEN + 1)+1)
/illumos-gate/usr/src/stand/lib/sa/
H A Dnetdb.h50 #define MAXHOSTNAMELEN 256 macro
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_simple.c49 #ifndef MAXHOSTNAMELEN
50 #define MAXHOSTNAMELEN 64 macro
63 char host[MAXHOSTNAMELEN]; /* Servers host */
149 if ((strlen(host) < (size_t)MAXHOSTNAMELEN) &&
H A Dnetname.c68 #ifndef MAXHOSTNAMELEN
69 #define MAXHOSTNAMELEN 256 macro
272 char hostname[MAXHOSTNAMELEN + 1];
273 char domainname[MAXHOSTNAMELEN + 1];
310 if (getdomainname(domainname, MAXHOSTNAMELEN) < 0)
/illumos-gate/usr/src/lib/libresolv/
H A Dnetdb.h207 #define MAXHOSTNAMELEN 256 macro
/illumos-gate/usr/src/lib/libwrap/
H A Dworkarounds.c36 * Some AIX versions advertise a too small MAXHOSTNAMELEN value (32).
42 #if (MAXHOSTNAMELEN < 64)
43 #undef MAXHOSTNAMELEN macro
48 #ifndef MAXHOSTNAMELEN
49 #define MAXHOSTNAMELEN 256 /* storage for host name */ macro
200 static char mydomain[MAXHOSTNAMELEN];
203 return (getdomainname(mydomain, MAXHOSTNAMELEN));
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dipf.h121 #ifndef MAXHOSTNAMELEN
122 # define MAXHOSTNAMELEN 256 macro
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dparam.h205 #define MAXHOSTNAMELEN 64 macro
/illumos-gate/usr/src/lib/libresolv2/include/
H A Dport_after.h277 #ifndef MAXHOSTNAMELEN
278 #define MAXHOSTNAMELEN 256 macro
/illumos-gate/usr/src/cmd/vi/port/
H A Dexpreserve.c402 #define MAXHOSTNAMELEN 256 macro
408 char hostname[MAXHOSTNAMELEN];
409 int namelen = MAXHOSTNAMELEN ;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dopen.c54 #ifndef MAXHOSTNAMELEN
55 #define MAXHOSTNAMELEN 64 macro
/illumos-gate/usr/src/boot/sys/sys/
H A Dparam.h109 #define MAXHOSTNAMELEN 256 /* max hostname size */ macro
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_cache.c148 unsigned char hostname[MAXHOSTNAMELEN];
668 char buf[MAXHOSTNAMELEN];
695 char namebuf[MAXHOSTNAMELEN];
775 char tmp[MAXHOSTNAMELEN];
778 (void) snprintf(tmp, MAXHOSTNAMELEN, "%15.15s", entry->name);
783 (void) strlcat(tmp, ".", MAXHOSTNAMELEN);
784 (void) strlcat(tmp, (char *)entry->scope, MAXHOSTNAMELEN); local
/illumos-gate/usr/src/lib/libsasl/include/
H A Dconfig.h435 #ifndef MAXHOSTNAMELEN
436 #define MAXHOSTNAMELEN 255 macro
/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c393 hosthash[ix].ht_value, MAXHOSTNAMELEN); local
397 host->h_name, MAXHOSTNAMELEN);
845 char localname[MAXHOSTNAMELEN + 1];
873 if (gethostname(localname, MAXHOSTNAMELEN))
879 if (init_hash(hosthash, 0, HOSTHASHSIZE, MAXHOSTNAMELEN))
/illumos-gate/usr/src/cmd/keyserv/
H A Dchkey.c66 #define MAXHOSTNAMELEN 256 macro
H A Dchkey_common.c47 #ifndef MAXHOSTNAMELEN
48 #define MAXHOSTNAMELEN 256 macro
/illumos-gate/usr/src/ucbhead/sys/
H A Dparam.h279 #ifndef MAXHOSTNAMELEN
280 #define MAXHOSTNAMELEN 256 macro
/illumos-gate/usr/src/head/
H A Dnetdb.h394 #define MAXHOSTNAMELEN 256 macro
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dlogger.c58 #ifndef MAXHOSTNAMELEN
59 #define MAXHOSTNAMELEN 256 macro
60 #endif /* MAXHOSTNAMELEN */
906 log_control.log_hostname = (char *) malloc(MAXHOSTNAMELEN + 1);
908 gethostname(log_control.log_hostname, MAXHOSTNAMELEN);
909 log_control.log_hostname[MAXHOSTNAMELEN] = '\0';
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dlogger.c58 #ifndef MAXHOSTNAMELEN
59 #define MAXHOSTNAMELEN 256 macro
60 #endif /* MAXHOSTNAMELEN */
904 log_control.log_hostname = (char *) malloc(MAXHOSTNAMELEN + 1);
906 gethostname(log_control.log_hostname, MAXHOSTNAMELEN);
907 log_control.log_hostname[MAXHOSTNAMELEN] = '\0';
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dpppd.h77 #ifndef MAXHOSTNAMELEN
78 #define MAXHOSTNAMELEN MAXNAMELEN /* max length of hostname */ macro
79 #endif /* MAXHOSTNAMELEN */

Completed in 279 milliseconds

12