/freebsd-current/sbin/ipf/libipf/ |
H A D | initparse.c | 12 char thishost[MAXHOSTNAMELEN];
|
H A D | hostname.c | 15 static char hostbuf[MAXHOSTNAMELEN+1]; 53 hostbuf[MAXHOSTNAMELEN] = '\0';
|
/freebsd-current/usr.sbin/pkg/ |
H A D | dns_utils.h | 39 char host[MAXHOSTNAMELEN];
|
H A D | dns_utils.c | 120 char host[MAXHOSTNAMELEN]; 137 if((len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN)) < 0) 149 len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN); 173 len = dn_expand(q.buf, end, p, host, MAXHOSTNAMELEN); 195 strlcpy(res[n]->host, host, MAXHOSTNAMELEN);
|
/freebsd-current/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-current/lib/libypclnt/ |
H A D | ypclnt_connect.c | 56 if ((ypclnt->domain = malloc(MAXHOSTNAMELEN)) == NULL) { 61 if (getdomainname(ypclnt->domain, MAXHOSTNAMELEN) != 0) {
|
/freebsd-current/sys/nfs/ |
H A D | nfsdiskless.h | 67 char my_hostnam[MAXHOSTNAMELEN]; /* Client host name */ 101 char my_hostnam[MAXHOSTNAMELEN]; /* Client host name */
|
/freebsd-current/lib/libc/rpc/ |
H A D | netname.c | 55 #ifndef MAXHOSTNAMELEN 56 #define MAXHOSTNAMELEN 256 macro 120 char hostname[MAXHOSTNAMELEN+1];
|
H A D | clnt_simple.c | 55 #ifndef MAXHOSTNAMELEN 56 #define MAXHOSTNAMELEN 64 macro 69 char host[MAXHOSTNAMELEN]; /* Servers host */ 182 if ((strlen(host) < (size_t)MAXHOSTNAMELEN) &&
|
/freebsd-current/contrib/tcp_wrappers/ |
H A D | workarounds.c | 33 * Some AIX versions advertise a too small MAXHOSTNAMELEN value (32). 39 #if (MAXHOSTNAMELEN < 64) 40 #undef MAXHOSTNAMELEN macro 45 #ifndef MAXHOSTNAMELEN 46 #define MAXHOSTNAMELEN 256 /* storage for host name */ macro 195 static char mydomain[MAXHOSTNAMELEN]; 198 return (getdomainname(mydomain, MAXHOSTNAMELEN));
|
/freebsd-current/libexec/rbootd/ |
H A D | conf.c | 60 char MyHost[MAXHOSTNAMELEN]; /* host name */
|
H A D | defs.h | 54 #ifndef MAXHOSTNAMELEN 55 #define MAXHOSTNAMELEN 256 macro
|
/freebsd-current/bin/domainname/ |
H A D | domainname.c | 46 char domainname[MAXHOSTNAMELEN];
|
/freebsd-current/contrib/mtree/ |
H A D | extern.h | 48 /* For MAXHOSTNAMELEN on some platforms. */ 52 #ifndef MAXHOSTNAMELEN 53 #define MAXHOSTNAMELEN 256 macro
|
/freebsd-current/include/protocols/ |
H A D | timed.h | 53 char tsp_name[MAXHOSTNAMELEN];
|
/freebsd-current/bin/hostname/ |
H A D | hostname.c | 46 char hostname[MAXHOSTNAMELEN], *hostp, *p;
|
/freebsd-current/usr.sbin/cron/cron/ |
H A D | macros.h | 69 #ifndef MAXHOSTNAMELEN 70 #define MAXHOSTNAMELEN 256 macro
|
/freebsd-current/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-current/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo_hostspec.c | 48 char host[MAXHOSTNAMELEN];
|
/freebsd-current/usr.bin/talk/ |
H A D | get_names.c | 59 char hostname[MAXHOSTNAMELEN];
|
/freebsd-current/lib/libutil/ |
H A D | trimdomain.c | 57 static char domain[MAXHOSTNAMELEN];
|
/freebsd-current/sys/sys/ |
H A D | jail.h | 63 char pr_host[MAXHOSTNAMELEN]; 74 char pr_host[MAXHOSTNAMELEN]; 75 char pr_name[MAXHOSTNAMELEN]; 201 char pr_name[MAXHOSTNAMELEN]; /* (p) admin jail name */ 203 char pr_hostname[MAXHOSTNAMELEN]; /* (p) jail hostname */ 204 char pr_domainname[MAXHOSTNAMELEN]; /* (p) jail domainname */ 211 char prr_name[MAXHOSTNAMELEN];
|
/freebsd-current/crypto/heimdal/appl/login/ |
H A D | login_access.c | 166 static char name[MAXHOSTNAMELEN + 1] = ""; 170 name[MAXHOSTNAMELEN] = 0;
|