/freebsd-11.0-release/lib/libc/rpc/ |
H A D | clnt_generic.c | 81 clnt_create_vers(const char *hostname, rpcprog_t prog, rpcvers_t *vers_out, argument 85 return (clnt_create_vers_timed(hostname, prog, vers_out, vers_low, 96 clnt_create_vers_timed(const char *hostname, rpcprog_t prog, argument 105 clnt = clnt_create_timed(hostname, prog, vers_high, nettype, tp); 164 clnt_create(const char *hostname, rpcprog_t prog, rpcvers_t vers, argument 168 return (clnt_create_timed(hostname, prog, vers, nettype, NULL)); 180 clnt_create_timed(const char *hostname, rpcprog_t prog, rpcvers_t vers, argument 216 clnt = clnt_tp_create_timed(hostname, prog, vers, nconf, tp); 266 clnt_tp_create(const char *hostname, rpcprog_t prog, rpcvers_t vers, argument 270 return (clnt_tp_create_timed(hostname, pro 280 clnt_tp_create_timed(const char *hostname, rpcprog_t prog, rpcvers_t vers, const struct netconfig *nconf, const struct timeval *tp) argument [all...] |
/freebsd-11.0-release/tools/regression/rpcsec_gss/ |
H A D | rpctest.c | 87 char hostname[128], service[128+5]; local 98 strlcpy(hostname, argv[1], sizeof(hostname)); 100 gethostname(hostname, sizeof(hostname)); 102 client = clnt_create(hostname, prog, vers, netid); 113 strcat(service, hostname); 135 hostname); 284 char hostname[128]; local 298 gethostname(hostname, sizeo [all...] |
/freebsd-11.0-release/crypto/heimdal/appl/test/ |
H A D | tcp_server.c | 47 char hostname[MAXHOSTNAMELEN]; local 64 if(gethostname (hostname, sizeof(hostname)) < 0) 68 hostname,
|
/freebsd-11.0-release/contrib/sendmail/contrib/ |
H A D | etrn.pl | 40 # must have 'hostname' program. 45 chop(my $name = `hostname || uname -n`); 47 my ($hostname) = (gethostbyname($name))[0]; 60 push(@hosts, $hostname); 88 unless $thishost =~ "$hostname|localhost"; 101 unless $thishost =~ $hostname; 192 &ps("ehlo $hostname");
|
H A D | bitdomain.c | 88 char buf[1024], *node, *hostname, *p; local 114 hostname = p; 121 if (strlen(hostname) > 7 && 122 !strcmp(hostname+strlen(hostname)-7, ".bitnet")) { 123 hostname[strlen(hostname)-7] = '\0'; 125 entry(node, hostname, sizeof(buf)-(hostname - buf));
|
/freebsd-11.0-release/contrib/serf/auth/ |
H A D | auth_spnego.h | 94 const char *hostname,
|
/freebsd-11.0-release/contrib/openpam/bin/su/ |
H A D | su.c | 73 char hostname[MAXHOSTNAMELEN]; local 103 gethostname(hostname, sizeof(hostname)); 104 if ((pam_err = pam_set_item(pamh, PAM_RHOST, hostname)) != PAM_SUCCESS)
|
/freebsd-11.0-release/lib/libstand/ |
H A D | globals.c | 24 char hostname[FNAME_SIZE]; /* our hostname */ variable
|
/freebsd-11.0-release/release/picobsd/mfs_tree/etc/ |
H A D | rc.network | 7 if [ -z "`hostname -s`" ] ; then 8 hostname $hostname 9 echo ' hostname'
|
/freebsd-11.0-release/contrib/ntp/sntp/tests/ |
H A D | kodDatabase.c | 38 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-11.0-release/usr.bin/rwall/ |
H A D | rwall.c | 134 char *tty, hostname[MAXHOSTNAMELEN], lbuf[256], tmpname[64]; local 147 gethostname(hostname, sizeof(hostname)); 159 whom, hostname);
|
/freebsd-11.0-release/usr.sbin/rpc.lockd/ |
H A D | lockd_lock.h | 14 void notify(const char *hostname, const int state);
|
/freebsd-11.0-release/crypto/heimdal/appl/kf/ |
H A D | kf.c | 120 * forward creds to `hostname'/`service' over `sock' 125 proto (int sock, const char *hostname, const char *service, argument 155 hostname, 245 hostname, 284 doit (const char *hostname, int port, const char *service, argument 298 error = getaddrinfo (hostname, portstr, &hints, &ai); 300 errx (1, "getaddrinfo(%s): %s", hostname, gai_strerror(error)); 310 warn ("connect(%s)", hostname); 315 return proto (s, hostname, service, message, len); 317 warnx ("failed to contact %s", hostname); [all...] |
/freebsd-11.0-release/lib/libc/net/ |
H A D | eui64.c | 89 static int eui64_line(const char *l, struct eui64 *e, char *hostname, 93 * Parse a string of text containing an EUI-64 and hostname 97 eui64_line(const char *l, struct eui64 *e, char *hostname, size_t len) argument 116 /* Find the hostname */ 119 if (strlcpy(hostname, cur, len) <= len) 215 * Map an EUI-64 to a hostname. Use either /etc/eui64 or NIS/YP. 218 eui64_ntohost(char *hostname, size_t len, const struct eui64 *id) argument 255 strcpy(hostname, local_host); 266 * Map a hostname to an EUI-64 using /etc/eui64 or NIS/YP. 269 eui64_hostton(const char *hostname, struc argument [all...] |
/freebsd-11.0-release/crypto/openssh/ |
H A D | dns.c | 170 * Check if hostname is numerical. 171 * Returns -1 if hostname is numeric, 0 otherwise 174 is_numeric_hostname(const char *hostname) argument 182 if (hostname == NULL) { 183 error("is_numeric_hostname called with NULL hostname"); 191 if (getaddrinfo(hostname, NULL, &hints, &ai) == 0) { 200 * Verify the given hostname, address and host key using DNS. 204 verify_host_key_dns(const char *hostname, struct sockaddr *address, argument 227 if (is_numeric_hostname(hostname)) { 228 debug("skipped DNS lookup for numerical hostname"); 315 export_dns_rr(const char *hostname, struct sshkey *key, FILE *f, int generic) argument [all...] |
/freebsd-11.0-release/contrib/amd/amd/ |
H A D | amd.c | 394 char hostname[MAXHOSTNAMELEN + 1] = "localhost"; /* Hostname */ local 431 if (gethostname(hostname, sizeof(hostname)) < 0) { 435 hostname[sizeof(hostname) - 1] = '\0'; 440 if (!*hostname) { 454 if ((domdot = strchr(hostname, '.'))) { 457 * Split out hostname and domainname 463 xstrlcpy(hostd, hostname, sizeof(hostd)); 464 am_set_hostname(hostname); [all...] |
/freebsd-11.0-release/contrib/ntp/ntpd/ |
H A D | ntp_peer.c | 176 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), 513 if (p->hostname != NULL) 514 free(p->hostname); 562 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 560 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 752 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...] |
/freebsd-11.0-release/crypto/heimdal/lib/krb5/ |
H A D | krbhst.c | 133 strlcpy(hi->hostname, rr->u.srv->target, len + 1); 227 memcpy(hi->hostname, &p[1], q - p - 1); 228 hi->hostname[q - p - 1] = '\0'; 233 } else if(strsep_copy(&p, ":", hi->hostname, strlen(spec) + 1) < 0) { 239 hi->hostname[strcspn(hi->hostname, "/")] = '\0'; 240 strlwr(hi->hostname); 269 size_t hostnamelen = strlen(from->hostname); 284 memcpy((*to)->hostname, from->hostname, hostnamele 324 krb5_krbhst_format_string(krb5_context context, const krb5_krbhst_info *host, char *hostname, size_t hostlen) argument 378 char *hostname = host->hostname; local 977 krb5_krbhst_next_as_string(krb5_context context, krb5_krbhst_handle handle, char *hostname, size_t hostlen) argument [all...] |
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Utility/ |
H A D | ModuleCache.cpp | 134 CreateHostSysRootModuleLink (const FileSpec &root_dir_spec, const char *hostname, argument 140 JoinPath (root_dir_spec, hostname), platform_module_spec.GetPath ().c_str ()); 193 const char *hostname, 207 const auto error = CreateHostSysRootModuleLink(root_dir_spec, hostname, target_file, module_file_path, true); 215 const char *hostname, 238 auto error = CreateHostSysRootModuleLink(root_dir_spec, hostname, module_spec.GetFileSpec(), module_file_path, false); 267 const char *hostname, 284 error = Get (root_dir_spec, hostname, module_spec, cached_module_sp, did_create_ptr); 295 error = Put (root_dir_spec, hostname, module_spec, tmp_download_file_spec, module_spec.GetFileSpec ()); 300 error = Get (root_dir_spec, hostname, module_spe 192 Put(const FileSpec &root_dir_spec, const char *hostname, const ModuleSpec &module_spec, const FileSpec &tmp_file, const FileSpec &target_file) argument 214 Get(const FileSpec &root_dir_spec, const char *hostname, const ModuleSpec &module_spec, ModuleSP &cached_module_sp, bool *did_create_ptr) argument 266 GetAndPut(const FileSpec &root_dir_spec, const char *hostname, const ModuleSpec &module_spec, const ModuleDownloader &module_downloader, const SymfileDownloader &symfile_downloader, lldb::ModuleSP &cached_module_sp, bool *did_create_ptr) argument [all...] |
/freebsd-11.0-release/crypto/heimdal/appl/ftp/ftpd/ |
H A D | extern.h | 126 extern char hostname[]; 144 extern char hostname[], remotehost[];
|
/freebsd-11.0-release/usr.sbin/bsdconfig/networking/ |
H A D | hostname | 27 # $FreeBSD: releng/11.0/usr.sbin/bsdconfig/networking/hostname 259054 2013-12-07 00:31:01Z dteske $ 39 f_include $BSDCFG_SHARE/networking/hostname.subr 70 # Change the local hostname
|
/freebsd-11.0-release/crypto/heimdal/kdc/ |
H A D | announce.c | 232 register_srv(const char *realm, const char *hostname, int port) argument 250 size = dn_comp(hostname, target + 6, sizeof(target) - 6, NULL, NULL); 256 LOG("register SRV rr for realm %s hostname %s:%d", realm, hostname, port); 305 char *hostname; local 310 hostname = CFString2utf8(host); 311 if (hostname == NULL) 323 register_srv(*r, hostname, 88); 328 free(hostname); 337 char *hostname; local [all...] |
/freebsd-11.0-release/usr.bin/lock/ |
H A D | lock.c | 98 char hostname[MAXHOSTNAMELEN], s[BUFSIZ], s1[BUFSIZ]; local 138 gethostname(hostname, sizeof(hostname)); 202 ttynam, hostname); 204 (void)printf("lock: %s on %s.", ttynam, hostname); 235 failures, failures > 1 ? "S": "", ttynam, hostname); 242 syslog(LOG_NOTICE, "ROOT UNLOCK ON hostname %s port %s", 243 hostname, ttynam);
|
/freebsd-11.0-release/contrib/netbsd-tests/net/sys/ |
H A D | t_rfc6056.c | 51 test(const char *hostname, const char *service, int family, int al) argument 75 error = getaddrinfo(hostname, service, &hints, &res); 78 hostname, gai_strerror(error));
|
/freebsd-11.0-release/contrib/ntp/sntp/ |
H A D | utilities.c | 182 * Formats the hostname and resulting numeric IP address into a string, 183 * avoiding duplication if the "hostname" was in fact a numeric address. 188 const char * hostname, 198 if (strcmp(hostname, addrtxt)) 200 hostname, addrtxt); 187 hostnameaddr( const char * hostname, const sockaddr_u * addr ) argument
|