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

123456789

/freebsd-11-stable/contrib/ipfilter/lib/
H A Dinitparse.c13 char thishost[MAXHOSTNAMELEN];
H A Dhostname.c17 static char hostbuf[MAXHOSTNAMELEN+1];
55 hostbuf[MAXHOSTNAMELEN] = '\0';
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-cray.h50 #ifndef MAXHOSTNAMELEN
51 # define MAXHOSTNAMELEN 64 macro
/freebsd-11-stable/usr.sbin/pkg/
H A Ddns_utils.h41 char host[MAXHOSTNAMELEN];
H A Ddns_utils.c121 char host[MAXHOSTNAMELEN];
138 if((len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN)) < 0)
150 len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN);
174 len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN);
196 strlcpy(res[n]->host, host, MAXHOSTNAMELEN);
/freebsd-11-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-11-stable/lib/libypclnt/
H A Dypclnt_connect.c56 if ((ypclnt->domain = malloc(MAXHOSTNAMELEN)) == NULL) {
61 if (getdomainname(ypclnt->domain, MAXHOSTNAMELEN) != 0) {
/freebsd-11-stable/sys/nfs/
H A Dnfsdiskless.h68 char my_hostnam[MAXHOSTNAMELEN]; /* Client host name */
102 char my_hostnam[MAXHOSTNAMELEN]; /* Client host name */
/freebsd-11-stable/lib/libc/rpc/
H A Dnetname.c59 #ifndef MAXHOSTNAMELEN
60 #define MAXHOSTNAMELEN 256 macro
124 char hostname[MAXHOSTNAMELEN+1];
H A Dclnt_simple.c60 #ifndef MAXHOSTNAMELEN
61 #define MAXHOSTNAMELEN 64 macro
74 char host[MAXHOSTNAMELEN]; /* Servers host */
187 if ((strlen(host) < (size_t)MAXHOSTNAMELEN) &&
/freebsd-11-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-11-stable/libexec/rbootd/
H A Dconf.c68 char MyHost[MAXHOSTNAMELEN]; /* host name */
H A Ddefs.h56 #ifndef MAXHOSTNAMELEN
57 #define MAXHOSTNAMELEN 256 macro
/freebsd-11-stable/contrib/mtree/
H A Dextern.h48 /* For MAXHOSTNAMELEN on some platforms. */
52 #ifndef MAXHOSTNAMELEN
53 #define MAXHOSTNAMELEN 256 macro
/freebsd-11-stable/bin/domainname/
H A Ddomainname.c58 char domainname[MAXHOSTNAMELEN];
/freebsd-11-stable/include/protocols/
H A Dtimed.h55 char tsp_name[MAXHOSTNAMELEN];
/freebsd-11-stable/sys/sys/
H A Djail.h63 char pr_host[MAXHOSTNAMELEN];
74 char pr_host[MAXHOSTNAMELEN];
75 char pr_name[MAXHOSTNAMELEN];
183 char pr_name[MAXHOSTNAMELEN]; /* (p) admin jail name */
185 char pr_hostname[MAXHOSTNAMELEN]; /* (p) jail hostname */
186 char pr_domainname[MAXHOSTNAMELEN]; /* (p) jail domainname */
193 char prr_name[MAXHOSTNAMELEN];
/freebsd-11-stable/lib/libutil/
H A Dtrimdomain.c58 static char domain[MAXHOSTNAMELEN];
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dkrbhst-test.c88 char host[MAXHOSTNAMELEN];
H A Dtest_plugin.c90 char host[MAXHOSTNAMELEN];
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetaddrinfo_hostspec.c48 char host[MAXHOSTNAMELEN];
/freebsd-11-stable/usr.bin/talk/
H A Dget_names.c63 char hostname[MAXHOSTNAMELEN];
/freebsd-11-stable/bin/hostname/
H A Dhostname.c58 char *p, hostname[MAXHOSTNAMELEN];
/freebsd-11-stable/contrib/amd/hlfsd/
H A Dhlfsd.h90 #define PROGNAMESZ (MAXHOSTNAMELEN - 5)

Completed in 142 milliseconds

123456789