Searched refs:resrec (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNS.c144 (rr)->resrec.RecordType & kDNSRecordTypeUniqueMask && \
145 ((rr)->resrec.rrtype == kDNSType_A || (rr)->resrec.rrtype == kDNSType_AAAA || \
146 (rr)->resrec.rrtype == kDNSType_CNAME || \
147 (rr)->resrec.rrtype == kDNSType_PTR))
298 const mDNSu32 slot = AuthHashSlot(rr->resrec.name);
299 ag = AuthGroupForRecord(r, slot, &rr->resrec);
300 if (!ag) ag = GetAuthGroup(r, slot, &rr->resrec); // If we don't have a AuthGroup for this name, make one now
315 const mDNSu32 slot = AuthHashSlot(rr->resrec.name);
317 a = AuthGroupForRecord(r, slot, &rr->resrec);
[all...]
H A Danonymous.c32 ResourceRecord resrec; member in struct:AnonInfoResourceRecord_struct
146 anonRR->resrec = *rr;
154 anonRR->resrec.name = name;
155 anonRR->resrec.rdata = &anonRR->rdatastorage;
442 if (SameDomainName(cr->resrec.name, name))
464 q->AnonInfo = AllocateAnonInfo(mDNSNULL, mDNSNULL, 0, &nsec3CR->resrec);
482 if (cr->resrec.AnonInfo || cr->resrec.rrtype != kDNSType_PTR)
485 nsec3CR = FindMatchingNSEC3ForName(m, McastNSEC3Records, cr->resrec.name);
488 cr->resrec
[all...]
H A DuDNS.c445 info->AutoTunnelHostRecord.resrec.RecordType = kDNSRecordTypeUnregistered;
447 info->AutoTunnelTarget.resrec.RecordType = kDNSRecordTypeUnregistered;
448 info->AutoTunnelDeviceInfo.resrec.RecordType = kDNSRecordTypeUnregistered;
449 info->AutoTunnelService.resrec.RecordType = kDNSRecordTypeUnregistered;
450 info->AutoTunnel6Record.resrec.RecordType = kDNSRecordTypeUnregistered;
1001 ResourceRecord *opt = &rr.resrec;
1017 optRD = &rr.resrec.rdata->u.opt[0];
1172 m->rec.r.resrec.RecordType = 0; // Clear RecordType to show we're not still using it
1207 m->rec.r.resrec.RecordType = 0; // Clear RecordType to show we're not still using it
1227 m->rec.r.resrec
[all...]
H A Duds_daemon.c388 LogMcast("%s: %##s (%s) (%s) Client(%d)[%s]", status ? "+Service" : "-Service", ar->resrec.name->c, DNSTypeName(ar->resrec.rrtype),
389 ar->resrec.InterfaceID == mDNSInterface_LocalOnly ? "lo" : ar->resrec.InterfaceID == mDNSInterface_P2P ? "p2p" :
390 ar->resrec.InterfaceID == mDNSInterface_Any ? "all" : InterfaceNameForID(m, ar->resrec.InterfaceID),
717 rr->resrec.rrclass = class;
718 rr->resrec.rdlength = rdlen;
719 rr->resrec.rdata->MaxRDLength = rdlen;
720 mDNSPlatformMemCopy(rr->resrec
[all...]
H A DDNSCommon.c167 if (rr->resrec.InterfaceID == id)
1390 rr->resrec.RecordType = RecordType;
1391 rr->resrec.InterfaceID = InterfaceID;
1392 rr->resrec.name = &rr->namestorage;
1393 rr->resrec.rrtype = rrtype;
1394 rr->resrec.rrclass = kDNSClass_IN;
1395 rr->resrec.rroriginalttl = ttl;
1396 rr->resrec.rDNSServer = mDNSNULL;
1397 rr->resrec.AnonInfo = mDNSNULL;
1398 // rr->resrec
[all...]
H A Duds_daemon.h23 #define SRS_PORT(S) mDNSVal16((S)->RR_SRV.resrec.rdata->u.srv.port)
H A DDNSDigest.c1347 tsig.resrec.rrclass = kDNSQClass_ANY;
1352 tsig.resrec.rroriginalttl = 0;
1353 MD5_Update(&c, (mDNSu8 *)&tsig.resrec.rroriginalttl, sizeof(tsig.resrec.rroriginalttl));
1356 AssignDomainName(&tsig.resrec.rdata->u.name, &HMAC_MD5_AlgName);
1358 rdata = tsig.resrec.rdata->u.data + len;
1412 tsig.resrec.rdlength = (mDNSu16)(rdata - tsig.resrec.rdata->u.data);
1413 *end = PutResourceRecordTTLJumbo(msg, ptr, &numAdditionals, &tsig.resrec, 0);
1423 mDNSu8 * ptr = (mDNSu8*) &lcr->r.resrec
[all...]
H A DmDNSEmbeddedAPI.h1502 // Basically, resrec and persistent metadata need to be set up before calling mDNS_Register().
1507 ResourceRecord resrec; // 36 bytes when compiling for 32-bit; 48 when compiling for 64-bit (now 44/64) member in struct:AuthRecord_struct
1561 regState_t state; // Maybe combine this with resrec.RecordType state? Right now it's ambiguous and confusing.
1562 // e.g. rr->resrec.RecordType can be kDNSRecordTypeUnregistered,
1609 #define AuthRecord_uDNS(R) ((R)->resrec.InterfaceID == mDNSInterface_Any && !(R)->ForceMCast && !IsLocalDomain((R)->resrec.name))
1639 ResourceRecord resrec; // 36 bytes when compiling for 32-bit; 48 when compiling for 64-bit (now 44/64) member in struct:CacheRecord_struct
1815 (X)->AutoTunnelHostRecord.resrec.RecordType == kDNSRecordTypeUnregistered && \
1816 (X)->AutoTunnelTarget.resrec.RecordType == kDNSRecordTypeUnregistered && \
1817 (X)->AutoTunnelDeviceInfo.resrec
[all...]
H A DDNSCommon.h181 #define LocalRecordReady(X) ((X)->resrec.RecordType != kDNSRecordTypeUnique)

Completed in 128 milliseconds