/macosx-10.10/mDNSResponder-561.1.1/mDNSPosix/ |
H A D | ProxyResponder.c | 49 domainlabel hostlabel; // Conforms to standard DNS letter-digit-hyphen host name rules member in struct:__anon11091 76 AppendDomainLabel(&p->RR_A.namestorage, &p->hostlabel); 267 MakeDomainLabelFromLiteralString(&proxyhost.hostlabel, argv[2]); 289 fprintf(stderr, "%s ip hostlabel [srvname srvtype port txt [txt ...]]\n", argv[0]); 291 fprintf(stderr, "hostlabel First label of the dot-local host name to create for this host, e.g. \"foo\" for \"foo.local.\"\n");
|
H A D | mDNSPosix.c | 1235 m->hostlabel.c[0] = 0; 1236 GetUserSpecifiedRFC1034ComputerName(&m->hostlabel); 1237 if (m->hostlabel.c[0] == 0) MakeDomainLabelFromLiteralString(&m->hostlabel, "Computer");
|
/macosx-10.10/mDNSResponder-561.1.1/mDNSVxWorks/ |
H A D | mDNSVxWorks.c | 801 domainlabel hostlabel; local 955 ConvertUTF8PstringToRFC1034HostLabel( tmp.c, &hostlabel ); 956 if( hostlabel.c[ 0 ] == 0 ) ConvertUTF8PstringToRFC1034HostLabel( nicelabel.c, &hostlabel ); 957 if( hostlabel.c[ 0 ] == 0 ) MakeDomainLabelFromLiteralString( &hostlabel, defaultName ); 967 if( !SameDomainLabelCS( inMDNS->p->userHostLabel.c, hostlabel.c ) ) 969 dmsg( kDebugLevelInfo, DEBUG_NAME "Updating hostlabel to \"%#s\"\n", hostlabel.c ); 970 inMDNS->p->userHostLabel = hostlabel; [all...] |
H A D | mDNSVxWorksIPv4Only.c | 856 ConvertUTF8PstringToRFC1034HostLabel( namePtr, &inMDNS->hostlabel ); 857 if( inMDNS->hostlabel.c[ 0 ] == 0 ) 861 MakeDomainLabelFromLiteralString( &inMDNS->hostlabel, kMDNSDefaultName ); 863 check( inMDNS->hostlabel.c[ 0 ] > 0 ); 868 dlog( kDebugLevelInfo, DEBUG_NAME "host name \"%.*s\"\n", inMDNS->hostlabel.c[ 0 ], &inMDNS->hostlabel.c[ 1 ] ); 1994 printf( " hostLabel = \"%.*s\"\n", gMDNSPtr->hostlabel.c[ 0 ], (char *) &gMDNSPtr->hostlabel.c[ 1 ] );
|
/macosx-10.10/mDNSResponder-561.1.1/mDNSMacOS9/ |
H A D | mDNSMacOS9.c | 557 m->hostlabel.c[0] = 0; 558 ConvertUTF8PstringToRFC1034HostLabel(m->nicelabel.c, &m->hostlabel); 559 if (m->hostlabel.c[0] == 0) MakeDomainLabelFromLiteralString(&m->hostlabel, "Macintosh");
|
/macosx-10.10/mDNSResponder-561.1.1/mDNSMacOSX/ |
H A D | daemon.c | 1304 if (!SameDomainLabelCS(m->p->userhostlabel.c, m->hostlabel.c)) 1305 LogInfo("Local Hostname changed from \"%#s.local\" to \"%#s.local\"", m->p->userhostlabel.c, m->hostlabel.c); 1311 LogInfo("Local Hostname conflict for \"%#s.local\"", m->hostlabel.c); 1330 mDNSPreferencesSetNames(m, kmDNSLocalHostName, &m->p->userhostlabel, &m->hostlabel); 2284 if (!SameDomainLabelCS(m->p->userhostlabel.c, m->hostlabel.c)) 2286 LogMsg("Name Conflict: Updated Local Hostname from \"%#s.local\" to \"%#s.local\"", m->p->userhostlabel.c, m->hostlabel.c); 2287 mDNSPreferencesSetNames(m, kmDNSLocalHostName, &m->p->userhostlabel, &m->hostlabel); 2289 m->p->userhostlabel = m->hostlabel;
|
H A D | mDNSMacOSX.c | 4481 AppendDomainLabel(&info->AutoTunnelHostRecord.namestorage, &m->hostlabel); 4527 AppendDomainLabel(&info->AutoTunnelTarget.namestorage, &m->hostlabel); 4544 AppendDomainLabel(&info->AutoTunnelService.namestorage, &m->hostlabel); 4618 AppendDomainLabel(&info->AutoTunnel6Record.namestorage, &m->hostlabel); 4709 LogInfo("AutoTunnelHostNameChanged %#s.%##s", m->hostlabel.c, info->domain.c); 5335 domainlabel hostlabel; local 5336 hostlabel.c[0] = 0; 5337 GetUserSpecifiedLocalHostName(&hostlabel); 5338 if (hostlabel.c[0] == 0) 5341 MakeDomainLabelFromLiteralString(&hostlabel, defaultnam [all...] |
/macosx-10.10/mDNSResponder-561.1.1/mDNSWindows/ |
H A D | mDNSWin32.c | 2422 ConvertUTF8PstringToRFC1034HostLabel( tempLabel.c, &inMDNS->hostlabel ); 2423 if( inMDNS->hostlabel.c[ 0 ] == 0 ) 2427 MakeDomainLabelFromLiteralString( &inMDNS->hostlabel, kMDNSDefaultName ); 2430 check( inMDNS->hostlabel.c[ 0 ] != 0 ); 2434 dlog( kDebugLevelInfo, DEBUG_NAME "host name \"%.*s\"\n", inMDNS->hostlabel.c[ 0 ], &inMDNS->hostlabel.c[ 1 ] );
|
/macosx-10.10/mDNSResponder-561.1.1/mDNSCore/ |
H A D | DNSCommon.c | 944 mDNSexport void ConvertUTF8PstringToRFC1034HostLabel(const mDNSu8 UTF8Name[], domainlabel *const hostlabel) argument 948 mDNSu8 * ptr = &hostlabel->c[1]; 949 const mDNSu8 *const lim = &hostlabel->c[1] + MAX_DOMAIN_LABEL; 958 if (mDNSValidHostChar(*src, (ptr > &hostlabel->c[1]), (src < end-1))) *ptr++ = *src; 959 else if (ptr > &hostlabel->c[1] && ptr[-1] != '-') *ptr++ = '-'; 963 while (ptr > &hostlabel->c[1] && ptr[-1] == '-') ptr--; // Truncate trailing '-' marks 964 hostlabel->c[0] = (mDNSu8)(ptr - &hostlabel->c[1]); 2661 AppendDomainLabel(&hinfo.namestorage, &m->hostlabel);
|
H A D | mDNSEmbeddedAPI.h | 2352 domainlabel hostlabel; // Conforms to RFC 1034 "letter-digit-hyphen" ARPANET host name rules member in struct:mDNS_struct 2858 extern void ConvertUTF8PstringToRFC1034HostLabel(const mDNSu8 UTF8Name[], domainlabel *const hostlabel);
|
H A D | mDNS.c | 12604 if (!AppendDomainLabel(&newmname, &m->hostlabel)) { LogMsg("ERROR: mDNS_SetFQDN: Cannot create MulticastHostname"); return; } 12651 domainlabel oldlabel = m->hostlabel; 12660 if (SameDomainLabel(m->hostlabel.c, oldlabel.c)) 12661 IncrementLabelSuffix(&m->hostlabel, mDNSfalse); 12663 // 3. Generate the FQDNs from the hostlabel, 12666 LogMsg("Local Hostname %#s.local already in use; will try %#s.local instead", oldlabel.c, m->hostlabel.c); 14233 m->hostlabel.c[0] = 0;
|
H A D | uDNS.c | 2841 hinfoSize = (m->hostlabel.c[0] + 1) + DomainNameLength(&AuthInfo->domain) +
|
/macosx-10.10/tcl-105/tcl_ext/tdom/tdom/xe/ |
H A D | xe | 1429 label $w.fields.hostlabel -text "Proxy Host:" 1456 grid $w.fields.hostlabel -in $w.fields -column 0 -row 0 -sticky e
|