OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hostlabel
(Results
1 - 4
of
4
) sorted by relevancy
/src/external/apache2/mDNSResponder/dist/mDNSPosix/
mDNSPosix.c
1889
m->
hostlabel
.c[0] = 0;
1890
GetUserSpecifiedRFC1034ComputerName(&m->
hostlabel
);
1891
if (m->
hostlabel
.c[0] == 0) MakeDomainLabelFromLiteralString(&m->
hostlabel
, "Computer");
/src/external/apache2/mDNSResponder/dist/mDNSCore/
mDNSEmbeddedAPI.h
2451
domainlabel
hostlabel
; // Conforms to RFC 1034 "letter-digit-hyphen" ARPANET host name rules
member in struct:mDNS_struct
3013
extern void ConvertUTF8PstringToRFC1034HostLabel(const mDNSu8 UTF8Name[], domainlabel *const
hostlabel
);
DNSCommon.c
1390
mDNSexport void ConvertUTF8PstringToRFC1034HostLabel(const mDNSu8 UTF8Name[], domainlabel *const
hostlabel
)
1394
mDNSu8 * ptr = &
hostlabel
->c[1];
1395
const mDNSu8 *const lim = &
hostlabel
->c[1] + MAX_DOMAIN_LABEL;
1404
if (mDNSValidHostChar(*src, (ptr > &
hostlabel
->c[1]), (src < end-1))) *ptr++ = *src;
1405
else if (ptr > &
hostlabel
->c[1] && ptr[-1] != '-') *ptr++ = '-';
1409
while (ptr > &
hostlabel
->c[1] && ptr[-1] == '-') ptr--; // Truncate trailing '-' marks
1410
hostlabel
->c[0] = (mDNSu8)(ptr - &
hostlabel
->c[1]);
mDNS.c
16480
if (!AppendDomainLabel(&newmname, &m->
hostlabel
)) { LogMsg("ERROR: mDNS_SetFQDN: Cannot create MulticastHostname"); return; }
16521
domainlabel oldlabel = m->
hostlabel
;
16530
if (SameDomainLabel(m->
hostlabel
.c, oldlabel.c))
16531
IncrementLabelSuffix(&m->
hostlabel
, mDNSfalse);
16533
// 3. Generate the FQDNs from the
hostlabel
,
16536
LogMsg("Local Hostname %#s.local already in use; will try %#s.local instead", oldlabel.c, m->
hostlabel
.c);
18320
m->
hostlabel
.c[0] = 0;
Completed in 90 milliseconds
Indexes created Tue Jun 16 00:25:01 UTC 2026