Searched refs:hostname (Results 1 - 25 of 429) sorted by last modified time

1234567891011>>

/freebsd-9.3-release/sys/conf/
H A Dnewvers.sh90 v=`cat version` u=${USER:-root} d=`pwd` h=${HOSTNAME:-`hostname`} t=`date`
/freebsd-9.3-release/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>
168 char *hostname = NULL; /* host, used in cert filenames */ variable
[all...]
/freebsd-9.3-release/contrib/ntp/sntp/
H A Dconfigure574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
2558 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
31196 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32475 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
H A Dmain.c173 printf("%s: Must supply at least one of -b hostname, -c hostname, or hostname.\n",
807 char *hostname; local
811 hostname = addrinfo_to_str(ai);
812 TRACE(2, ("check_kod: checking <%s>\n", hostname));
813 if (search_entry(hostname, &reason)) {
815 hostname);
817 free(hostname);
821 free(hostname);
[all...]
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntp_control.c2636 if (p->hostname != NULL)
2637 ctl_putstr(peer_var[id].text, p->hostname,
2638 strlen(p->hostname));
H A Dntp_proto.c604 char hostname[NTP_MAXSTRLEN + 1]; local
757 if ( hostlen >= sizeof(hostname)
763 memcpy(hostname, &ep->pkt, hostlen);
764 hostname[hostlen] = '\0';
765 groupname = strchr(hostname, '@');
4284 * pool_xmit - resolve hostname or send unicast solicitation for pool.
4313 pool->hostname,
4321 pool->hostname));
4325 pool->hostname);
H A Dntp_peer.c176 const char * hostname,
189 if (p->hostname != NULL
194 && !strcasecmp(p->hostname, hostname))
258 const char * hostname,
264 if (hostname != NULL)
265 return findexistingpeer_name(hostname, AF(addr),
512 if (p->hostname != NULL)
513 free(p->hostname);
561 const char * hostname,
175 findexistingpeer_name( const char * hostname, u_short hname_fam, struct peer * start_peer, int mode ) argument
256 findexistingpeer( sockaddr_u * addr, const char * hostname, struct peer * start_peer, int mode, u_char cast_flags ) argument
559 peer_config( sockaddr_u * srcadr, const char * hostname, endpt * dstadr, u_char hmode, u_char version, u_char minpoll, u_char maxpoll, u_int flags, u_int32 ttl, keyid_t key, const char * ident ) argument
751 newpeer( sockaddr_u * srcadr, const char * hostname, endpt * dstadr, u_char hmode, u_char version, u_char minpoll, u_char maxpoll, u_int flags, u_char cast_flags, u_int32 ttl, keyid_t key, const char * ident ) argument
[all...]
H A Dntp_config.c1688 printf("Selecting ip address %s for hostname %s\n",
3802 * the hostname off to the blocking child.
3823 /* we have a hostname to resolve */
3844 "hostname %s can not be used, please use IP address instead.",
3875 * the hostname off to the blocking child.
3896 /* we have a hostname to resolve */
3922 "hostname %s can not be used, please use IP address instead.",
4077 * It's not a numeric IP address, it's a hostname.
4078 * Check for associations with a matching hostname.
4081 if (p->hostname !
[all...]
H A Dntp_crypto.c3878 char hostname[MAXFILENAME]; /* host name buffer */ local
3931 gethostname(hostname, sizeof(hostname));
3933 strlcpy(hostname, host_filename, sizeof(hostname));
3935 passwd = estrdup(hostname);
3941 * Load required host key from file "ntpkey_host_<hostname>". If
3946 snprintf(filename, sizeof(filename), "ntpkey_host_%s", hostname);
3974 * Load optional sign key from file "ntpkey_sign_<hostname>". If
3977 snprintf(filename, sizeof(filename), "ntpkey_sign_%s", hostname);
[all...]
/freebsd-9.3-release/contrib/ntp/include/
H A Dntp.h263 char * hostname; /* if non-NULL, remote name */ member in struct:peer
264 struct addrinfo *addrs; /* hostname query result */
/freebsd-9.3-release/contrib/ntp/
H A Dconfigure574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
2770 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
38015 on `(hostname || uname -n) 2>/dev/null | sed 1q`
[all...]
H A DMakefile.in597 BHOST = `(hostname || uname -n)`
H A DMakefile.am149 BHOST=`(hostname || uname -n)`
H A Dflock-build3 IAM=`hostname || uname -n`
/freebsd-9.3-release/sys/compat/linux/
H A Dlinux_misc.c1644 return (userland_sysctl(td, name, 2, 0, 0, 0, args->hostname,
/freebsd-9.3-release/crypto/openssh/
H A Dsession.c1641 launch_login(struct passwd *pw, const char *hostname) argument
1645 execl(LOGIN_PROGRAM, "login", "-h", hostname,
1711 const char *shell, *shell0, *hostname = NULL; local
1782 /* we have to stash the hostname before we close our socket. */
1784 hostname = get_remote_name_or_ip(utmp_len,
1876 launch_login(pw, hostname);
2691 char hostname[MAXHOSTNAMELEN]; local
2728 if (gethostname(hostname, sizeof(hostname)) < 0)
2747 he = gethostbyname(hostname);
[all...]
H A Dreadconf.c205 { "hostname", oHostName },
499 if (options->hostname != NULL) {
501 host = percent_expand(options->hostname,
618 fatal("%s line %d: empty hostname suffix", filename, linenum);
620 fatal("%s line %d: hostname suffix \"%.100s\" "
626 fatal("%s line %d: hostname suffix \"%.100s\" contains "
630 fatal("%s line %d: hostname suffix \"%.100s\" contains "
998 charptr = &options->hostname;
1435 fatal("%s line %d: too many hostname suffixes.",
1611 options->hostname
[all...]
/freebsd-9.3-release/crypto/openssl/apps/
H A Ds_socket.c295 int (*cb) (char *hostname, int s, unsigned char *context),
294 do_server(int port, int type, int *ret, int (*cb) (char *hostname, int s, unsigned char *context), unsigned char *context) argument
H A Ds_apps.h155 int (*cb) (char *hostname, int s, unsigned char *context),
H A Ds_server.c190 static int sv_body(char *hostname, int s, unsigned char *context);
191 static int www_body(char *hostname, int s, unsigned char *context);
1570 static int sv_body(char *hostname, int s, unsigned char *context) argument
2016 static int www_body(char *hostname, int s, unsigned char *context) argument
/freebsd-9.3-release/contrib/ntp/sntp/tests/
H A DkodFile.c53 TEST_ASSERT_EQUAL_STRING("192.0.2.5", res->hostname);
58 TEST_ASSERT_EQUAL_STRING("192.0.2.100", res->hostname);
73 TEST_ASSERT_EQUAL_STRING("192.0.2.5", res->hostname);
78 TEST_ASSERT_EQUAL_STRING("192.0.2.100", res->hostname);
83 TEST_ASSERT_EQUAL_STRING("example.com", res->hostname);
H A DkodDatabase.c38 TEST_ASSERT_EQUAL_STRING(HOST, result->hostname);
61 TEST_ASSERT_EQUAL_STRING(HOST1, result->hostname);
65 TEST_ASSERT_EQUAL_STRING(HOST2, result->hostname);
69 TEST_ASSERT_EQUAL_STRING(HOST3, result->hostname);
/freebsd-9.3-release/sys/amd64/linux32/
H A Dlinux32_systrace_args.c485 uarg[0] = (intptr_t) p->hostname; /* char * */
H A Dlinux32_proto.h231 char hostname_l_[PADL_(char *)]; char * hostname; char hostname_r_[PADR_(char *)]; member in struct:linux_sethostname_args
/freebsd-9.3-release/contrib/ntp/ntpq/
H A Dlibntpq.c217 * hostname char* Hostname/IP of the host running ntpd
230 char *hostname,
234 if ( openhost(hostname, fam) )
229 ntpq_openhost( char *hostname, int fam ) argument

Completed in 766 milliseconds

1234567891011>>