/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | netname.c | 273 char domainname[MAXHOSTNAMELEN + 1]; in host2netname() local 304 if (len >= sizeof (domainname)) { in host2netname() 307 (void) strcpy(domainname, p); in host2netname() 309 domainname[0] = NULL; in host2netname() 310 if (getdomainname(domainname, MAXHOSTNAMELEN) < 0) in host2netname() 315 if (len >= sizeof (domainname)) { in host2netname() 318 (void) strcpy(domainname, domain); in host2netname() 321 i = strlen(domainname); in host2netname() 325 if (domainname[i - 1] == '.') in host2netname() 326 domainname[i - 1] = 0; in host2netname() [all …]
|
H A D | netnamer.c | 470 char *p, *domainname; in netname2host() local 485 domainname = strchr(p, '@'); /* get domain name */ in netname2host() 486 if (domainname == 0) in netname2host() 489 len = domainname - p; /* host sits between '.' and '@' */ in netname2host() 490 domainname++; /* skip '@' sign */ in netname2host() 510 dlen = strlen(domainname); in netname2host() 518 (void) strncpy(hostname+len+1, domainname, dlen); in netname2host()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSEmbeddedAPI.h | 1272 typedef struct { mDNSu8 c[256]; } domainname; // Up to 255 bytes of length-prefixed domainlabels typedef 1420 typedef packedstruct { mDNSu16 priority; mDNSu16 weight; mDNSIPPort port; domainname target; } rd… 1421 typedef packedstruct { mDNSu16 preference; domainname exchange; } rd… 1424 domainname mname; 1425 domainname rname; 1481 domainname name; // For PTR, NS, and CNAME records 1520 domainname *name; 1567 domainname zone; // the zone that is updated 1642 domainname namestorage; 1662 domainname *name; // Common name for all CacheRecords in this list [all …]
|
H A D | DNSCommon.h | 229 extern mDNSu16 CompressedDomainNameLength(const domainname *const name, const domainname *parent); 275 …const DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit, const domainname *const name); 294 …n(DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit, const domainname *const name, mDN… 296 extern mDNSu8 *putZone(DNSMessage *const msg, mDNSu8 *ptr, mDNSu8 *limit, const domainname *zone, m… 298 extern mDNSu8 *putPrereqNameNotInUse(domainname *name, DNSMessage *msg, mDNSu8 *ptr, mDNSu8 *end); 302 extern mDNSu8 *putDeleteRRSet(DNSMessage *msg, mDNSu8 *ptr, const domainname *name, mDNSu16 rrtype… 304 extern mDNSu8 *putDeleteAllRRSets(DNSMessage *msg, mDNSu8 *ptr, const domainname *name); 317 extern mDNSu32 DomainNameHashValue(const domainname *const name); 325 domainname *const name);
|
H A D | DNSCommon.c | 573 mDNSexport mDNSBool SameDomainName(const domainname *const d1, const domainname *const d2) in SameDomainName() 591 mDNSexport mDNSBool IsLocalDomain(const domainname *d) in IsLocalDomain() 595 static const domainname *nL = (domainname*)"\x5" "local"; in IsLocalDomain() 596 …static const domainname *nR = (domainname*)"\x3" "254" "\x3" "169" "\x7" "in-addr" "\x4" "… in IsLocalDomain() 597 …static const domainname *n8 = (domainname*)"\x1" "8" "\x1" "e" "\x1" "f" "\x3" "ip6" "\x4" "… in IsLocalDomain() 598 …static const domainname *n9 = (domainname*)"\x1" "9" "\x1" "e" "\x1" "f" "\x3" "ip6" "\x4" "… in IsLocalDomain() 599 …static const domainname *nA = (domainname*)"\x1" "a" "\x1" "e" "\x1" "f" "\x3" "ip6" "\x4" "… in IsLocalDomain() 600 …static const domainname *nB = (domainname*)"\x1" "b" "\x1" "e" "\x1" "f" "\x3" "ip6" "\x4" "… in IsLocalDomain() 602 const domainname *d1, *d2, *d3, *d4, *d5, *d6; // Top-level domain, second-level domain, etc. in IsLocalDomain() 607 d = (domainname*)(d->c + 1 + d->c[0]); in IsLocalDomain() [all …]
|
H A D | uds_daemon.h | 98 extern void udsserver_default_reg_domain_changed(const domainname *d, mDNSBool add); 99 extern void udsserver_default_browse_domain_changed(const domainname *d, mDNSBool add); 116 extern int CountExistingRegistrations(domainname *srv, mDNSIPPort port);
|
H A D | PlatformCommon.h | 37 …sFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *c…
|
H A D | PlatformCommon.c | 100 …sFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *c… in ReadDDNSSettingsFromConfFile()
|
H A D | PosixDaemon.c | 144 static domainname DynDNSZone; // Default wide-area zone for service registration 145 static domainname DynDNSHostname;
|
/titanic_41/usr/src/head/rpcsvc/ |
H A D | yp.x | 76 typedef string domainname<YPMAXDOMAIN>; 84 domainname domain; 91 domainname domain; 97 domainname domain; 210 domainname ypsetdom_domain; 225 YPPROC_DOMAIN(domainname) = 1; 228 YPPROC_DOMAIN_NONACK(domainname) = 2; 255 YPPROC_MAPLIST(domainname) = 11; 283 YPBINDPROC_DOMAIN(domainname) = 1;
|
/titanic_41/usr/src/cmd/keyserv/ |
H A D | domainname.c | 48 char domainname[256]; variable 64 if (getdomainname(domainname, sizeof (domainname)) < 0) { in main() 68 printf("%s\n", domainname); in main()
|
H A D | Makefile | 27 BINPROG = keylogout keylogin domainname chkey 44 DOMAINNAMEOBJS = domainname.o 111 domainname: $(DOMAINNAMEOBJS) target
|
/titanic_41/usr/src/cmd/backup/lib/ |
H A D | rmtlib.c | 49 static char *domainname = "hsm_libdump"; /* for dgettext() */ variable 144 print(dgettext(domainname, "Lost connection to remote host.\n")); in rmtconnaborted() 163 print(dgettext(domainname, in rmtgetconn() 169 print(dgettext(domainname, in rmtgetconn() 222 print(dgettext(domainname, in okname() 288 print(dgettext(domainname, in rmtstatus() 291 print(dgettext(domainname, in rmtstatus() 332 print(dgettext(domainname, in rmtread() 335 print(dgettext(domainname, in rmtread() 480 print(dgettext(domainname, in rmtreply() [all …]
|
H A D | getdate.y | 104 static char *domainname = "hsm_libdump"; /* for dgettext() */ variable 731 dgettext(domainname, "%s: Environment variable %s not set\n"), 739 dgettext(domainname, "%s: Unkown getdate() error\n"), p); 743 dgettext(domainname, "%s: %s null or undefined\n"), p, name); 746 fprintf(stderr, dgettext(domainname, 750 fprintf(stderr, dgettext(domainname, 754 fprintf(stderr, dgettext(domainname, 758 fprintf(stderr, dgettext(domainname, 762 fprintf(stderr, dgettext(domainname, 766 fprintf(stderr, dgettext(domainname, [all …]
|
/titanic_41/usr/src/cmd/perl/contrib/Sun/Solaris/Utils/ |
H A D | Utils.xs | 74 dcgettext(domainname, msgid, category) 75 char *domainname 84 dgettext(domainname, msgid) 85 char *domainname
|
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/props/ |
H A D | MessageCatalog.java | 42 public MessageCatalog(String domainname, Locale locale) in MessageCatalog() argument 45 this.domainname = domainname; in MessageCatalog() 49 resource = ResourceBundle.getBundle(domainname, locale); in MessageCatalog() 57 public MessageCatalog(String domainname) in MessageCatalog() argument 59 this(domainname, Locale.getDefault()); in MessageCatalog() 199 private String domainname; field in MessageCatalog
|
/titanic_41/usr/src/common/iscsi/ |
H A D | utils.c | 254 char domainname[256]; in utils_iqn_create() local 265 if (getdomainname(domainname, sizeof (domainname))) { in utils_iqn_create() 270 strlen(domainname) + 2)) == NULL) { in utils_iqn_create() 279 if ((p = strchr(domainname, '.')) == NULL) in utils_iqn_create() 280 p = domainname; in utils_iqn_create()
|
/titanic_41/usr/src/cmd/msgfmt/ |
H A D | gnu_handle.c | 219 handle_domain(char *domainname) in handle_domain() argument 228 cur_line, cur_po, domainname); in handle_domain() 230 free(domainname); in handle_domain() 239 tmp = Xrealloc(domainname, strlen(domainname) + 3 + 1); in handle_domain() 241 domainname = tmp; in handle_domain() 243 catalog_init(domainname); in handle_domain() 244 free(domainname); in handle_domain()
|
/titanic_41/usr/src/cmd/ypcmd/ |
H A D | yp.sh | 36 domain=`domainname` 109 domain=`domainname` 141 domain=`domainname`
|
H A D | makedbm.c | 127 char *infilename, *outfilename, *mastername, *domainname, local 143 infilename = outfilename = mastername = domainname = interdomain_bind = 169 domainname = argv[1]; 438 if (domainname) 439 addpair(fdb, yp_domain_name, domainname);
|
/titanic_41/usr/src/cmd/logadm/ |
H A D | tester | 588 $domainname = `/bin/domainname`; chomp $domainname; 621 domain $domainname 660 $domainname = `/bin/domainname`; chomp $domainname; 692 domain $domainname
|
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | conditions.c | 78 const char *domainname); 80 const char *domainname); 305 test_condition_sys_domain(nwam_condition_t condition, const char *domainname) in test_condition_sys_domain() argument 312 return (test_condition_domain(condition, domainname, cur_domainname)); in test_condition_sys_domain() 316 test_condition_adv_domain(nwam_condition_t condition, const char *domainname) in test_condition_adv_domain() argument 341 if ((test_condition_domain(condition, domainname, in test_condition_adv_domain() 343 (test_condition_domain(condition, domainname, in test_condition_adv_domain()
|
/titanic_41/usr/src/stand/lib/sa/ |
H A D | libintl.c | 38 dgettext(const char *domainname, const char *msgid) in dgettext() argument
|
/titanic_41/usr/src/cmd/svc/milestone/ |
H A D | identity-domain | 34 /usr/bin/domainname $mydomain
|
H A D | net-netmask | 60 domain=`/usr/bin/domainname 2>/dev/null`
|