/freebsd-9.3-release/libexec/ftpd/ |
H A D | ftpd.c | 156 char *hostname; variable 165 char *hostname; member in struct:ftphost 637 if ((hostname = malloc(MAXHOSTNAMELEN)) == NULL) 639 if (gethostname(hostname, MAXHOSTNAMELEN - 1) < 0) 640 hostname[0] = '\0'; 641 hostname[MAXHOSTNAMELEN - 1] = '\0'; 644 reply(220, "%s FTP server (%s) ready.", hostname, version); 681 char *hostname; local 689 if ((hostname = malloc(MAXHOSTNAMELEN)) == NULL) 691 if (gethostname(hostname, MAXHOSTNAMELE [all...] |
/freebsd-9.3-release/libexec/getty/ |
H A D | main.c | 100 char hostname[MAXHOSTNAMELEN]; variable 195 gethostname(hostname, sizeof(hostname) - 1); 196 hostname[sizeof(hostname) - 1] = '\0'; 197 if (hostname[0] == '\0') 198 strcpy(hostname, "Amnesiac");
|
/freebsd-9.3-release/usr.sbin/nfsuserd/ |
H A D | nfsuserd.c | 110 char hostname[MAXHOSTNAMELEN + 1], *cp; local 125 if (gethostname(hostname, MAXHOSTNAMELEN) == 0) { 126 if ((cp = strchr(hostname, '.')) != NULL && 132 error = getaddrinfo(hostname, NULL, &hints, &aip); 156 strncpy(hostname, *argv, MAXHOSTNAMELEN); 157 hostname[MAXHOSTNAMELEN] = '\0'; 158 dnsname = hostname;
|
/freebsd-9.3-release/contrib/telnet/telnet/ |
H A D | commands.c | 101 char *hostname; variable 1657 * hostname. 2055 printf("Connected to %s.\n", hostname); 2191 printf("?Already connected to %s\n", hostname); 2269 fprintf(stderr, "hostname too long for unix domain socket: %s", 2273 hostname = hostp; 2294 (hostname = strrchr(hostp, ':')) == NULL) 2295 hostname = strrchr(hostp, '@'); 2296 if (hostname == NULL) { 2297 hostname [all...] |
/freebsd-9.3-release/contrib/ntp/util/ |
H A D | ntp-keygen.c | 10 * All file names are like "ntpkey_<type>_<hostname>.<filestamp>", where 11 * <type> is the file type, <hostname> the generating host name and 17 * ntpkey_MD5key_<hostname>.<filestamp> 21 * ntpkey_RSAhost_<hostname>.<filestamp> 22 * ntpkey_host_<hostname> 25 * ntpkey_RSAsign_<hostname>.<filestamp> 26 * ntpkey_sign_<hostname> 29 * ntpkey_DSAsign_<hostname>.<filestamp> 30 * ntpkey_sign_<hostname> 38 * ntpkey_XXXcert_<hostname> 168 char *hostname = NULL; /* host, used in cert filenames */ variable [all...] |
/freebsd-9.3-release/libexec/bootpd/ |
H A D | bootpd.c | 159 static const char *hostname; 257 report(LOG_ERR, "bootpd: can't get hostname\n"); 261 hostname = default_hostname; 310 case 'h': /* override hostname */ 320 "bootpd: missing hostname\n"); 323 hostname = stmp; 375 * Get my hostname and IP address. 378 hep = gethostbyname(hostname); 589 "usage: bootpd [-i | -s] [-c chdir-path] [-d level] [-h hostname] [-t timeout]\n"); 593 fprintf(stderr, "\t -h n\tset the hostname t 158 static const char *hostname; variable [all...] |
/freebsd-9.3-release/libexec/pppoed/ |
H A D | pppoed.c | 500 char hostname[MAXHOSTNAMELEN], *exec, rhook[NG_HOOKSIZ]; local 584 if (gethostname(hostname, sizeof hostname)) 585 strcpy(hostname, "localhost"); 586 else if ((dot = strchr(hostname, '.'))) 589 acname = hostname;
|
/freebsd-9.3-release/libexec/bootpd/bootpgw/ |
H A D | bootpgw.c | 143 char *hostname; 225 errx(1, "can't get hostname"); 226 hostname = my_uname.nodename; 228 hep = gethostbyname(hostname); 142 char *hostname; variable
|
/freebsd-9.3-release/libexec/bootpd/tools/bootptest/ |
H A D | bootptest.c | 115 char *hostname; variable 170 errx(1, "can't get hostname"); 171 hostname = my_uname.nodename; 336 hep = gethostbyname(hostname);
|
/freebsd-9.3-release/tools/regression/ipfw/fwd/ |
H A D | vimage-fwd.sh | 189 ljid=`jail -i -c -n lef$$ host.hostname=left.example.net vnet persist` 192 mjid=`jail -i -c -n mid$$ host.hostname=center.example.net vnet persist` 195 rjid=`jail -i -c -n right$$ host.hostname=right.example.net vnet persist`
|
/freebsd-9.3-release/usr.sbin/cron/cron/ |
H A D | do_command.c | 482 auto char hostname[MAXHOSTNAMELEN]; local 484 (void) gethostname(hostname, MAXHOSTNAMELEN); 494 usernm, first_word(hostname, "."),
|
/freebsd-9.3-release/contrib/amd/fsinfo/ |
H A D | fsinfo.h | 62 extern char hostname[];
|
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftp/ |
H A D | kauth.c | 120 afs_string_to_key (passwd, krb_realmofhost(hostname), &key);
|
/freebsd-9.3-release/crypto/openssh/ |
H A D | readconf.h | 88 char *hostname; /* Real host to connect. */ member in struct:__anon4718 89 char *host_key_alias; /* hostname alias for .ssh/known_hosts */
|
/freebsd-9.3-release/etc/rc.d/ |
H A D | Makefile | 55 hostname \
|
/freebsd-9.3-release/lib/libc/rpc/ |
H A D | rpc_soc.c | 433 char hostname[NI_MAXHOST]; local 437 * Change addr to hostname, because that is the way 440 if (getnameinfo(syncaddr, syncaddr->sa_len, hostname, 441 sizeof hostname, NULL, 0, 0) != 0) 444 nauth = authdes_seccreate(servername, window, hostname, ckey);
|
/freebsd-9.3-release/sbin/ipf/libipf/ |
H A D | Makefile | 10 hostname.c icmpcode.c initparse.c ionames.c \
|
/freebsd-9.3-release/usr.sbin/timed/timed/ |
H A D | globals.h | 121 #define hostname (self.name) macro
|
/freebsd-9.3-release/usr.sbin/timed/timedc/ |
H A D | cmds.c | 81 daydiff(hostname) 82 char *hostname; 129 hostname, sec); 140 warnx("%s will not tell us the date", hostname);
|
/freebsd-9.3-release/usr.sbin/ypserv/ |
H A D | ypinit.sh | 8 HOSTNAME=/bin/hostname 105 # Check if hostname is set, don't accept an empty hostname 109 The local host's hostname has not been set. Please set it with the 110 hostname(1) command.
|
/freebsd-9.3-release/contrib/bind9/lib/lwres/ |
H A D | getrrset.c | 26 * a hostname, class, and type. hostname is a pointer a to 140 /*% Returns a set of resource records associated with a hostname, class, and type. hostname is a pointer a to null-terminated string. */ 142 lwres_getrrsetbyname(const char *hostname, unsigned int rdclass, argument 181 lwresult = lwres_getrdatabyname(lwrctx, hostname,
|
/freebsd-9.3-release/contrib/ipfilter/lib/ |
H A D | printstate.c | 24 PRINTF("%s -> ", hostname(sp->is_v, &sp->is_src.in4)); 26 hostname(sp->is_v, &sp->is_dst.in4), sp->is_pass, sp->is_p,
|
/freebsd-9.3-release/crypto/heimdal/lib/gssapi/ |
H A D | test_ntlm.c | 70 type1.hostname = NULL; 196 type1.hostname = NULL;
|
/freebsd-9.3-release/crypto/heimdal/lib/hx509/ |
H A D | req.c | 141 const char *hostname) 147 name.u.dNSName = rk_UNCONST(hostname); 139 _hx509_request_add_dns_name(hx509_context context, hx509_request req, const char *hostname) argument
|
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | getrrsetbyname-ldns.c | 63 getrrsetbyname(const char *hostname, unsigned int rdclass, argument 98 domain = ldns_dname_new_frm_str(hostname);
|