Lines Matching full:domainname
386 typedef struct { mDNSu8 c[256]; } domainname; // Up to 256 bytes of length-prefixed domainlabels
392 // When a native domainname object is converted to printable textual form using ConvertDomainNameToCString(),
722 typedef packedstruct { mDNSu16 priority; mDNSu16 weight; mDNSIPPort port; domainname target; } rdataSRV;
723 typedef packedstruct { mDNSu16 preference; domainname exchange; } rdataMX;
724 typedef packedstruct { domainname mbox; domainname txt; } rdataRP;
725 typedef packedstruct { mDNSu16 preference; domainname map822; domainname mapx400; } rdataPX;
729 domainname mname;
730 domainname rname;
800 // 256 bytes domainname 'nextname'
849 domainname name; // For PTR, NS, CNAME, DNAME
863 domainname name; // For PTR, NS, CNAME, DNAME
1070 domainname domain;
1084 domainname domain; // name->server matching for "split dns"
1114 const domainname *name;
1153 domainname *name; // Common name for all AuthRecords in this list
1254 const domainname *zone; // the zone that is updated
1274 domainname namestorage;
1325 domainname *name; // Common name for all CacheRecords in this list
1365 domainname namestorage; // Needs to go *after* the extra rdata bytes
1372 domainname fqdn;
1497 domainname domain;
1498 domainname keyname;
1499 domainname hostname;
1580 domainname qname;
1594 domainname *qnameOrig; // Copy of the original question name if it is not fully qualified
1603 domainname name;
1641 domainname ChildName; // Name for which we're trying to find the responsible server
1643 domainname *CurrentSOA; // Points to somewhere within ChildName
1644 domainname ZoneName; // Discovered result: Left-hand-side of SOA record
1646 domainname Host; // Discovered result: Target host from SRV record
1655 extern ZoneData *StartGetZoneData(mDNS *const m, const domainname *const name, const ZoneService target, ZoneDataCallback callback, void *callbackInfo);
1663 domainname name;
1677 domainname dstname;
1747 domainname domain;
1870 domainname MulticastHostname; // Fully Qualified "dot-local" Host Name, e.g. "Foo.local."
1899 domainname StaticHostname; // Current answer to reverse-map query
1900 domainname FQDN;
2030 #define localdomain (*(const domainname *)"\x5" "local")
2031 #define DeviceInfoName (*(const domainname *)"\xC" "_device-info" "\x4" "_tcp")
2032 #define SleepProxyServiceType (*(const domainname *)"\xC" "_sleep-proxy" "\x4" "_udp")
2171 extern DomainAuthInfo *GetAuthInfoForName(mDNS *m, const domainname *const name);
2228 const domainlabel *const name, const domainname *const type, const domainname *const domain,
2229 const domainname *const host, mDNSIPPort port, const mDNSu8 txtinfo[], mDNSu16 txtlen,
2239 const domainlabel *const name, const domainname *const type, const domainname *const domain,
2240 const domainname *const host,
2244 extern void mDNS_SetupQuestion(DNSQuestion *const q, const mDNSInterfaceID InterfaceID, const domainname *const name,
2248 const domainname *const srv, const domainname *const domain,
2268 extern mStatus mDNS_GetDomains(mDNS *const m, DNSQuestion *const question, mDNS_DomainType DomainType, const domainname *dom,
2277 extern DNSServer *GetServerForName(mDNS *m, const domainname *name, mDNSInterfaceID InterfaceID);
2293 // A simple C structure assignment of a domainname can cause a protection fault by accessing unmapped memory,
2294 // because that object is defined to be 256 bytes long, but not all domainname objects are truly the full size.
2302 extern mDNSBool SameDomainName(const domainname *const d1, const domainname *const d2);
2303 extern mDNSBool SameDomainNameCS(const domainname *const d1, const domainname *const d2);
2304 typedef mDNSBool DomainNameComparisonFn(const domainname *const d1, const domainname *const d2);
2305 extern mDNSBool IsLocalDomain(const domainname *d); // returns true for domains that by default should be looked up using link-local multicast
2307 #define StripFirstLabel(X) ((const domainname *)&(X)->c[(X)->c[0] ? 1 + (X)->c[0] : 0])
2313 extern const mDNSu8 *LastLabel(const domainname *d);
2317 extern mDNSu16 DomainNameLengthLimit(const domainname *const name, const mDNSu8 *limit);
2324 // AppendDomainName adds zero or more labels from a native format domainname
2325 extern mDNSu8 *AppendLiteralLabelString(domainname *const name, const char *cstr);
2326 extern mDNSu8 *AppendDNSNameString (domainname *const name, const char *cstr);
2327 extern mDNSu8 *AppendDomainLabel (domainname *const name, const domainlabel *const label);
2328 extern mDNSu8 *AppendDomainName (domainname *const name, const domainname *const append);
2332 // The DomainName form makes native format domain name from a C string using conventional DNS interpretation:
2336 extern mDNSu8 *MakeDomainNameFromDNSNameString (domainname *const name, const char *cstr);
2338 // Convert native format domainlabel or domainname back to C string format
2348 extern char *ConvertDomainNameToCString_withescape(const domainname *const name, char *cstr, char esc);
2354 extern mDNSu8 *ConstructServiceName(domainname *const fqdn, const domainlabel *name, const domainname *type, const domainname *const domain);
2355 extern mDNSBool DeconstructServiceName(const domainname *const fqdn, domainlabel *const name, domainname *const type, domainname *const domain);
2458 const domainname *domain, const domainname *keyname, const char *b64keydata, const domainname *hostname, mDNSIPPort *port, const char *autoTunnelPrefix);
2479 extern void mDNS_AddDynDNSHostName(mDNS *m, const domainname *fqdn, mDNSRecordCallback *StatusCallback, const void *StatusContext);
2480 extern void mDNS_RemoveDynDNSHostName(mDNS *m, const domainname *fqdn);
2482 extern DNSServer *mDNS_AddDNSServer(mDNS *const m, const domainname *d, const mDNSInterfaceID interface, const mDNSAddr *addr, const mDNSIPPort port, mDNSBool scoped, mDNSu32 timeout);
2484 extern void mDNS_AddSearchDomain(const domainname *const domain, mDNSInterfaceID InterfaceID);
2486 extern McastResolver *mDNS_AddMcastResolver(mDNS *const m, const domainname *d, const mDNSInterfaceID interface, mDNSu32 timeout);
2490 do { domainname d__; if (((X) != (void*)0) && MakeDomainNameFromDNSNameString(&d__, (X)) && d__.c[0]) mDNS_AddSearchDomain(&d__, I); } while(0)
2635 extern mStatus mDNSPlatformTCPConnect(TCPSocket *sock, const mDNSAddr *dst, mDNSOpaque16 dstport, domainname *hostname,
2655 extern void mDNSPlatformSetDNSConfig(mDNS *const m, mDNSBool setservers, mDNSBool setsearch, domainname *const fqdn, DNameListElem **RegDomains, DNameListElem **BrowseDomains);
2657 extern void mDNSPlatformDynDNSHostNameStatusChanged(const domainname *const dname, const mStatus status);
2735 const domainname *const name, const mDNSu32 namehash, const mDNSu16 rrtype, const mDNSu16 rrclass, mDNSu32 ttl_seconds,
2748 extern AuthGroup *AuthGroupForName(AuthHash *r, const mDNSu32 slot, const mDNSu32 namehash, const domainname *const name);