Searched refs:hostlabel (Results 1 – 9 of 9) sorted by relevance
/external/mdnsresponder/mDNSPosix/ |
D | ProxyResponder.c | 49 domainlabel hostlabel; // Conforms to standard DNS letter-digit-hyphen host name rules member 76 AppendDomainLabel(&p->RR_A.namestorage, &p->hostlabel); in mDNS_RegisterProxyHost() 267 MakeDomainLabelFromLiteralString(&proxyhost.hostlabel, argv[2]); in main()
|
D | mDNSPosix.c | 1257 m->hostlabel.c[0] = 0; in mDNSPlatformInit() 1258 GetUserSpecifiedRFC1034ComputerName(&m->hostlabel); in mDNSPlatformInit() 1259 if (m->hostlabel.c[0] == 0) MakeDomainLabelFromLiteralString(&m->hostlabel, "Computer"); in mDNSPlatformInit()
|
/external/mdnsresponder/mDNSCore/ |
D | DNSCommon.c | 658 …rt void ConvertUTF8PstringToRFC1034HostLabel(const mDNSu8 UTF8Name[], domainlabel *const hostlabel) in ConvertUTF8PstringToRFC1034HostLabel() argument 662 mDNSu8 * ptr = &hostlabel->c[1]; in ConvertUTF8PstringToRFC1034HostLabel() 663 const mDNSu8 *const lim = &hostlabel->c[1] + MAX_DOMAIN_LABEL; in ConvertUTF8PstringToRFC1034HostLabel() 672 if (mDNSValidHostChar(*src, (ptr > &hostlabel->c[1]), (src < end-1))) *ptr++ = *src; in ConvertUTF8PstringToRFC1034HostLabel() 673 else if (ptr > &hostlabel->c[1] && ptr[-1] != '-') *ptr++ = '-'; in ConvertUTF8PstringToRFC1034HostLabel() 677 while (ptr > &hostlabel->c[1] && ptr[-1] == '-') ptr--; // Truncate trailing '-' marks in ConvertUTF8PstringToRFC1034HostLabel() 678 hostlabel->c[0] = (mDNSu8)(ptr - &hostlabel->c[1]); in ConvertUTF8PstringToRFC1034HostLabel() 1986 AppendDomainLabel(&hinfo.namestorage, &m->hostlabel); in putHINFO()
|
D | mDNSEmbeddedAPI.h | 1869 domainlabel hostlabel; // Conforms to RFC 1034 "letter-digit-hyphen" ARPANET host name rules member 2352 …id ConvertUTF8PstringToRFC1034HostLabel(const mDNSu8 UTF8Name[], domainlabel *const hostlabel);
|
D | mDNS.c | 9265 …if (!AppendDomainLabel(&newmname, &m->hostlabel)) { LogMsg("ERROR: mDNS_SetFQDN: Cannot create Mu… in mDNS_SetFQDN() 9312 domainlabel oldlabel = m->hostlabel; in mDNS_HostNameCallback() 9321 if (SameDomainLabel(m->hostlabel.c, oldlabel.c)) in mDNS_HostNameCallback() 9322 IncrementLabelSuffix(&m->hostlabel, mDNSfalse); in mDNS_HostNameCallback() 9327 …"Local Hostname %#s.local already in use; will try %#s.local instead", oldlabel.c, m->hostlabel.c); in mDNS_HostNameCallback() 10695 m->hostlabel.c[0] = 0; in mDNS_Init()
|
D | uDNS.c | 2540 hinfoSize = (m->hostlabel.c[0] + 1) + DomainNameLength(&AuthInfo->domain) + in RRAdditionalSize()
|
/external/mdnsresponder/mDNSWindows/ |
D | mDNSWin32.c | 2385 ConvertUTF8PstringToRFC1034HostLabel( tempLabel.c, &inMDNS->hostlabel ); in SetupHostName() 2386 if( inMDNS->hostlabel.c[ 0 ] == 0 ) in SetupHostName() 2390 MakeDomainLabelFromLiteralString( &inMDNS->hostlabel, kMDNSDefaultName ); in SetupHostName() 2393 check( inMDNS->hostlabel.c[ 0 ] != 0 ); in SetupHostName() 2397 …ebugLevelInfo, DEBUG_NAME "host name \"%.*s\"\n", inMDNS->hostlabel.c[ 0 ], &inMDNS->hostlabel.c[ … in SetupHostName()
|
/external/openscreen/osp/impl/discovery/mdns/ |
D | mdns_responder_adapter_impl.cc | 235 MakeDomainLabelFromLiteralString(&mdns_.hostlabel, host_label.c_str()); in SetHostLabel()
|
/external/mdnsresponder/mDNSShared/ |
D | uds_daemon.c | 2143 strncpy(&(mDNSStorage.hostlabel.c[1]), hostName, len); in handle_sethost_request() 2144 mDNSStorage.hostlabel.c[0] = len; in handle_sethost_request()
|