Searched refs:hostname (Results 201 - 225 of 429) sorted by relevance

1234567891011>>

/freebsd-current/crypto/heimdal/lib/ntlm/
H A Dntlm.c524 if (data->hostname)
525 free(data->hostname);
535 struct sec_buffer domain, hostname; local
555 CHECK(ret_sec_buffer(in, &hostname), 0);
565 CHECK(ret_sec_string(in, 0, &hostname, &data->hostname), 0);
593 struct sec_buffer domain, hostname; local
604 if (type1->hostname) {
620 hostname.offset = domain.allocated + domain.offset;
621 if (type1->hostname) {
[all...]
/freebsd-current/sbin/ipf/ipnat/
H A Dipnat_y.y117 %type <ipa> hostname ipv4 ipaddr
606 | hostname '-' { yyexpectaddr = 1; } hostname
618 | IPNY_RANGE hostname '-' { yyexpectaddr = 1; } hostname
633 hostname ',' { yyexpectaddr = 1; } hostname
668 | hostname '-' hostname { bzero(&$$, sizeof($$));
679 | IPNY_RANGE hostname '
1152 hostname: label
[all...]
/freebsd-current/contrib/telnet/telnet/
H A Dcommands.c96 char *hostname; variable
1653 * hostname.
2052 printf("Connected to %s.\n", hostname);
2189 printf("?Already connected to %s\n", hostname);
2267 fprintf(stderr, "hostname too long for unix domain socket: %s",
2271 hostname = hostp;
2293 (hostname = strrchr(hostp, ':')) == NULL)
2294 hostname = strrchr(hostp, '@');
2295 if (hostname == NULL) {
2296 hostname
[all...]
/freebsd-current/usr.sbin/traceroute/
H A Dtraceroute.c317 char *hostname; variable
724 hostname = argv[optind];
725 hi = gethostinfo(hostname);
730 prog, hostname, inet_ntoa(to->sin_addr));
731 hostname = hi->name;
995 prog, hostname, inet_ntoa(to->sin_addr));
1297 prog, hostname, packlen, cc);
1897 gethostinfo(register char *hostname) argument
1905 if (strlen(hostname) >= MAXHOSTNAMELEN) {
1906 Fprintf(stderr, "%s: hostname \"
1969 getaddr(register u_int32_t *ap, register char *hostname) argument
[all...]
/freebsd-current/contrib/ntp/util/
H A Dntp-keygen.c10 * 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>
172 char *hostname = NULL; /* host, used in cert filenames */ variable
[all...]
/freebsd-current/usr.bin/tftp/
H A Dmain.c242 "Invalid URI: Couldn't find / after hostname\n");
277 static char hostname[MAXHOSTNAMELEN]; variable
334 (void) strlcpy(hostname, res->ai_canonname,
335 sizeof(hostname));
337 (void) strlcpy(hostname, host, sizeof(hostname));
488 cp, hostname, targ, mode);
517 argv[n], hostname, path, mode);
594 hostname, src, cp, mode);
607 hostname, sr
[all...]
/freebsd-current/libexec/bootpd/
H A Dbootpd.c149 static const char *hostname;
245 report(LOG_ERR, "bootpd: can't get hostname\n");
249 hostname = default_hostname;
301 case 'h': /* override hostname */
311 "bootpd: missing hostname\n");
314 hostname = stmp;
366 * Get my hostname and IP address.
369 hep = gethostbyname(hostname);
580 "usage: bootpd [-a] [-i | -s] [-c chdir-path] [-d level] [-h hostname]\n"
585 fprintf(stderr, " -h n\tset the hostname t
148 static const char *hostname; variable
[all...]
/freebsd-current/libexec/nuageinit/
H A Dnuage.lua38 local function sethostname(hostname)
39 if hostname == nil then return end
44 local hostnamepath = root .. "/etc/rc.conf.d/hostname"
52 f:write("hostname=\""..hostname.."\"\n")
/freebsd-current/contrib/tcpdump/
H A Dprint-pptp.c103 nd_byte hostname[64]; member in struct:pptp_msg_sccrq
115 nd_byte hostname[64]; member in struct:pptp_msg_sccrp
247 2 u_char hostname[64];
392 const u_char *hostname)
395 nd_printjnp(ndo, hostname, 64);
545 pptp_hostname_print(ndo, ptr->hostname);
562 pptp_hostname_print(ndo, ptr->hostname);
391 pptp_hostname_print(netdissect_options *ndo, const u_char *hostname) argument
/freebsd-current/libexec/pppoed/
H A Dpppoed.c500 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-current/lib/libpmcstat/
H A Dlibpmcstat_logging.c432 char hostname[MAXHOSTNAMELEN]; local
454 if (p == path || hlen >= sizeof(hostname)) {
459 assert(hlen < sizeof(hostname));
460 (void) strncpy(hostname, path, hlen);
461 hostname[hlen] = '\0';
466 if ((error = getaddrinfo(hostname, p+1, &hints, &res0)) != 0) {
/freebsd-current/release/tools/
H A Darm.subr207 local hostname
208 hostname="$(echo ${KERNEL} | tr '[:upper:]' '[:lower:]')"
209 echo "hostname=\"${hostname}\"" > ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
H A Dvmimage.subr76 local hostname
77 hostname="$(echo $(uname -o) | tr '[:upper:]' '[:lower:]')"
78 echo "hostname=\"${hostname}\"" >> ${DESTDIR}/etc/rc.conf
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dport-aix.c316 record_failed_login(struct ssh *ssh, const char *user, const char *hostname, argument
324 loginfailed((char *)user, (char *)hostname, (char *)ttyname,
327 loginfailed((char *)user, (char *)hostname, (char *)ttyname);
/freebsd-current/libexec/bootpd/tools/bootptest/
H A Dbootptest.c113 char *hostname; variable
163 errx(1, "can't get hostname");
164 hostname = my_uname.nodename;
329 hep = gethostbyname(hostname);
/freebsd-current/tools/regression/ipfw/fwd/
H A Dvimage-fwd.sh188 ljid=`jail -i -c -n lef$$ host.hostname=left.example.net vnet persist`
191 mjid=`jail -i -c -n mid$$ host.hostname=center.example.net vnet persist`
194 rjid=`jail -i -c -n right$$ host.hostname=right.example.net vnet persist`
/freebsd-current/libexec/bootpd/bootpgw/
H A Dbootpgw.c133 char *hostname;
213 errx(1, "can't get hostname");
214 hostname = my_uname.nodename;
216 hep = gethostbyname(hostname);
132 char *hostname; variable
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Host/
H A DSocketAddress.h38 GetAddressInfo(const char *hostname, const char *servname, int ai_family,
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerPlatform.h92 Status LaunchGDBServer(const lldb_private::Args &args, std::string hostname,
/freebsd-current/usr.sbin/ypserv/
H A Dypinit.sh7 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-current/usr.bin/systat/
H A Dextern.h41 extern char c, *namp, hostname[];
/freebsd-current/lib/libc/rpc/
H A Drpc_soc.c394 char hostname[NI_MAXHOST]; local
398 * Change addr to hostname, because that is the way
401 if (getnameinfo(syncaddr, syncaddr->sa_len, hostname,
402 sizeof hostname, NULL, 0, 0) != 0)
405 nauth = authdes_seccreate(servername, window, hostname, ckey);
/freebsd-current/sbin/ipf/common/
H A Dipmon.h126 #define HOSTNAME_V4(a,b) hostname((a), 4, (u_32_t *)&(b))
/freebsd-current/sbin/shutdown/
H A Dshutdown.c295 static char hostname[MAXHOSTNAMELEN + 1]; local
300 (void)gethostname(hostname, sizeof(hostname));
312 timeleft ? "": "FINAL ", whom, hostname);
/freebsd-current/usr.sbin/periodic/
H A Dperiodic.sh47 host=`hostname`

Completed in 369 milliseconds

1234567891011>>