Searched refs:RDataBody (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Danonymous.c141 extraLen = (neededLen > sizeof(RDataBody)) ? (neededLen - sizeof(RDataBody)) : 0;
H A DDNSCommon.h166 extern mDNSBool SameRDataBody(const ResourceRecord *const r1, const RDataBody *const r2, DomainNameComparisonFn *samename);
H A Duds_daemon.c668 int storage_size = rdlen > sizeof(RDataBody) ? rdlen : sizeof(RDataBody);
688 rr = mallocL("AuthRecord/read_rr_from_ipc_msg", sizeof(AuthRecord) - sizeof(RDataBody) + storage_size);
1354 int size = rdlen > sizeof(RDataBody) ? rdlen : sizeof(RDataBody);
1355 ExtraResourceRecord *extra = mallocL("ExtraResourceRecord", sizeof(*extra) - sizeof(RDataBody) + size);
1466 const int rdsize = rdlen > sizeof(RDataBody) ? rdlen : sizeof(RDataBody);
1467 RData *newrd = mallocL("RData/update_record", sizeof(RData) - sizeof(RDataBody) + rdsize);
1778 const int extra_size = (request->u.servicereg.txtlen > sizeof(RDataBody))
[all...]
H A DmDNSEmbeddedAPI.h1022 // The RDataBody union defines the common rdata types that fit into our 264-byte limit
1032 rdataOPT opt[2]; // For EDNS0 OPT record; RDataBody may contain multiple variable-length rdataOPT objects packed together
1033 } RDataBody; typedef in typeref:union:__anon52
1041 rdataSOA soa; // This is large; not included in the normal RDataBody definition
1044 rdataRP rp; // This is large; not included in the normal RDataBody definition
1045 rdataPX px; // This is large; not included in the normal RDataBody definition
1048 rdataOPT opt[2]; // For EDNS0 OPT record; RDataBody may contain multiple variable-length rdataOPT objects packed together
1056 mDNSu16 MaxRDLength; // Amount of storage allocated for rdata (usually sizeof(RDataBody))
1057 mDNSu16 padding; // So that RDataBody is aligned on 32-bit boundary
1058 RDataBody
[all...]
H A DDNSCommon.c364 // the rdata from the RDataBody object. Sometimes this could be the wrong length -- but as
366 mDNSexport char *GetRRDisplayString_rdb(const ResourceRecord *const rr, const RDataBody *const rd1, char *const buffer)
1407 rr->resrec.rdata->MaxRDLength = sizeof(RDataBody);
1560 // r2 is just a bare RDataBody, which MUST be the same rrtype and rdlength as r1
1561 mDNSexport mDNSBool SameRDataBody(const ResourceRecord *const r1, const RDataBody *const r2, DomainNameComparisonFn *samename)
3600 // Note: An OPT RDataBody actually contains one or more variable-length rdataOPT objects packed together
H A DmDNS.c5818 rdsize = newrdlength > sizeof(RDataBody) ? newrdlength : sizeof(RDataBody);
5819 newrd = mDNSPlatformMemAllocate(sizeof(RData) - sizeof(RDataBody) + rdsize);
10059 AuthRecord *ar = mDNSPlatformMemAllocate(sizeof(AuthRecord) - sizeof(RDataBody) + RDLengthMem);

Completed in 156 milliseconds