Home
last modified time | relevance | path

Searched refs:hostname (Results 51 – 75 of 290) sorted by relevance

12345678910>>...12

/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-io.c390 char *hostname = NULL; in prldap_connect() local
437 if ( NULL != hostname ) { in prldap_connect()
438 ldap_memfree(hostname); in prldap_connect()
439 hostname = NULL; in prldap_connect()
442 hostname = nsldapi_strdup(host); in prldap_connect()
458 if ( NULL != hostname && NULL != dhost ) *dhost = hostname; in prldap_connect()
459 else if ( NULL != hostname ) ldap_memfree(hostname); in prldap_connect()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_filter.c1509 hostname); in ipaddr_match()
1511 pr_err("couldn't resolve %s", hostname); in ipaddr_match()
1524 hostname); in ipaddr_match()
1526 pr_err("couldn't resolve %s", hostname); in ipaddr_match()
1578 hostname); in ipaddr_match()
1759 sscanf(hostname, "%u.%u", &net, &node); in ataddr_match()
1845 if (isxdigit(*hostname)) in etheraddr_match()
1846 ep = ether_aton(hostname); in etheraddr_match()
1848 if (ether_hostton(hostname, &e)) in etheraddr_match()
1849 if (!arp_for_ether(hostname, &e)) in etheraddr_match()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dnetnamer.c467 netname2host(const char *netname, char *hostname, const int hostlen) in netname2host() argument
506 (void) strncpy(hostname, p, len); in netname2host()
516 hostname[len] = '.'; in netname2host()
517 (void) strncpy(hostname+len+1, domainname, dlen); in netname2host()
518 hostname[len+dlen+1] = '\0'; in netname2host()
526 hostname[0] = '\0'; in netname2host()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon.c172 char *hostname __P((int, int, u_32_t *));
524 char *hostname(res, v, ip) in hostname() function
858 hostname(res, sl->isl_v, (u_32_t *)&sl->isl_src),
1136 hostname(res, v, d),
1160 hostname(res, v, d), proto, hl, plen);
1164 (void) sprintf(t, "%s -> ", hostname(res, v, s));
1167 hostname(res, v, d), hl, plen,
1171 (void) sprintf(t, "%s -> ", hostname(res, v, s));
1174 hostname(res, v, d), hl, plen,
1242 (void) sprintf(t, "%s -> ", hostname(res, v, s));
[all …]
H A Dipnat_y.y107 %type <ipa> hostname ipv4 ipaddr
328 | IPNY_RANGE hostname '-' hostname
340 hostname { bcopy(&$1.a, &nat->in_in[0],
354 | hostname '/' YY_NUMBER { if ($1.v == 0)
382 | hostname ',' { yyexpectaddr = 1; } hostname
573 | hostname { $$.a = $1.a;
585 | hostname '/' YY_NUMBER { $$.a = $1.a;
605 | hostname '/' ipaddr { if ($1.v != $3.v) {
618 | hostname '/' hexnumber { $$.a = $1.a;
636 | hostname IPNY_MASK hexnumber { $$.a = $1.a;
[all …]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddirectory_provider_nsswitch.c70 int host_name_len = strlen(_idmapdstate.hostname); in directory_provider_nsswitch_get()
72 (void) strcpy(my_host_name, _idmapdstate.hostname); in directory_provider_nsswitch_get()
324 pwd->pw_name, _idmapdstate.hostname); in directory_provider_nsswitch_populate()
349 pwd->pw_name, _idmapdstate.hostname); in directory_provider_nsswitch_populate()
387 grp->gr_name, _idmapdstate.hostname); in directory_provider_nsswitch_populate()
407 grp->gr_name, _idmapdstate.hostname); in directory_provider_nsswitch_populate()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dwhois.c256 whois(const char *query, const char *hostname, int flags) in whois() argument
271 hostres = gethostinfo(hostname, 1); in whois()
288 if (strcmp(hostname, GERMNICHOST) == 0) { in whois()
290 } else if (strcmp(hostname, "dk" QNICHOST_TAIL) == 0) { in whois()
325 } else if (strcmp(hostname, ANICHOST) == 0) { in whois()
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_rshd.c59 audit_rshd_fail(msg, hostname, remuser, locuser, cmdbuf) in audit_rshd_fail() argument
61 char *hostname; /* hostname of machine requesting service */
75 audit_rshd_success(hostname, remuser, locuser, cmdbuf) in audit_rshd_success() argument
76 char *hostname; /* hostname of machine requesting service */ in audit_rshd_success()
/illumos-gate/usr/src/cmd/tsol/misc/
H A Dtxzonemgr.sh465 hostname=$(zenity --entry \
471 if [ $hostname = dhcp ] ; then
497 hostname=$(hostname)
498 hostname=$(zenity --entry \
502 --entry-text $hostname)
800 hostname=$(zenity --entry \
838 print $hostname > /etc/hostname.$nic
883 if_file=/etc/hostname.$nic
893 if_file=/etc/hostname.$nic
1248 rm -f /etc/hostname.$nic
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Din.talkd.c61 char hostname[HOST_NAME_LENGTH]; variable
72 int name_length = sizeof (hostname); in main()
76 (void) sysinfo(SI_HOSTNAME, hostname, name_length); in main()
/illumos-gate/usr/src/lib/libadt_jni/com/sun/audit/
H A DAuditSession.java68 String hostname, int context) in sessionAttr() argument
205 String hostname, int context) { in setUser() argument
210 hostname, context); in setUser()
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_data.c301 local_hostname_length(const char *hostname) { in local_hostname_length() argument
306 len_host = strlen(hostname); in local_hostname_length()
309 !strcasecmp(hostname + len_host - len_domain, _res.defdname) && in local_hostname_length()
310 hostname[len_host - len_domain - 1] == '.') in local_hostname_length()
/illumos-gate/usr/src/cmd/ypcmd/
H A Drpc_bootstrap.c75 __clnt_tp_create_bootstrap(hostname, prog, vers, nconf) in __clnt_tp_create_bootstrap() argument
76 char *hostname; in __clnt_tp_create_bootstrap()
109 vers, nconf, svc_taddr, hostname) == FALSE) {
135 __rpcb_getaddr_bootstrap(program, version, nconf, address, hostname) in __rpcb_getaddr_bootstrap() argument
140 char *hostname;
167 hent = __files_gethostbyname(hostname, type);
170 if (inet_pton(type, hostname, addr) == 1) {
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dprintfraginfo.c19 printf("%s%s -> ", prefix, hostname(4, &ifr->ipfr_src));
24 hostname(4, &ifr->ipfr_dst), ifr->ipfr_id, ifr->ipfr_ttl,
/illumos-gate/usr/src/cmd/sendmail/cf/sh/
H A Dmakeinfo.sh66 if [ -f $p/hostname ]
84 host=`hostname`
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c837 get_Hname(ip_addr, hostname, sizeof (hostname)); in pa_tid32()
841 hostname); in pa_tid32()
894 get_Hname(ip_addr[0], hostname, sizeof (hostname)); in pa_tid32_ex()
897 hostname); in pa_tid32_ex()
913 get_Hname_ex(ip_addr, hostname, sizeof (hostname)); in pa_tid32_ex()
916 hostname); in pa_tid32_ex()
963 get_Hname(ip_addr[0], hostname, sizeof (hostname)); in pa_ip_addr()
979 get_Hname_ex(ip_addr, hostname, sizeof (hostname)); in pa_ip_addr()
1021 get_Hname(ip_addr, hostname, sizeof (hostname)); in pa_tid64()
1075 get_Hname(ip_addr[0], hostname, sizeof (hostname)); in pa_tid64_ex()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c66 char hostname[MAXHOSTNAMELEN]; variable
170 (void) gethostname(hostname, sizeof (hostname)); in main()
359 cr, name, sizeof (hostname), hostname, cr); in notify()
H A Din.rlogind.c353 static char hostname[MAXHOSTNAMELEN + 1]; variable
637 do_krb_login(int f, char *host_addr, char *hostname, in do_krb_login() argument
660 host_addr, hostname, error_message(status)); in do_krb_login()
1005 fromplen, hostname, sizeof (hostname), in doit()
1012 (void) strlcpy(hostname, abuf, sizeof (hostname)); in doit()
1021 hostname, sizeof (hostname)); in doit()
1032 hostname, abuf); in doit()
1037 do_krb_login(f, rhost_addra, hostname, in doit()
1054 (no_name ? abuf : hostname)); in doit()
1188 "-r", hostname, in doit()
[all …]
/illumos-gate/usr/src/cmd/login/
H A Dlogin_audit.c207 const char *hostname, const char *ttyname, char *optional_text) in audit_failure() argument
231 if (*hostname == '\0') in audit_failure()
234 (void) adt_load_hostname(hostname, &p_tid); in audit_failure()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dmk_req.c60 krb5_flags ap_req_options, char *service, char *hostname, in krb5_mk_req() argument
68 retval = krb5_sname_to_principal(context, hostname, service, in krb5_mk_req()
/illumos-gate/usr/src/cmd/vi/port/
H A Dexpreserve.c406 char hostname[MAXHOSTNAMELEN]; in notify() local
409 if (gethostname((char *)hostname, namelen) == -1) in notify()
422 …ours was saved on %s when the editor was killed\nor was unable to save your changes.\n", hostname); in notify()
430 was killed or was unable to save your changes.\n", fname, (cryflag) ? "[ENCRYPTED]" : "", hostname); in notify()
/illumos-gate/usr/src/lib/libsocket/inet/
H A Drexec.c73 static char hostname[MAXHOSTNAMELEN]; in rexec_af() local
99 (void) strlcpy(hostname, res->ai_canonname, MAXHOSTNAMELEN); in rexec_af()
100 *ahost = hostname; in rexec_af()
/illumos-gate/usr/src/lib/libadt_jni/common/
H A Dadt_jni.c301 const char *hostname; in Java_com_sun_audit_AuditSession_sessionAttr() local
310 hostname = (*env)->GetStringUTFChars(env, jhostname, NULL); in Java_com_sun_audit_AuditSession_sessionAttr()
312 if (adt_load_hostname(hostname, &termid)) { in Java_com_sun_audit_AuditSession_sessionAttr()
319 (*env)->ReleaseStringUTFChars(env, jhostname, hostname); in Java_com_sun_audit_AuditSession_sessionAttr()
/illumos-gate/usr/src/cmd/sendmail/lib/
H A Dhelpfile26 helo HELO <hostname>
28 ehlo EHLO <hostname>
89 etrn ETRN [ <hostname> | @<domain> | \#<queuename> ]
90 etrn Run the queue for the specified <hostname>, or
121 -bt /canon hostname :try to canonify hostname.
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_info.c281 char hostname[MAXHOSTNAMELEN]; in smb_getfqhostname() local
284 hostname[0] = '\0'; in smb_getfqhostname()
287 if (smb_gethostname(hostname, MAXHOSTNAMELEN, in smb_getfqhostname()
294 if (hostname[0] == '\0') in smb_getfqhostname()
298 (void) strlcpy(buf, hostname, buflen); in smb_getfqhostname()
302 (void) snprintf(buf, buflen, "%s.%s", hostname, domain); in smb_getfqhostname()

12345678910>>...12