/external/mdnsresponder/mDNSCore/ |
D | mDNSEmbeddedAPI.h | 239 typedef unsigned int32 mDNSu32; typedef 242 typedef unsigned int mDNSu32; typedef 245 typedef unsigned long mDNSu32; typedef 266 typedef union { mDNSu8 b[ 4]; mDNSu32 NotAnInteger; } mDNSOpaque32; 267 typedef packedunion { mDNSu8 b[ 6]; mDNSu16 w[3]; mDNSu32 l[1]; } mDNSOpaque48; 268 typedef union { mDNSu8 b[ 8]; mDNSu16 w[4]; mDNSu32 l[2]; } mDNSOpaque64; 269 typedef union { mDNSu8 b[16]; mDNSu16 w[8]; mDNSu32 l[4]; } mDNSOpaque128; 281 …opaque64(op64, index) (op64.l[((index))/(sizeof(mDNSu32) * mDNSNBBY)] |= (1 << ((index) % (sizeof(… 282 …paque64(op64, index) (op64.l[((index))/(sizeof(mDNSu32) * mDNSNBBY)] &= ~(1 << ((index) % (sizeof(… 283 …opaque64(op64, index) (op64.l[((index))/(sizeof(mDNSu32) * mDNSNBBY)] & (1 << ((index) % (sizeof(m… [all …]
|
D | DNSCommon.h | 96 extern mDNSu32 mDNSRandom(mDNSu32 max); // Returns pseudo-random result from zero to max inclusive 115 extern mDNSu32 TruncateUTF8ToLength(mDNSu8 *string, mDNSu32 length, mDNSu32 max); 117 extern mDNSu32 RemoveLabelSuffix(domainlabel *name, mDNSBool RichText); 118 extern void AppendLabelSuffix(domainlabel *const name, mDNSu32 val, const mDNSBool RichText); 162 extern mDNSu32 RDataHashValue(const ResourceRecord *const rr); 195 …(DNSMessage *const msg, mDNSu8 *ptr, mDNSu16 *count, ResourceRecord *rr, mDNSu32 ttl, const mDNSu8… 219 extern mDNSu8 *putUpdateLease(DNSMessage *msg, mDNSu8 *end, mDNSu32 lease); 220 extern mDNSu8 *putUpdateLeaseWithLimit(DNSMessage *msg, mDNSu8 *ptr, mDNSu32 lease, mDNSu8 *limit); 232 extern mDNSu32 DomainNameHashValue(const domainname *const name); 248 extern mDNSu32 GetPktLease(mDNS *m, DNSMessage *msg, const mDNSu8 *end);
|
D | DNSCommon.c | 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() [all …]
|
D | DNSDigest.c | 45 mDNSlocal mDNSu32 NToH32(mDNSu8 * bytes) in NToH32() 47 …return (mDNSu32)((mDNSu32) bytes[0] << 24 | (mDNSu32) bytes[1] << 16 | (mDNSu32) bytes[2] << 8 | (… in NToH32() 187 #define MD5_BLOCK_LONG (MD5_BLOCK_BYTES / sizeof(mDNSu32)) 191 mDNSu32 A,B,C,D; 192 mDNSu32 Nl,Nh; 193 mDNSu32 data[MD5_BLOCK_LONG]; 219 void md5_block_asm_data_order_aligned (MD5_CTX *c, const mDNSu32 *p,int num); 254 #define HASH_LONG mDNSu32 941 const mDNSu32 *X=(const mDNSu32 *)data; in md5_block_host_order() 1042 mDNSu32 XX[MD5_LBLOCK]; in md5_block_data_order() [all …]
|
D | uDNS.h | 78 extern CacheGroup *CacheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 namehas… 126 …aversalInfo *n, const mDNSInterfaceID InterfaceID, mDNSu16 err, mDNSIPPort extport, mDNSu32 lease);
|
D | mDNS.c | 204 mDNSu32 oldtotalused = r->rrauth_totalused; in GetAuthEntity() 205 mDNSu32 slot; in GetAuthEntity() 238 mDNSexport AuthGroup *AuthGroupForName(AuthHash *r, const mDNSu32 slot, const mDNSu32 namehash, con… in AuthGroupForName() 247 mDNSexport AuthGroup *AuthGroupForRecord(AuthHash *r, const mDNSu32 slot, const ResourceRecord *con… in AuthGroupForRecord() 252 mDNSlocal AuthGroup *GetAuthGroup(AuthHash *r, const mDNSu32 slot, const ResourceRecord *const rr) in GetAuthGroup() 283 const mDNSu32 slot = AuthHashSlot(rr->resrec.name); in InsertAuthRecord() 300 const mDNSu32 slot = AuthHashSlot(rr->resrec.name); in RemoveAuthRecord() 322 mDNSexport CacheGroup *CacheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 nam… in CacheGroupForName() 331 mDNSlocal CacheGroup *CacheGroupForRecord(const mDNS *const m, const mDNSu32 slot, const ResourceRe… in CacheGroupForRecord() 401 const mDNSu32 c = q->CNAMEReferrals + 1; // Stash a copy of the new q->CNAMEReferrals value in AnswerQuestionByFollowingCNAME() [all …]
|
D | uDNS.c | 61 mDNSlocal void SetRecordRetry(mDNS *const m, AuthRecord *rr, mDNSu32 random) in SetRecordRetry() 104 …terfaceID interface, const mDNSAddr *addr, const mDNSIPPort port, mDNSBool scoped, mDNSu32 timeout) in mDNS_AddDNSServer() 517 …raversalInfo *n, const mDNSInterfaceID InterfaceID, mDNSu16 err, mDNSIPPort extport, mDNSu32 lease) in natTraversalHandlePortMapReply() 1176 mDNSu32 count = q->ntries + 1; // want to wait at least 1 second before retrying in tcpCallback() 2445 mDNSu32 macsize; in ParseTSIGError() 2528 mDNSlocal mDNSu32 RRAdditionalSize(mDNS *const m, DomainAuthInfo *AuthInfo) in RRAdditionalSize() 2530 mDNSu32 leaseSize, hinfoSize, tsigSize; in RRAdditionalSize() 2531 mDNSu32 rr_base_size = 10; // type (2) class (2) TTL (4) rdlength (2) in RRAdditionalSize() 2804 mDNSlocal mDNSu32 RREstimatedSize(AuthRecord *rr, int zoneSize) in RREstimatedSize() 3147 mDNSlocal void hndlRecordUpdateReply(mDNS *m, AuthRecord *rr, mStatus err, mDNSu32 random) in hndlRecordUpdateReply() [all …]
|
/external/mdnsresponder/mDNSShared/ |
D | uds_daemon.c | 98 mDNSu32 key; 137 mDNSu32 uid; 144 mDNSu32 hdr_bytes; // bytes of header already read 146 mDNSu32 data_bytes; // bytes of message data already read 190 mDNSu32 flags; 191 mDNSu32 protocol; 231 mDNSu32 ifi; // Note: This field is in NETWORK byte order 238 mDNSu32 totallen; 239 mDNSu32 nwriten; 294 mDNSlocal mDNSu32 dnssd_htonl(mDNSu32 l) in dnssd_htonl() [all …]
|
D | dnsextd.h | 100 mDNSu32 lease; // original lease, in seconds
|
D | uds_daemon.h | 32 extern int udsserver_init(dnssd_sock_t skts[], mDNSu32 count);
|
D | PlatformCommon.c | 163 extern mDNSu32 mDNSPlatformClockDivisor; in mDNSPlatformWriteLogMsg()
|
D | dnsextd.c | 93 #define SAME_INADDR(x,y) (*((mDNSu32 *)&x) == *((mDNSu32 *)&y)) 1476 mDNSlocal PktMsg *FormatLeaseReply(DaemonInfo *d, PktMsg *orig, mDNSu32 lease) in FormatLeaseReply() 1661 mDNSlocal mDNSu32 LLQLease(LLQEntry *e) in LLQLease() 2083 …ry *NewLLQ(DaemonInfo *d, struct sockaddr_in cli, domainname *qname, mDNSu16 qtype, mDNSu32 lease ) in NewLLQ() 3107 …terfaceID interface, const mDNSAddr *addr, const mDNSIPPort port, mDNSBool scoped, mDNSu32 timeout) in mDNS_AddDNSServer()
|
D | dnssd_clientshim.c | 230 mDNSu32 NumSubTypes = 0; in DNSServiceRegister()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSPosix.c | 549 mDNSexport mDNSInterfaceID mDNSPlatformInterfaceIDfromInterfaceIndex(mDNS *const m, mDNSu32 index) in mDNSPlatformInterfaceIDfromInterfaceIndex() 560 while ((intf != NULL) && (mDNSu32) intf->index != index) in mDNSPlatformInterfaceIDfromInterfaceIndex() 566 mDNSexport mDNSu32 mDNSPlatformInterfaceIndexfromInterfaceID(mDNS *const m, mDNSInterfaceID id, mDN… in mDNSPlatformInterfaceIndexfromInterfaceID() 1055 mDNSlocal mDNSu32 ProcessRoutingNotification(int sd) in ProcessRoutingNotification() 1062 mDNSu32 result = 0; in ProcessRoutingNotification() 1144 mDNSlocal mDNSu32 ProcessRoutingNotification(int sd) in ProcessRoutingNotification() 1151 mDNSu32 result = 0; in ProcessRoutingNotification() 1181 mDNSu32 changedInterfaces = 0; in InterfaceChangeCallback() 1361 mDNSexport mDNSu32 mDNSPlatformStrLen (const void *src) in mDNSPlatformStrLen() 1368 mDNSexport void mDNSPlatformMemCopy(void *dst, const void *src, mDNSu32 len) in mDNSPlatformMemCopy() [all …]
|
D | Identify.c | 77 mDNSlocal mDNSu32 mprintf(const char *format, ...) IS_A_PRINTF_STYLE_FUNCTION(1,2); 78 mDNSlocal mDNSu32 mprintf(const char *format, ...) in mprintf() 80 mDNSu32 length; in mprintf() 362 mDNSu32 slot; in main()
|
D | NetMonitor.c | 144 mDNSlocal mDNSu32 mprintf(const char *format, ...) IS_A_PRINTF_STYLE_FUNCTION(1,2); 145 mDNSlocal mDNSu32 mprintf(const char *format, ...) in mprintf() 147 mDNSu32 length; in mprintf() 181 mDNSu32 NumQueries; 287 mDNSu8 *sw = hw + 1 + (mDNSu32)hw[0]; in RecordHostInfo() 291 mDNSPlatformMemCopy(entry->HIHardware.c, hw, 1 + (mDNSu32)hw[0]); in RecordHostInfo() 292 mDNSPlatformMemCopy(entry->HISoftware.c, sw, 1 + (mDNSu32)sw[0]); in RecordHostInfo() 481 const mDNSu32 index = mDNSPlatformInterfaceIndexfromInterfaceID(m, InterfaceID, mDNSfalse); in DisplayPacketHeader() 554 …mDNSu32 striplen = mDNS_snprintf(b, MaxMsg-1, "%4d %##s %s ", pktrr->rdlength, pktrr->name->c, DNS… in DisplayResourceRecord()
|
D | ProxyResponder.c | 34 #define INADDR_NONE (mDNSu32)0xffffffff
|