Lines Matching refs:mDNSu32
135 mDNSexport mDNSu32 NumCacheRecordsForInterfaceID(const mDNS *const m, mDNSInterfaceID id) in NumCacheRecordsForInterfaceID()
137 mDNSu32 slot, used = 0; in NumCacheRecordsForInterfaceID()
179 …mDNSu32 length = mDNS_snprintf(buffer, MaxMsg-1, "%4d %##s %s ", rr->rdlength, rr->name->c, DNSTyp… in GetRRDisplayString_rdb()
267 mDNSlocal mDNSu32 mDNSRandomFromSeed(mDNSu32 seed) in mDNSRandomFromSeed()
272 mDNSlocal mDNSu32 mDNSMixRandomSeed(mDNSu32 seed, mDNSu8 iteration) in mDNSMixRandomSeed()
277 mDNSlocal mDNSu32 mDNSRandomNumber() in mDNSRandomNumber()
280 static mDNSu32 seed = 0; in mDNSRandomNumber()
290 mDNSexport mDNSu32 mDNSRandom(mDNSu32 max) // Returns pseudo-random result from zero to max inclus… in mDNSRandom()
292 mDNSu32 ret = 0; in mDNSRandom()
293 mDNSu32 mask = 1; in mDNSRandom()
862 mDNSexport mDNSu32 TruncateUTF8ToLength(mDNSu8 *string, mDNSu32 length, mDNSu32 max) in TruncateUTF8ToLength()
914 mDNSexport mDNSu32 RemoveLabelSuffix(domainlabel *name, mDNSBool RichText) in RemoveLabelSuffix()
916 mDNSu32 val = 0, multiplier = 1; in RemoveLabelSuffix()
940 mDNSexport void AppendLabelSuffix(domainlabel *const name, mDNSu32 val, const mDNSBool RichText) in AppendLabelSuffix()
942 mDNSu32 divisor = 1, chars = 2; // Shortest possible RFC1034 name suffix is 2 characters ("-2") in AppendLabelSuffix()
967 mDNSu32 val = 0; in IncrementLabelSuffix()
992 …mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, AuthRecType artype, mDNSRecordCallback Callback, v… in mDNS_SetupResourceRecord()
1111 mDNSexport mDNSu32 RDataHashValue(const ResourceRecord *const rr) in RDataHashValue()
1147 mDNSu32 sum = 0; in RDataHashValue()
1151 sum += (((mDNSu32)(rdb->data[i])) << 8) | rdb->data[i+1]; in RDataHashValue()
1156 sum += ((mDNSu32)(rdb->data[i])) << 8; in RDataHashValue()
1637 mDNSlocal mDNSu8 *putVal32(mDNSu8 *ptr, mDNSu32 val) in putVal32()
1643 return ptr + sizeof(mDNSu32); in putVal32()
1797 …(DNSMessage *const msg, mDNSu8 *ptr, mDNSu16 *count, ResourceRecord *rr, mDNSu32 ttl, const mDNSu8… in PutResourceRecordTTLWithLimit()
1948 mDNSexport mDNSu8 *putUpdateLease(DNSMessage *msg, mDNSu8 *end, mDNSu32 lease) in putUpdateLease()
1963 mDNSexport mDNSu8 *putUpdateLeaseWithLimit(DNSMessage *msg, mDNSu8 *end, mDNSu32 lease, mDNSu8 *lim… in putUpdateLeaseWithLimit()
1989 mDNSPlatformMemCopy(h, &m->HIHardware, 1 + (mDNSu32)m->HIHardware.c[0]); in putHINFO()
1991 mDNSPlatformMemCopy(h, &m->HISoftware, 1 + (mDNSu32)m->HISoftware.c[0]); in putHINFO()
2007 mDNSexport mDNSu32 DomainNameHashValue(const domainname *const name) in DomainNameHashValue()
2009 mDNSu32 sum = 0; in DomainNameHashValue()
2176 …rr->resrec.rroriginalttl = (mDNSu32) ((mDNSu32)ptr[4] << 24 | (mDNSu32)ptr[5] << 16 | (mDNSu32… in GetLargeResourceRecord()
2227 …rdb->soa.refresh = (mDNSu32) ((mDNSu32)ptr[0x04] << 24 | (mDNSu32)ptr[0x05] << 16 | (mDNSu32)ptr[0… in GetLargeResourceRecord()
2228 …rdb->soa.retry = (mDNSu32) ((mDNSu32)ptr[0x08] << 24 | (mDNSu32)ptr[0x09] << 16 | (mDNSu32)ptr[0… in GetLargeResourceRecord()
2229 …rdb->soa.expire = (mDNSu32) ((mDNSu32)ptr[0x0C] << 24 | (mDNSu32)ptr[0x0D] << 16 | (mDNSu32)ptr[0… in GetLargeResourceRecord()
2230 …rdb->soa.min = (mDNSu32) ((mDNSu32)ptr[0x10] << 24 | (mDNSu32)ptr[0x11] << 16 | (mDNSu32)ptr[0… in GetLargeResourceRecord()
2308 …opt->u.llq.llqlease = (mDNSu32) ((mDNSu32)ptr[14] << 24 | (mDNSu32)ptr[15] << 16 | (mDNSu32)ptr[16… in GetLargeResourceRecord()
2317 …opt->u.updatelease = (mDNSu32) ((mDNSu32)ptr[0] << 24 | (mDNSu32)ptr[1] << 16 | (mDNSu32)ptr[2] <<… in GetLargeResourceRecord()
2489 mDNSexport mDNSu32 GetPktLease(mDNS *m, DNSMessage *msg, const mDNSu8 *end) in GetPktLease()
2491 mDNSu32 result = 0; in GetPktLease()
2865 mDNSexport mDNSu32 mDNS_vsnprintf(char *sbuffer, mDNSu32 buflen, const char *fmt, va_list arg) in mDNS_vsnprintf()
2867 mDNSu32 nwritten = 0; in mDNS_vsnprintf()
2889 #define mDNS_VACB_Remain(s) ((mDNSu32)(mDNS_VACB_Lim - s)) in mDNS_vsnprintf()
3090 i = (mDNSu32)(s - mDNS_VACB); in mDNS_vsnprintf()
3143 mDNSexport mDNSu32 mDNS_snprintf(char *sbuffer, mDNSu32 buflen, const char *fmt, ...) in mDNS_snprintf()
3145 mDNSu32 length; in mDNS_snprintf()