/freebsd-11-stable/contrib/amd/amd/ |
H A D | autil.c | 447 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 D | amd.c | 58 #define SIZEOF_HOSTD (2 * MAXHOSTNAMELEN + 1) /* Host+domain */ 390 char hostname[MAXHOSTNAMELEN + 1] = "localhost"; /* Hostname */
|
H A D | ops_nfs.c | 784 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 D | su.c | 73 char hostname[MAXHOSTNAMELEN];
|
/freebsd-11-stable/libexec/rbootd/ |
H A D | rbootd.c | 167 if (gethostname(MyHost, MAXHOSTNAMELEN - 1) < 0) { 171 MyHost[MAXHOSTNAMELEN - 1] = '\0';
|
/freebsd-11-stable/lib/libc/net/ |
H A D | eui64.c | 223 char local_host[MAXHOSTNAMELEN]; 274 char local_host[MAXHOSTNAMELEN];
|
/freebsd-11-stable/usr.sbin/lpr/common_source/ |
H A D | net.c | 73 char local_host[MAXHOSTNAMELEN]; /* host running lpd/lpr */ 184 char lclhost[MAXHOSTNAMELEN];
|
/freebsd-11-stable/usr.sbin/nfscbd/ |
H A D | nfscbd.c | 107 char myname[MAXHOSTNAMELEN], *myfqdnname = NULL; 121 if (gethostname(myname, MAXHOSTNAMELEN) >= 0) {
|
/freebsd-11-stable/stand/libsa/ |
H A D | bootparam.c | 200 hostnamelen = MAXHOSTNAMELEN-1; 207 domainnamelen = MAXHOSTNAMELEN-1;
|
/freebsd-11-stable/contrib/tcp_wrappers/ |
H A D | socket.c | 58 char dot_name[MAXHOSTNAMELEN + 1]; 65 if (strchr(name, '.') == 0 || strlen(name) >= MAXHOSTNAMELEN - 1) {
|
/freebsd-11-stable/usr.sbin/cron/cron/ |
H A D | cron.h | 96 #ifndef MAXHOSTNAMELEN 97 #define MAXHOSTNAMELEN 256 macro
|
/freebsd-11-stable/contrib/amd/hlfsd/ |
H A D | hlfsd.c | 82 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 D | am_utils.h | 72 #ifndef MAXHOSTNAMELEN 74 # define MAXHOSTNAMELEN HOSTNAMESZ macro 76 # define MAXHOSTNAMELEN 256 macro 78 #endif /* not MAXHOSTNAMELEN */
|
/freebsd-11-stable/contrib/amd/libamu/ |
H A D | wire.c | 243 if (strlen(s) > MAXHOSTNAMELEN) { 244 al->ip_net_name[MAXHOSTNAMELEN] = '\0'; 246 s, MAXHOSTNAMELEN);
|
/freebsd-11-stable/libexec/rshd/ |
H A D | rshd.c | 199 char rhost[2 * MAXHOSTNAMELEN + 1]; 386 char remote_ip[MAXHOSTNAMELEN]; 581 char localhost[MAXHOSTNAMELEN];
|
/freebsd-11-stable/bin/date/ |
H A D | netdate.c | 76 char hostname[MAXHOSTNAMELEN];
|
/freebsd-11-stable/libexec/fingerd/ |
H A D | fingerd.c | 77 char rhost[MAXHOSTNAMELEN];
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | verify_init.c | 89 char local_hostname[MAXHOSTNAMELEN];
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | netdissect-stdinc.h | 183 #define MAXHOSTNAMELEN 64 macro
|
/freebsd-11-stable/sbin/iscontrol/ |
H A D | iscontrol.c | 241 char hostname[MAXHOSTNAMELEN];
|
/freebsd-11-stable/contrib/telnet/telnetd/ |
H A D | telnetd.c | 57 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 D | param.h | 113 #define MAXHOSTNAMELEN 256 /* max hostname size */ macro
|
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | iptest.c | 73 char *name = argv[0], host[MAXHOSTNAMELEN + 1];
|
/freebsd-11-stable/usr.sbin/timed/timed/ |
H A D | readmsg.c | 211 if (n < (ssize_t)(sizeof(struct tsp) - MAXHOSTNAMELEN + 32)) { 214 n, sizeof(struct tsp) - MAXHOSTNAMELEN + 32,
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | getnetgrent.c | 484 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, "*.*");
|