Searched refs:hostlabel (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSPosix.c | 1313 m->hostlabel.c[0] = 0; 1314 GetUserSpecifiedRFC1034ComputerName(&m->hostlabel); 1315 if (m->hostlabel.c[0] == 0) MakeDomainLabelFromLiteralString(&m->hostlabel, "Computer");
|
H A D | DNSCommon.c | 947 mDNSexport void ConvertUTF8PstringToRFC1034HostLabel(const mDNSu8 UTF8Name[], domainlabel *const hostlabel) argument 951 mDNSu8 * ptr = &hostlabel->c[1]; 952 const mDNSu8 *const lim = &hostlabel->c[1] + MAX_DOMAIN_LABEL; 961 if (mDNSValidHostChar(*src, (ptr > &hostlabel->c[1]), (src < end-1))) *ptr++ = *src; 962 else if (ptr > &hostlabel->c[1] && ptr[-1] != '-') *ptr++ = '-'; 966 while (ptr > &hostlabel->c[1] && ptr[-1] == '-') ptr--; // Truncate trailing '-' marks 967 hostlabel->c[0] = (mDNSu8)(ptr - &hostlabel->c[1]); 2663 AppendDomainLabel(&hinfo.namestorage, &m->hostlabel);
|
H A D | mDNSEmbeddedAPI.h | 2377 domainlabel hostlabel; // Conforms to RFC 1034 "letter-digit-hyphen" ARPANET host name rules member in struct:mDNS_struct 2888 extern void ConvertUTF8PstringToRFC1034HostLabel(const mDNSu8 UTF8Name[], domainlabel *const hostlabel);
|
H A D | mDNS.c | 12686 if (!AppendDomainLabel(&newmname, &m->hostlabel)) { LogMsg("ERROR: mDNS_SetFQDN: Cannot create MulticastHostname"); return; } 12727 domainlabel oldlabel = m->hostlabel; 12736 if (SameDomainLabel(m->hostlabel.c, oldlabel.c)) 12737 IncrementLabelSuffix(&m->hostlabel, mDNSfalse); 12739 // 3. Generate the FQDNs from the hostlabel, 12742 LogMsg("Local Hostname %#s.local already in use; will try %#s.local instead", oldlabel.c, m->hostlabel.c); 14322 m->hostlabel.c[0] = 0;
|
H A D | uDNS.c | 2876 hinfoSize = (m->hostlabel.c[0] + 1) + DomainNameLength(&AuthInfo->domain) +
|
Completed in 138 milliseconds