Searched refs:RData (Results 1 - 6 of 6) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | anonymous.c | 33 RData rdatastorage; 93 // We are just allocating an RData which has StandardAuthRDSize 102 // Allocate space for the name and RData. 103 rr = mDNSPlatformMemAllocate(sizeof(ResourceRecord) + dlen + sizeof(RData)); 116 rr->rdata = (RData *)((mDNSu8 *)rr->name + dlen); 510 // Check whether the RData is same.
|
H A D | DNSCommon.h | 173 extern mDNSBool ValidateRData(const mDNSu16 rrtype, const mDNSu16 rdlength, const RData *const rd); 243 extern void SetNewRData(ResourceRecord *const rr, RData *NewRData, mDNSu16 rdlength);
|
H A D | mDNSEmbeddedAPI.h | 870 // In the multicast usage of NSEC3, we know the actual size of RData 1059 } RData; typedef in typeref:struct:__anon54 1062 #define sizeofRDataHeader (sizeof(RData) - sizeof(RDataBody)) 1064 // RData_small is a smaller version of the RData object, used for inline data storage embedded in a CacheRecord_struct 1079 typedef void mDNSRecordUpdateCallback (mDNS *const m, AuthRecord *const rr, RData *OldRData, mDNSu16 OldRDLen); 1417 RData *rdata; // Pointer to storage for this rdata 1553 RData *NewRData; // Set if we are updating this record with new rdata 1554 mDNSu16 newrdlength; // ... and the length of the new RData 1585 RData *OrigRData; 1586 RData *InFlightRDat [all...] |
H A D | DNSCommon.c | 1357 mDNSexport void mDNS_SetupResourceRecord(AuthRecord *rr, RData *RDataStorage, mDNSInterfaceID InterfaceID, 1612 // Note: rdlength of both the RData are same (ensured by the caller) and hence we can 2038 mDNSexport mDNSBool ValidateRData(const mDNSu16 rrtype, const mDNSu16 rdlength, const RData *const rd) 2699 mDNSexport void SetNewRData(ResourceRecord *const rr, RData *NewRData, mDNSu16 rdlength) 3489 rr->resrec.rdata = (RData*)&rr->smallrdatastorage;
|
H A D | mDNS.c | 1559 RData *OldRData = rr->resrec.rdata; 2598 RData *OldRData = rr->resrec.rdata; 4348 if (rr->resrec.rdata && rr->resrec.rdata != (RData*)&rr->smallrdatastorage) 4378 if (r->resrec.rdata && r->resrec.rdata != (RData*)&r->smallrdatastorage) mDNSPlatformMemFree(r->resrec.rdata); 4896 r->resrec.rdata = (RData*)&r->smallrdatastorage; // By default, assume we're usually going to be using local storage 4899 r->resrec.rdata = (RData*)mDNSPlatformMemAllocate(sizeofRDataHeader + RDLength); 5725 // If this is a non-sleep proxy keepalive record and the remote IP address matches, update the RData 5760 RData *newrd; 5819 newrd = mDNSPlatformMemAllocate(sizeof(RData) - sizeof(RDataBody) + rdsize); 7943 RData *savept [all...] |
H A D | uds_daemon.c | 872 freeL("Extra RData", rr->resrec.rdata); 902 freeL("TXT RData", srv->srs.RR_TXT.resrec.rdata); 1082 if (rr->resrec.rdata != &rr->rdatastorage) freeL("RData/regrecord_callback", rr->resrec.rdata); 1427 mDNSlocal void update_callback(mDNS *const m, AuthRecord *const rr, RData *oldrd, mDNSu16 oldrdlen) 1460 if (oldrd != &rr->rdatastorage) freeL("RData/update_callback", oldrd); 1467 RData *newrd = mallocL("RData/update_record", sizeof(RData) - sizeof(RDataBody) + rdsize); 1480 if (result) { LogMsg("update_record: Error %d for %s", (int)result, ARDisplayString(&mDNSStorage, rr)); freeL("RData/update_record", newrd); }
|
Completed in 227 milliseconds