Searched refs:MAXHOSTNAMELEN (Results 126 - 150 of 203) sorted by relevance

123456789

/freebsd-12-stable/contrib/traceroute/
H A Dtraceroute.c275 #ifndef MAXHOSTNAMELEN
276 #define MAXHOSTNAMELEN 64 macro
1901 static char domain[MAXHOSTNAMELEN + 1], line[MAXHOSTNAMELEN + 1];
1957 if (strlen(hostname) >= MAXHOSTNAMELEN) {
/freebsd-12-stable/libexec/ftpd/
H A Dftpd.c649 if ((hostname = malloc(MAXHOSTNAMELEN)) == NULL)
651 if (gethostname(hostname, MAXHOSTNAMELEN - 1) < 0)
653 hostname[MAXHOSTNAMELEN - 1] = '\0';
702 if ((hostname = malloc(MAXHOSTNAMELEN)) == NULL)
704 if (gethostname(hostname, MAXHOSTNAMELEN - 1) < 0)
706 hostname[MAXHOSTNAMELEN - 1] = '\0';
/freebsd-12-stable/sbin/ping/
H A Dping.c252 char hnamebuf[MAXHOSTNAMELEN], snamebuf[MAXHOSTNAMELEN];
1657 static char buf[16 + 3 + MAXHOSTNAMELEN];
/freebsd-12-stable/contrib/openbsm/bin/auditdistd/
H A Dparse.y735 char buf[MAXHOSTNAMELEN];
H A Dproto_tcp.c33 #include <sys/param.h> /* MAXHOSTNAMELEN */
107 char iporhost[MAXHOSTNAMELEN], portstr[6];
/freebsd-12-stable/contrib/telnet/telnet/
H A Dcommands.c79 #ifndef MAXHOSTNAMELEN
80 #define MAXHOSTNAMELEN 256 macro
99 static char _hostname[MAXHOSTNAMELEN];
2723 char m1save[MAXHOSTNAMELEN];
/freebsd-12-stable/lib/libc/net/
H A Dgetnameinfo.c359 char zonebuf[MAXHOSTNAMELEN];
/freebsd-12-stable/sys/fs/nfsserver/
H A Dnfs_nfsdkrpc.c488 char principal[MAXHOSTNAMELEN + 5];
/freebsd-12-stable/libexec/getty/
H A Dsubr.c465 char editedhost[MAXHOSTNAMELEN];
H A Dmain.c98 char hostname[MAXHOSTNAMELEN];
/freebsd-12-stable/sbin/route/
H A Droute.c104 static char domain[MAXHOSTNAMELEN + 1];
108 static char net_line[MAXHOSTNAMELEN + 1];
539 if (gethostname(domain, MAXHOSTNAMELEN) == 0 &&
541 domain[MAXHOSTNAMELEN] = '\0';
/freebsd-12-stable/sbin/shutdown/
H A Dshutdown.c305 static char hostname[MAXHOSTNAMELEN + 1];
/freebsd-12-stable/usr.bin/bluetooth/btsockstat/
H A Dbtsockstat.c552 static char buffer[MAXHOSTNAMELEN];
/freebsd-12-stable/usr.bin/last/
H A Dlast.c513 static char *hostdot, name[MAXHOSTNAMELEN];
/freebsd-12-stable/usr.sbin/fmtree/
H A Dcreate.c86 char *argv[2], host[MAXHOSTNAMELEN];
/freebsd-12-stable/usr.sbin/lpr/common_source/
H A Dcommon.c569 char thishost[MAXHOSTNAMELEN], statline[STATLINE_SIZE];
/freebsd-12-stable/usr.sbin/ppp/
H A Dprompt.c88 static char shostname[MAXHOSTNAMELEN];
/freebsd-12-stable/crypto/heimdal/appl/gssmask/
H A Dgssmask.c58 char servername[MAXHOSTNAMELEN];
1095 char hostname[MAXHOSTNAMELEN];
/freebsd-12-stable/contrib/sendmail/src/
H A Dmci.c1306 char host[MAXHOSTNAMELEN];
1545 char t_host[MAXHOSTNAMELEN];
/freebsd-12-stable/contrib/mtree/
H A Dcreate.c106 char host[MAXHOSTNAMELEN + 1];
/freebsd-12-stable/contrib/tcpdump/
H A Dprint-icmp.c345 char buf[MAXHOSTNAMELEN + 100];
/freebsd-12-stable/contrib/amd/libamu/
H A Dxutil.c58 static char am_hostname[MAXHOSTNAMELEN] = "unknown"; /* Hostname */
/freebsd-12-stable/lib/libpmcstat/
H A Dlibpmcstat_logging.c435 char hostname[MAXHOSTNAMELEN];
/freebsd-12-stable/libexec/pppoed/
H A Dpppoed.c502 char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKSIZ];
/freebsd-12-stable/sbin/hastd/
H A Dproto_tcp.c36 #include <sys/param.h> /* MAXHOSTNAMELEN */
104 char iporhost[MAXHOSTNAMELEN], portstr[6];

Completed in 385 milliseconds

123456789