/freebsd-9.3-release/usr.sbin/bsdconfig/networking/share/ |
H A D | Makefile | 6 FILES= common.subr device.subr hostname.subr ipaddr.subr media.subr \
|
/freebsd-9.3-release/usr.sbin/rpc.statd/ |
H A D | statd.h | 76 char hostname[SM_MAXSTRLEN + 1]; /* Name of monitored host */ member in struct:__anon11064 107 extern HostInfo *find_host(char * /*hostname*/, int /*create*/);
|
/freebsd-9.3-release/usr.sbin/sysinstall/ |
H A D | media.c | 317 char *cp, hbuf[MAXHOSTNAMELEN], *hostname, *dir; local 343 "A URL looks like this: ftp://<hostname>/<path>\n" 365 hostname = hbuf; 382 if (*hostname == '[' && (cp = index(hostname + 1, ']')) != NULL && 384 ++hostname; 388 cp = index(hostname, ':'); 395 if ((dir = index(cp ? cp : hostname, '/')) != NULL) 398 msgDebug("hostname = `%s'\n", hostname); 464 char *cp, *idx, hbuf[MAXHOSTNAMELEN], *hostname; local 521 char *cp, hbuf[MAXPATHLEN], *hostname, *dir; local 681 char hostname[MAXPATHLEN]; local [all...] |
/freebsd-9.3-release/crypto/openssh/ |
H A D | audit-linux.c | 44 const char *hostname, const char *ip, const char *ttyn, int success) 58 username == NULL ? uid : -1, hostname, ip, ttyn, success); 88 if (linux_audit_record_event(li->uid, NULL, li->hostname, 43 linux_audit_record_event(int uid, const char *username, const char *hostname, const char *ip, const char *ttyn, int success) argument
|
H A D | loginrec.h | 70 char hostname[LINFO_HOSTSIZE]; /* remote hostname */ member in struct:logininfo 90 const char *hostname, const char *line); 95 const char *hostname, const char *line);
|
/freebsd-9.3-release/lib/libpam/modules/pam_login_access/ |
H A D | pam_login_access.c | 60 char hostname[MAXHOSTNAMELEN]; local 80 gethostname(hostname, sizeof hostname);
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | findconfig.c | 20 char hostname[BUFSIZ], *cp; local 29 /* First choice is my hostname */ 30 if (gethostname(hostname, BUFSIZ) >= 0) { 31 snprintf(result, sizeof(result), "%s/%s", base, hostname);
|
/freebsd-9.3-release/crypto/heimdal/appl/test/ |
H A D | nt_gss_client.c | 46 proto (int sock, const char *hostname, const char *service) argument 61 "%s@%s", service, hostname); 72 "Error importing name `%s@%s':\n", service, hostname); 77 err (1, "getsockname(%s)", hostname); 82 err (1, "getpeername(%s)", hostname);
|
H A D | common.c | 137 client_doit (const char *hostname, int port, const char *service, argument 138 int (*func)(int, const char *hostname, const char *service)) 151 error = getaddrinfo (hostname, portstr, &hints, &ai); 153 errx (1, "%s: %s", hostname, gai_strerror(error)); 164 warn ("connect(%s)", hostname); 169 return (*func) (s, hostname, service); 171 warnx ("failed to contact %s", hostname);
|
/freebsd-9.3-release/contrib/ntp/sntp/tests/ |
H A D | kodFile.c | 53 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);
|
/freebsd-9.3-release/usr.sbin/rpc.umntall/ |
H A D | rpc.umntall.c | 138 /* Missing hostname. */ 167 * Send a RPC_MNT UMNTALL request to hostname. 172 do_umntall(char *hostname) { argument 179 clp = clnt_create_timed(hostname, MOUNTPROG, MOUNTVERS, "udp", 182 warnx("%s: %s", hostname, clnt_spcreateerror("MOUNTPROG")); 190 warnx("%s: %s", hostname, clnt_sperror(clp, "MOUNTPROC_UMNTALL")); 197 * Send a RPC_MNT UMOUNT request for dirp to hostname. 200 do_umount(char *hostname, char *dirp) { argument 207 clp = clnt_create_timed(hostname, MOUNTPROG, MOUNTVERS, "udp", 210 warnx("%s: %s", hostname, clnt_spcreateerro 227 is_mounted(char *hostname, char *dirp) argument [all...] |
/freebsd-9.3-release/contrib/bind9/lib/bind9/ |
H A D | getaddresses.c | 50 bind9_getaddresses(const char *hostname, in_port_t port, argument 65 REQUIRE(hostname != NULL); 82 if (inet_pton(AF_INET, hostname, &in4) == 1) { 89 } else if (strlen(hostname) <= 127U) { 93 strcpy(tmpbuf, hostname); 151 result = getaddrinfo(hostname, NULL, &hints, &ai); 193 he = gethostbyname(hostname);
|
/freebsd-9.3-release/sbin/iscontrol/ |
H A D | iscontrol.c | 236 char hostname[MAXHOSTNAMELEN]; local 239 if(gethostname(hostname, sizeof(hostname)) == 0) 240 asprintf(&op->initiatorName, "%s:%s", op->iqn, hostname); 245 if(gethostname(hostname, sizeof(hostname)) == 0) 246 asprintf(&op->initiatorName, "%s", hostname);
|
/freebsd-9.3-release/contrib/cvs/contrib/ |
H A D | rcs2log.sh | 103 hostname= # name of local host (if empty, will deduce it later) 120 -h) hostname=${2?}; shift;; 547 case $hostname in 549 hostname=`( 550 hostname || uname -n || uuname -l || cat /etc/whoami 552 echo >&2 "$0: cannot deduce hostname" 556 case $hostname in 561 *.*) hostname=$hostname.$domainname;; 708 # default to author and author@hostname i [all...] |
H A D | descend.sh | 81 echo In directory `hostname`:`pwd` 122 echo In directory `hostname`:`pwd`/$file: symbolic link: skipping
|
/freebsd-9.3-release/contrib/cvs/src/ |
H A D | root.c | 303 newroot->hostname = NULL; 333 if (root->hostname != NULL) 334 free (root->hostname); 488 /* Don't parse username, password, hostname, or port without client 557 newroot->hostname = xstrdup (cvsroot_copy); 598 if (newroot->username && ! newroot->hostname) 600 error (0, 0, "Missing hostname in CVSROOT."); 612 if (newroot->username || newroot->hostname) 614 error (0, 0, "Can't specify hostname and username in CVSROOT"); 639 if (newroot->username || newroot->hostname) 748 char *p, *hostname, *username; local [all...] |
H A D | root.h | 39 char *hostname; /* The hostname or NULL if method == local. */ member in struct:cvsroot_s 41 char *proxy_hostname; /* The hostname of the proxy server, or NULL
|
/freebsd-9.3-release/contrib/telnet/libtelnet/ |
H A D | krb4encpwd.c | 157 char hostname[80], *cp, *realm; local 164 gethostname(hostname, sizeof(hostname)); 165 realm = krb_realmofhost(hostname); 166 cp = strchr(hostname, '.'); 168 if (read_service_key(KRB_SERVICE_NAME, hostname, realm, 0, 285 char hostname[80], *realm; local 307 gethostname(hostname, sizeof(hostname)); 308 realm = krb_realmofhost(hostname); [all...] |
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | fake-rfc2553.c | 155 getaddrinfo(const char *hostname, const char *servname, argument 183 if (hostname && inet_aton(hostname, &in) != 0) 191 if (!hostname) { 198 if (inet_aton(hostname, &in)) { 209 hp = gethostbyname(hostname);
|
/freebsd-9.3-release/contrib/ntp/scripts/monitoring/ |
H A D | ntptrap | 161 sub hostname 166 &debug(sprintf("hostname(%d.%d.%d.%d) = \"%s\"",unpack("C4",$addr),$name)) 199 &debug(sprintf("Request: %s: %s(%d)",&hostname($addr), &ntp'cntrlop_name($op), $assoc)); #';)) 257 &debug("-Packet from ",&hostname($from)); 262 &debug(sprintf("%s uses auth_keyid %d",&hostname($from),$auth_keyid)) if defined($auth_keyid); 319 &debug(sprintf("Refreshing trap for %s", &hostname($addr))); 333 &hostname(substr($tag,$[,4)), 338 &hostname(substr($tag,$[,4)), 351 &hostname($from),$seq); 400 &hostname(pac [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | test_forward.c | 55 "hostname"); 62 const char *hostname; local 90 hostname = argv[0]; 126 hostname,
|
/freebsd-9.3-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-9.3-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-9.3-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-9.3-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");
|