/freebsd-12-stable/contrib/ipfilter/lib/ |
H A D | initparse.c | 13 char thishost[MAXHOSTNAMELEN];
|
H A D | hostname.c | 16 static char hostbuf[MAXHOSTNAMELEN+1]; 54 hostbuf[MAXHOSTNAMELEN] = '\0';
|
/freebsd-12-stable/usr.sbin/pkg/ |
H A D | dns_utils.h | 41 char host[MAXHOSTNAMELEN];
|
H A D | dns_utils.c | 122 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 D | t_sethostname.c | 41 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 D | t_setdomainname.c | 45 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 D | nfsdiskless.h | 70 char my_hostnam[MAXHOSTNAMELEN]; /* Client host name */ 104 char my_hostnam[MAXHOSTNAMELEN]; /* Client host name */
|
/freebsd-12-stable/lib/libypclnt/ |
H A D | ypclnt_connect.c | 58 if ((ypclnt->domain = malloc(MAXHOSTNAMELEN)) == NULL) { 63 if (getdomainname(ypclnt->domain, MAXHOSTNAMELEN) != 0) {
|
/freebsd-12-stable/lib/libc/rpc/ |
H A D | netname.c | 61 #ifndef MAXHOSTNAMELEN 62 #define MAXHOSTNAMELEN 256 macro 126 char hostname[MAXHOSTNAMELEN+1];
|
H A D | clnt_simple.c | 62 #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 D | workarounds.c | 32 * 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 D | conf.c | 70 char MyHost[MAXHOSTNAMELEN]; /* host name */
|
H A D | defs.h | 58 #ifndef MAXHOSTNAMELEN 59 #define MAXHOSTNAMELEN 256 macro
|
/freebsd-12-stable/contrib/mtree/ |
H A D | extern.h | 48 /* For MAXHOSTNAMELEN on some platforms. */ 52 #ifndef MAXHOSTNAMELEN 53 #define MAXHOSTNAMELEN 256 macro
|
/freebsd-12-stable/bin/domainname/ |
H A D | domainname.c | 60 char domainname[MAXHOSTNAMELEN];
|
/freebsd-12-stable/include/protocols/ |
H A D | timed.h | 57 char tsp_name[MAXHOSTNAMELEN];
|
/freebsd-12-stable/sys/sys/ |
H A D | jail.h | 65 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 D | hostname.c | 60 char *p, hostname[MAXHOSTNAMELEN];
|
/freebsd-12-stable/contrib/amd/hlfsd/ |
H A D | hlfsd.h | 90 #define PROGNAMESZ (MAXHOSTNAMELEN - 5)
|
/freebsd-12-stable/crypto/heimdal/lib/krb5/ |
H A D | krbhst-test.c | 88 char host[MAXHOSTNAMELEN];
|
H A D | test_plugin.c | 90 char host[MAXHOSTNAMELEN];
|
/freebsd-12-stable/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo_hostspec.c | 48 char host[MAXHOSTNAMELEN];
|
/freebsd-12-stable/lib/libutil/ |
H A D | trimdomain.c | 60 static char domain[MAXHOSTNAMELEN];
|
/freebsd-12-stable/usr.bin/talk/ |
H A D | get_names.c | 65 char hostname[MAXHOSTNAMELEN];
|
/freebsd-12-stable/usr.sbin/timed/timedc/ |
H A D | cmds.c | 66 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,
|