Searched refs:host (Results 176 - 200 of 468) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c100 int nl_hcnt; /* number of host names */
169 * Gets the number of interfaces for the specified host.
170 * if host is NULL then total number of interfaces
314 * Adds an association between the given host and the specified interface
320 * host: actual system's name (not Netbios name)
322 * the specified host. Can be NULL.
329 smb_nic_addhost(const char *host, const char *cmnt, argument
337 if ((host == NULL) || (if_num <= 0) || (if_names == NULL))
361 rc = smb_nic_dbaddhost(host, cmnt, if_list);
370 * Removes the stored interface association for the specified host
373 smb_nic_delhost(const char *host) argument
801 char *host; local
1063 smb_nic_dbaddhost(const char *host, const char *cmnt, char *if_list) argument
1096 smb_nic_dbdelhost(const char *host) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c171 * Currently, only the host rdist runs on can have masters.
310 * rname is the name of the file on the remote host.
752 error("%s:%s: %s\n", host, target, strerror(errno));
845 host, target);
878 error("%s:%s: %s\n", host, target, strerror(errno));
986 error("%s:%s: %s\n", host, new, strerror(olderrno));
998 error("%s:%s: %s\n", host, new, strerror(errno));
1031 note("%s:utimes failed %s: %s", host, new, strerror(errno));
1040 error("%s:%s: %s\n", host, target, strerror(errno));
1092 error("%s:%s: not a regular file\n", host, targe
[all...]
/opensolaris-onvv-gate/usr/src/lib/libadutils/common/
H A Dadutils.c57 static void delete_ds(adutils_ad_t *ad, const char *host, int port);
559 delete_ds((*ad), p->host, p->port);
605 adh->ld = ldap_init(adh->host, adh->port);
608 "%s port %d failed. (%s)", adh->host,
636 "%s port %d failed. (%s)", adh->host, adh->port,
642 adh->host, adh->port);
754 /* Free this host if its owner no longer exists. */
757 delete_ds(NULL, adh->host, adh->port);
766 adutils_add_ds(adutils_ad_t *ad, const char *host, int port) argument
778 if (strcmp(host,
834 delete_ds(adutils_ad_t *ad, const char *host, int port) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drlogin.c156 static char *host; variable
249 "[-k realm] [-l username] host"),
325 * create links named by a host pointing to the binary and type
326 * "hostname" to log into that host afterwards.
335 host = argv[1];
341 host = cmd;
396 * Force the remote host to prompt for a password by sending
453 if (host == NULL) {
457 host = *argv++;
633 * it to host
[all...]
/opensolaris-onvv-gate/usr/src/cmd/mailx/hdr/
H A Dglob.h73 extern char host[]; /* ???? */
/opensolaris-onvv-gate/usr/src/cmd/print/lpset/
H A Dlpset.c109 *host = NULL, local
149 host = optarg;
230 cred->host = host;
/opensolaris-onvv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dbsd-misc.c59 int innetgr(const char *netgroup, const char *host, argument
/opensolaris-onvv-gate/usr/src/cmd/ssh/sshd/
H A Dauth-options.c207 "host (host=%.200s, ip=%.200s).",
209 auth_debug_add("Your host '%.200s' is not "
221 char host[256], sport[6]; local
247 if (sscanf(patterns, "%255[^:]:%5[0-9]", host, sport) != 2 &&
248 sscanf(patterns, "%255[^/]/%5[0-9]", host, sport) != 2) {
265 channel_add_permitted_opens(host, port);
/opensolaris-onvv-gate/usr/src/cmd/wbem/provider/c/filesystems/common/mount_methods/
H A Dmountprov_methods.c129 * Description: Shows the list of shared file systems on a certain host by
135 * representing the host to show exports on.
149 char *host; local
161 * 1.) string host
170 host = hostProp->mValue;
172 commandLen = strlen(SHOWEXPORTS) + strlen(host) + 1;
182 host);
/opensolaris-onvv-gate/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.h76 struct hostent *host; member in struct:hostlist_s
/opensolaris-onvv-gate/usr/src/lib/librpcsvc/common/
H A Dbootparam_prot.h50 char host; member in struct:ip_addr_t
/opensolaris-onvv-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent6.c37 /* host attributes filters */
83 * on fully qualified host names (foo.bar.sun.com)
115 /* Is this a request for a host.domain */
117 char host[MAXHOSTNAMELEN]; local
121 /* separate host and domain. this function */
126 if (chophostdomain(hname, host, domain) == -1) {
133 /* host.domain and host */
138 _F_GETHOSTS6DOTTEDBYNAME, hostname, host);
143 _F_GETHOSTS6DOTTEDBYNAME_SSD, hostname, host);
[all...]
/opensolaris-onvv-gate/usr/src/lib/print/libipp-listener/common/
H A Dcommon.c201 char *host = "localhost"; local
206 (void) papiAttributeListGetString(request, NULL, "uri-host", &host);
211 snprintf(buf, sizeof (buf), "ipp://%s%s", host, path);
213 snprintf(buf, sizeof (buf), "http://%s:%d%s", host, port, path);
/opensolaris-onvv-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_subr.c132 cmn_err(CE_NOTE, "!host: %s\n", svp->ri_hostname);
143 rdc_create_svinfo(char *host, struct netbuf *svaddr, struct knetconfig *conf) argument
146 int hlen = strlen(host) + 1;
152 if (host == NULL) {
185 (void) strncpy(nvp->ri_hostname, host, hlen);
/opensolaris-onvv-gate/usr/src/uts/common/rpc/
H A Dbootparam.h53 char host; member in struct:ip_addr_t
/opensolaris-onvv-gate/usr/src/cmd/rpcsvc/
H A Drup.c52 int singlehost(); /* returns 1 if rup of given host fails */
74 int hflag; /* host: sort by machine name */
189 singlehost(host)
190 char *host;
213 err = (enum clnt_stat)callrpc(host, RSTATPROG, RSTATVERS_VAR,
218 err = (enum clnt_stat)callrpc(host, RSTATPROG, RSTATVERS_TIME,
227 printf("%*.*s ", MACHINELEN, MACHINELEN, host);
235 entry[curentry].machine = host;
258 fprintf(stderr, "%*.*s: ", MACHINELEN, MACHINELEN, host);
538 fprintf(stderr, "Usage: rup [-h] [-l] [-t] [host
[all...]
/opensolaris-onvv-gate/usr/src/cmd/wbem/provider/com/sun/wbem/solarisprovider/srm/
H A Dstats.java42 * -h host
50 String host = ""; field in class:stats
65 "\t" + "-h host -I auth_user_id -P auth_user_passwd\n" +
111 host = args[i].substring(2, l);
113 host = args[++i];
267 new CIMValue(host));
340 if (host.length() == 0) {
342 host = new String(InetAddress.getLocalHost().getHostName());
358 CIMNameSpace ns = new CIMNameSpace(host);
/opensolaris-onvv-gate/usr/src/lib/libast/common/uwin/
H A Drcmd.c124 2, "unknown host"));
126 fprintf(stderr, "%s: unknown host\n", *ahost);
410 /* enable all host for + entry */
418 /* disable all host for - entry */
428 /* disable host from -hostname entry */
432 /* disable host from -@netgroup entry for host */
444 /* enable host from +@netgroup entry for host */
509 char *host, *use local
541 char *host, *user, *domain; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libldap4/common/
H A Dos-ip.c136 connect_to_host(Sockbuf *sb, char *host, in_addr_t address, argument
139 * if host == NULL, connect using address
161 "%1$s:%2$d\n"), (host == NULL) ? catgets(slapdcat, 1, 202,
162 "(by address)") : host, ntohs(port), 0);
166 if (host != NULL && (address = inet_addr(host)) == -1) {
168 if ((hp = gethostbyname_r(host, &hpret, hpbuf,
171 if ((hp = gethostbyname(host)) == NULL) {
H A Dcldap.c85 cldap_open( char *host, int port ) argument
120 if (( ld = ldap_init( host, port )) == NULL ) {
138 * 'host' may be a space-separated list.
140 if ( host != NULL ) {
141 for ( ; host != NULL; host = p ) {
142 if (( p = strchr( host, ' ' )) != NULL ) {
148 if ( (address = inet_addr( host )) == -1 ) {
150 if ( (hp = gethostbyname_r( host, &hpret, hpbuf, NSS_BUFLEN_HOSTS, &hperrno)) == NULL ) {
155 if ( (hp = gethostbyname( host ))
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c353 if (strcmp(rl[0].host, "nfs") == 0 &&
365 size_t len = strlen(rl[0].host);
369 if (strncasecmp(rl[0].host,
381 rc = getnfsquota(rl[0].host, rl[0].path, uid, &dqblk);
393 len = strlen(rl[0].host);
398 strncpy(tmp_srv->serv_name, rl[0].host,
813 fprintf(stderr, "quota permission error, host: %s\n", hostp);
817 fprintf(stderr, "bad rpc result, host: %s\n", hostp);
825 callaurpc(char *host, int prognum, int versnum, int procnum, argument
842 strcmp(oldhost, host) !
[all...]
/opensolaris-onvv-gate/usr/src/lib/libast/common/comp/
H A Dsyslog.c327 if (!*log.host && gethostname(log.host, sizeof(log.host)-1))
328 strcpy(log.host, "localhost");
329 sfprintf(sp, " %s", log.host);
/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_ng.c181 ng_next(struct irs_ng *this, const char **host, const char **user, argument
187 *host = pvt->nextgrp->ng_str[NG_HOST];
201 const char *host, const char *user, const char *domain)
207 if ((host == NULL || ng_host == NULL ||
208 !strcmp(host, ng_host)) &&
200 ng_test(struct irs_ng *this, const char *name, const char *host, const char *user, const char *domain) argument
/opensolaris-onvv-gate/usr/src/cmd/krb5/kadmin/kdcmgr/
H A Dkdcmgr.sh293 echo "$host">$TMP_FILE
295 # do nothing, host is in fqhn format
299 printf "\n$(gettext "Improper format of host name: '%s'").\n"
303 # Attach fqdn to host, to get the Fully Qualified Domain
304 # Name of the host requested
305 host=$(echo "$host.$domain")
310 # Ping to see if the host is alive!
312 ping_check $host
365 $KADMINL -q "ank -randkey host/
[all...]
/opensolaris-onvv-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Din.lpd.c171 * use the host as known by us, not by them
174 * "job-originating-host-name", ++entry);
379 /* use the host as known by us, not by them */
380 char *host = remote_host_name(ifp); local
382 if (host != NULL) {
384 "job-originating-host-name", host);
385 free(host);
602 if ((uri == NULL) || (uri->scheme == NULL) || (uri->host == NULL)) {
613 /* is it the local host
754 char *host = remote_host_name(ifp); local
[all...]

Completed in 151 milliseconds

1234567891011>>