Home | History | Annotate | Download | only in mDNSCore

Lines Matching refs:RData

403 // For records containing a hostname (in the name on the left, or in the rdata on the right),
633 // -- It is okay for several hosts to have RRs with the same name but different RDATA
643 // -- If two entities on the network have RRs with the same name but different RDATA, this is a conflict
764 // LLQ rdata 18 bytes (opt 2, len 2, vers 2, op 2, err 2, id 8, lease 4)
765 // Lease rdata 8 bytes (opt 2, len 2, lease 4)
766 // Owner rdata 12-24 (opt 2, len 2, owner 8-20)
805 // Records received from the network with rdata this size or less have their rdata stored right in the CacheRecord object
806 // Records received from the network with rdata larger than this have additional storage allocated for the rdata
813 // Only 69 records had rdata bigger than 64 bytes
833 // The RDataBody union defines the common rdata types that fit into our 264-byte limit
866 mDNSu16 MaxRDLength; // Amount of storage allocated for rdata (usually sizeof(RDataBody))
869 } RData;
872 #define sizeofRDataHeader (sizeof(RData) - sizeof(RDataBody))
874 // RData_small is a smaller version of the RData object, used for inline data storage embedded in a CacheRecord_struct
889 typedef void mDNSRecordUpdateCallback(mDNS *const m, AuthRecord *const rr, RData *OldRData, mDNSu16 OldRDLen);
1086 mDNSu16 rdlength; // Size of the raw rdata, in bytes, in the on-the-wire format
1089 mDNSu16 rdestimate; // Upper bound on on-the-wire size of rdata after name compression
1091 mDNSu32 rdatahash; // For rdata containing domain name (e.g. PTR, SRV, CNAME etc.), case-insensitive name hash
1092 // else, for all other rdata, 32-bit hash of the raw rdata
1104 RData *rdata; // Pointer to storage for this rdata
1227 RData *NewRData; // Set if we are updating this record with new rdata
1228 mDNSu16 newrdlength; // ... and the length of the new RData
1258 RData *OrigRData;
1259 RData *InFlightRData;
1260 RData *QueuedRData;
1264 RData rdatastorage; // Normally the storage is right here, except for oversized records
1354 domainname namestorage; // Needs to go *after* the extra rdata bytes
1375 // In some cases clients can allocate larger chunks of memory and set r->rdata->MaxRDLength to indicate
1518 mDNSu32 LargeAnswers; // Number of answers with rdata > 1024 bytes
2145 const mDNSu16 newrdlength, RData *const newrdata, mDNSRecordUpdateCallback *Callback);
2198 // are a list of PTR records indicating (in the rdata) domains that are recommended for browsing.
2206 extern void mDNS_SetupResourceRecord(AuthRecord *rr, RData *RDataStorage, mDNSInterfaceID InterfaceID,
2221 extern mStatus mDNS_AddRecordToService(mDNS *const m, ServiceRecordSet *sr, ExtraResourceRecord *extra, RData *rdata, mDNSu32 ttl, mDNSu32 includeP2P);
2373 #define RRDisplayString(m, rr) GetRRDisplayString_rdb(rr, &(rr)->rdata->u, (m)->MsgBuffer)
2374 #define ARDisplayString(m, rr) GetRRDisplayString_rdb(&(rr)->resrec, &(rr)->resrec.rdata->u, (m)->MsgBuffer)
2375 #define CRDisplayString(m, rr) GetRRDisplayString_rdb(&(rr)->resrec, &(rr)->resrec.rdata->u, (m)->MsgBuffer)