Searched refs:MAXHOSTNAMELEN (Results 1 - 25 of 203) sorted by relevance

123456789

/freebsd-12-stable/contrib/ipfilter/lib/
H A Dinitparse.c13 char thishost[MAXHOSTNAMELEN];
H A Dhostname.c16 static char hostbuf[MAXHOSTNAMELEN+1];
54 hostbuf[MAXHOSTNAMELEN] = '\0';
/freebsd-12-stable/usr.sbin/pkg/
H A Ddns_utils.h41 char host[MAXHOSTNAMELEN];
H A Ddns_utils.c122 char host[MAXHOSTNAMELEN];
139 if((len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN)) < 0)
151 len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN);
175 len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN);
197 strlcpy(res[n]->host, host, MAXHOSTNAMELEN);
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_sethostname.c41 static char host[MAXHOSTNAMELEN];
43 static const char hosts[][MAXHOSTNAMELEN] = {
59 char name[MAXHOSTNAMELEN];
73 ATF_REQUIRE_EQ(sizeof(hosts[i]), MAXHOSTNAMELEN); local
74 ATF_REQUIRE_EQ(sizeof(name), MAXHOSTNAMELEN); local
102 char name[MAXHOSTNAMELEN + 1];
112 ATF_REQUIRE(sethostname(host, MAXHOSTNAMELEN - 1 ) == 0);
113 ATF_REQUIRE(sethostname(host, MAXHOSTNAMELEN) == -1);
H A Dt_setdomainname.c45 static const char domains[][MAXHOSTNAMELEN] = {
55 char domain[MAXHOSTNAMELEN];
63 l = strnlen(domain, MAXHOSTNAMELEN);
75 char domain[MAXHOSTNAMELEN];
100 char name[MAXHOSTNAMELEN];
113 ATF_REQUIRE_EQ(sizeof(domains[i]), MAXHOSTNAMELEN); local
114 ATF_REQUIRE_EQ(sizeof(name), MAXHOSTNAMELEN); local
141 char name[MAXHOSTNAMELEN + 1];
147 ATF_REQUIRE(setdomainname(name, MAXHOSTNAMELEN - 1 ) == 0);
148 ATF_REQUIRE(setdomainname(name, MAXHOSTNAMELEN)
[all...]
/freebsd-12-stable/sys/nfs/
H A Dnfsdiskless.h70 char my_hostnam[MAXHOSTNAMELEN]; /* Client host name */
104 char my_hostnam[MAXHOSTNAMELEN]; /* Client host name */
/freebsd-12-stable/lib/libypclnt/
H A Dypclnt_connect.c58 if ((ypclnt->domain = malloc(MAXHOSTNAMELEN)) == NULL) {
63 if (getdomainname(ypclnt->domain, MAXHOSTNAMELEN) != 0) {
/freebsd-12-stable/lib/libc/rpc/
H A Dnetname.c61 #ifndef MAXHOSTNAMELEN
62 #define MAXHOSTNAMELEN 256 macro
126 char hostname[MAXHOSTNAMELEN+1];
H A Dclnt_simple.c62 #ifndef MAXHOSTNAMELEN
63 #define MAXHOSTNAMELEN 64 macro
76 char host[MAXHOSTNAMELEN]; /* Servers host */
189 if ((strlen(host) < (size_t)MAXHOSTNAMELEN) &&
/freebsd-12-stable/contrib/tcp_wrappers/
H A Dworkarounds.c32 * Some AIX versions advertise a too small MAXHOSTNAMELEN value (32).
38 #if (MAXHOSTNAMELEN < 64)
39 #undef MAXHOSTNAMELEN macro
44 #ifndef MAXHOSTNAMELEN
45 #define MAXHOSTNAMELEN 256 /* storage for host name */ macro
207 static char mydomain[MAXHOSTNAMELEN];
210 return (getdomainname(mydomain, MAXHOSTNAMELEN));
/freebsd-12-stable/libexec/rbootd/
H A Dconf.c70 char MyHost[MAXHOSTNAMELEN]; /* host name */
H A Ddefs.h58 #ifndef MAXHOSTNAMELEN
59 #define MAXHOSTNAMELEN 256 macro
/freebsd-12-stable/contrib/mtree/
H A Dextern.h48 /* For MAXHOSTNAMELEN on some platforms. */
52 #ifndef MAXHOSTNAMELEN
53 #define MAXHOSTNAMELEN 256 macro
/freebsd-12-stable/bin/domainname/
H A Ddomainname.c60 char domainname[MAXHOSTNAMELEN];
/freebsd-12-stable/include/protocols/
H A Dtimed.h57 char tsp_name[MAXHOSTNAMELEN];
/freebsd-12-stable/sys/sys/
H A Djail.h65 char pr_host[MAXHOSTNAMELEN];
76 char pr_host[MAXHOSTNAMELEN];
77 char pr_name[MAXHOSTNAMELEN];
187 char pr_name[MAXHOSTNAMELEN]; /* (p) admin jail name */
189 char pr_hostname[MAXHOSTNAMELEN]; /* (p) jail hostname */
190 char pr_domainname[MAXHOSTNAMELEN]; /* (p) jail domainname */
197 char prr_name[MAXHOSTNAMELEN];
/freebsd-12-stable/bin/hostname/
H A Dhostname.c60 char *p, hostname[MAXHOSTNAMELEN];
/freebsd-12-stable/contrib/amd/hlfsd/
H A Dhlfsd.h90 #define PROGNAMESZ (MAXHOSTNAMELEN - 5)
/freebsd-12-stable/crypto/heimdal/lib/krb5/
H A Dkrbhst-test.c88 char host[MAXHOSTNAMELEN];
H A Dtest_plugin.c90 char host[MAXHOSTNAMELEN];
/freebsd-12-stable/crypto/heimdal/lib/roken/
H A Dgetaddrinfo_hostspec.c48 char host[MAXHOSTNAMELEN];
/freebsd-12-stable/lib/libutil/
H A Dtrimdomain.c60 static char domain[MAXHOSTNAMELEN];
/freebsd-12-stable/usr.bin/talk/
H A Dget_names.c65 char hostname[MAXHOSTNAMELEN];
/freebsd-12-stable/usr.sbin/timed/timedc/
H A Dcmds.c66 char myname[MAXHOSTNAMELEN];
330 if (cc < (sizeof(struct tsp) - MAXHOSTNAMELEN + 32)) {
333 cc, sizeof(struct tsp) - MAXHOSTNAMELEN + 32,
483 if (cc < (sizeof(struct tsp) - MAXHOSTNAMELEN + 32)) {
485 cc, sizeof(struct tsp) - MAXHOSTNAMELEN + 32,

Completed in 338 milliseconds

123456789