Searched refs:MAXHOSTNAMELEN (Results 51 - 75 of 207) sorted by relevance

123456789

/freebsd-11-stable/contrib/amd/amd/
H A Dautil.c447 char fs_hostname[MAXHOSTNAMELEN + MAXPATHLEN + 1];
499 if (strlen(fs_hostname) >= MAXHOSTNAMELEN)
500 xstrlcpy(fs_hostname + MAXHOSTNAMELEN - 3, "..",
501 sizeof(fs_hostname) - MAXHOSTNAMELEN + 3);
H A Damd.c58 #define SIZEOF_HOSTD (2 * MAXHOSTNAMELEN + 1) /* Host+domain */
390 char hostname[MAXHOSTNAMELEN + 1] = "localhost"; /* Hostname */
H A Dops_nfs.c784 char host[MAXHOSTNAMELEN + MAXPATHLEN + 2];
814 #ifdef MAXHOSTNAMELEN
816 if (strlen(host) >= MAXHOSTNAMELEN)
817 xstrlcpy(host + MAXHOSTNAMELEN - 3, "..",
818 sizeof(host) - MAXHOSTNAMELEN + 3);
819 #endif /* MAXHOSTNAMELEN */
/freebsd-11-stable/contrib/openpam/bin/su/
H A Dsu.c73 char hostname[MAXHOSTNAMELEN];
/freebsd-11-stable/libexec/rbootd/
H A Drbootd.c167 if (gethostname(MyHost, MAXHOSTNAMELEN - 1) < 0) {
171 MyHost[MAXHOSTNAMELEN - 1] = '\0';
/freebsd-11-stable/lib/libc/net/
H A Deui64.c223 char local_host[MAXHOSTNAMELEN];
274 char local_host[MAXHOSTNAMELEN];
/freebsd-11-stable/usr.sbin/lpr/common_source/
H A Dnet.c73 char local_host[MAXHOSTNAMELEN]; /* host running lpd/lpr */
184 char lclhost[MAXHOSTNAMELEN];
/freebsd-11-stable/usr.sbin/nfscbd/
H A Dnfscbd.c107 char myname[MAXHOSTNAMELEN], *myfqdnname = NULL;
121 if (gethostname(myname, MAXHOSTNAMELEN) >= 0) {
/freebsd-11-stable/stand/libsa/
H A Dbootparam.c200 hostnamelen = MAXHOSTNAMELEN-1;
207 domainnamelen = MAXHOSTNAMELEN-1;
/freebsd-11-stable/contrib/tcp_wrappers/
H A Dsocket.c58 char dot_name[MAXHOSTNAMELEN + 1];
65 if (strchr(name, '.') == 0 || strlen(name) >= MAXHOSTNAMELEN - 1) {
/freebsd-11-stable/usr.sbin/cron/cron/
H A Dcron.h96 #ifndef MAXHOSTNAMELEN
97 #define MAXHOSTNAMELEN 256 macro
/freebsd-11-stable/contrib/amd/hlfsd/
H A Dhlfsd.c82 char hostname[MAXHOSTNAMELEN + 1] = "localhost";
136 char hostpid_fs[MAXHOSTNAMELEN + 1 + 16]; /* room for ":(pid###)" */
529 if ((int) strlen(progpid_fs) >= (int) MAXHOSTNAMELEN)
530 xstrlcpy(progpid_fs + MAXHOSTNAMELEN - 3, "..",
531 sizeof(progpid_fs) - MAXHOSTNAMELEN + 3);
/freebsd-11-stable/contrib/amd/include/
H A Dam_utils.h72 #ifndef MAXHOSTNAMELEN
74 # define MAXHOSTNAMELEN HOSTNAMESZ macro
76 # define MAXHOSTNAMELEN 256 macro
78 #endif /* not MAXHOSTNAMELEN */
/freebsd-11-stable/contrib/amd/libamu/
H A Dwire.c243 if (strlen(s) > MAXHOSTNAMELEN) {
244 al->ip_net_name[MAXHOSTNAMELEN] = '\0';
246 s, MAXHOSTNAMELEN);
/freebsd-11-stable/libexec/rshd/
H A Drshd.c199 char rhost[2 * MAXHOSTNAMELEN + 1];
386 char remote_ip[MAXHOSTNAMELEN];
581 char localhost[MAXHOSTNAMELEN];
/freebsd-11-stable/bin/date/
H A Dnetdate.c76 char hostname[MAXHOSTNAMELEN];
/freebsd-11-stable/libexec/fingerd/
H A Dfingerd.c77 char rhost[MAXHOSTNAMELEN];
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dverify_init.c89 char local_hostname[MAXHOSTNAMELEN];
/freebsd-11-stable/contrib/tcpdump/
H A Dnetdissect-stdinc.h183 #define MAXHOSTNAMELEN 64 macro
/freebsd-11-stable/sbin/iscontrol/
H A Discontrol.c241 char hostname[MAXHOSTNAMELEN];
/freebsd-11-stable/contrib/telnet/telnetd/
H A Dtelnetd.c57 char remote_hostname[MAXHOSTNAMELEN];
113 #ifndef MAXHOSTNAMELEN
114 #define MAXHOSTNAMELEN 256 macro
115 #endif /* MAXHOSTNAMELEN */
118 char host_name[MAXHOSTNAMELEN];
/freebsd-11-stable/sys/sys/
H A Dparam.h113 #define MAXHOSTNAMELEN 256 /* max hostname size */ macro
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Diptest.c73 char *name = argv[0], host[MAXHOSTNAMELEN + 1];
/freebsd-11-stable/usr.sbin/timed/timed/
H A Dreadmsg.c211 if (n < (ssize_t)(sizeof(struct tsp) - MAXHOSTNAMELEN + 32)) {
214 n, sizeof(struct tsp) - MAXHOSTNAMELEN + 32,
/freebsd-11-stable/lib/libc/gen/
H A Dgetnetgrent.c484 char key[MAXHOSTNAMELEN];
491 snprintf(key, MAXHOSTNAMELEN, "%s.%s", str,
495 snprintf(key, MAXHOSTNAMELEN, "%s.*", str);
498 snprintf(key, MAXHOSTNAMELEN, "*.%s",
502 snprintf(key, MAXHOSTNAMELEN, "*.*");

Completed in 202 milliseconds

123456789