/external/mdnsresponder/mDNSCore/ |
H A D | mDNSEmbeddedAPI.h | 239 typedef unsigned int32 mDNSu32; typedef 242 typedef unsigned int mDNSu32; typedef 245 typedef unsigned long mDNSu32; typedef 247 //typedef unsigned int mDNSu32; 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 #define bit_set_opaque64(op64, index) (op64.l[((index))/(sizeof(mDNSu32) * mDNSNBBY)] |= (1 << ((index) % (sizeof(mDNSu32) * mDNSNBB [all...] |
H A 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 extern mDNSu8 *PutResourceRecordTTLWithLimit(DNSMessage *const msg, mDNSu8 *ptr, mDNSu16 *count, ResourceRecord *rr, mDNSu32 ttl, const mDNSu8 *limit); 219 extern mDNSu8 *putUpdateLease(DNSMessage *msg, mDNSu8 *end, mDNSu32 leas [all...] |
H A D | uDNS.h | 78 extern CacheGroup *CacheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 namehash, const domainname *const name); 126 extern void natTraversalHandlePortMapReply(mDNS *const m, NATTraversalInfo *n, const mDNSInterfaceID InterfaceID, mDNSu16 err, mDNSIPPort extport, mDNSu32 lease);
|
H A D | DNSCommon.c | 135 mDNSexport mDNSu32 NumCacheRecordsForInterfaceID(const mDNS *const m, mDNSInterfaceID id) 137 mDNSu32 slot, used = 0; 179 mDNSu32 length = mDNS_snprintf(buffer, MaxMsg-1, "%4d %##s %s ", rr->rdlength, rr->name->c, DNSTypeName(rr->rrtype)); 267 mDNSlocal mDNSu32 mDNSRandomFromSeed(mDNSu32 seed) 272 mDNSlocal mDNSu32 mDNSMixRandomSeed(mDNSu32 seed, mDNSu8 iteration) 277 mDNSlocal mDNSu32 mDNSRandomNumber() 280 static mDNSu32 seed = 0; 290 mDNSexport mDNSu32 mDNSRando [all...] |
H A D | DNSDigest.c | 45 mDNSlocal mDNSu32 NToH32(mDNSu8 * bytes) 47 return (mDNSu32)((mDNSu32) bytes[0] << 24 | (mDNSu32) bytes[1] << 16 | (mDNSu32) bytes[2] << 8 | (mDNSu32)bytes[3]); 58 * replaced CC_LONG w/ mDNSu32 60 * replaced CC_LONG w/ mDNSu32, removed conditional #defines from md5.h 187 #define MD5_BLOCK_LONG (MD5_BLOCK_BYTES / sizeof(mDNSu32)) 191 mDNSu32 [all...] |
H A D | mDNS.c | 204 mDNSu32 oldtotalused = r->rrauth_totalused; 205 mDNSu32 slot; 238 mDNSexport AuthGroup *AuthGroupForName(AuthHash *r, const mDNSu32 slot, const mDNSu32 namehash, const domainname *const name) 247 mDNSexport AuthGroup *AuthGroupForRecord(AuthHash *r, const mDNSu32 slot, const ResourceRecord *const rr) 252 mDNSlocal AuthGroup *GetAuthGroup(AuthHash *r, const mDNSu32 slot, const ResourceRecord *const rr) 283 const mDNSu32 slot = AuthHashSlot(rr->resrec.name); 300 const mDNSu32 slot = AuthHashSlot(rr->resrec.name); 322 mDNSexport CacheGroup *CacheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 namehas [all...] |
H A D | uDNS.c | 61 mDNSlocal void SetRecordRetry(mDNS *const m, AuthRecord *rr, mDNSu32 random) 104 mDNSexport DNSServer *mDNS_AddDNSServer(mDNS *const m, const domainname *d, const mDNSInterfaceID interface, const mDNSAddr *addr, const mDNSIPPort port, mDNSBool scoped, mDNSu32 timeout) 517 mDNSexport void natTraversalHandlePortMapReply(mDNS *const m, NATTraversalInfo *n, const mDNSInterfaceID InterfaceID, mDNSu16 err, mDNSIPPort extport, mDNSu32 lease) 1176 mDNSu32 count = q->ntries + 1; // want to wait at least 1 second before retrying 2445 mDNSu32 macsize; 2528 mDNSlocal mDNSu32 RRAdditionalSize(mDNS *const m, DomainAuthInfo *AuthInfo) 2530 mDNSu32 leaseSize, hinfoSize, tsigSize; 2531 mDNSu32 rr_base_size = 10; // type (2) class (2) TTL (4) rdlength (2) 2804 mDNSlocal mDNSu32 RREstimatedSize(AuthRecord *rr, int zoneSize) 3147 mDNSlocal void hndlRecordUpdateReply(mDNS *m, AuthRecord *rr, mStatus err, mDNSu32 rando [all...] |
/external/mdnsresponder/mDNSShared/ |
H A D | dnsextd.h | 100 mDNSu32 lease; // original lease, in seconds
|
H A D | uds_daemon.h | 32 extern int udsserver_init(dnssd_sock_t skts[], mDNSu32 count);
|
H A 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_hton [all...] |
H A D | PlatformCommon.c | 163 extern mDNSu32 mDNSPlatformClockDivisor;
|
H A D | dnsextd.c | 93 #define SAME_INADDR(x,y) (*((mDNSu32 *)&x) == *((mDNSu32 *)&y)) 1476 mDNSlocal PktMsg *FormatLeaseReply(DaemonInfo *d, PktMsg *orig, mDNSu32 lease) 1661 mDNSlocal mDNSu32 LLQLease(LLQEntry *e) 2083 mDNSlocal LLQEntry *NewLLQ(DaemonInfo *d, struct sockaddr_in cli, domainname *qname, mDNSu16 qtype, mDNSu32 lease ) 3107 DNSServer *mDNS_AddDNSServer(mDNS *const m, const domainname *d, const mDNSInterfaceID interface, const mDNSAddr *addr, const mDNSIPPort port, mDNSBool scoped, mDNSu32 timeout)
|
H A D | dnssd_clientshim.c | 230 mDNSu32 NumSubTypes = 0;
|
/external/mdnsresponder/mDNSPosix/ |
H A D | Identify.c | 77 mDNSlocal mDNSu32 mprintf(const char *format, ...) IS_A_PRINTF_STYLE_FUNCTION(1,2); 78 mDNSlocal mDNSu32 mprintf(const char *format, ...) 80 mDNSu32 length; 362 mDNSu32 slot;
|
H A D | mDNSPosix.c | 549 mDNSexport mDNSInterfaceID mDNSPlatformInterfaceIDfromInterfaceIndex(mDNS *const m, mDNSu32 index) 560 while ((intf != NULL) && (mDNSu32) intf->index != index) 566 mDNSexport mDNSu32 mDNSPlatformInterfaceIndexfromInterfaceID(mDNS *const m, mDNSInterfaceID id, mDNSBool suppressNetworkChange) 1055 mDNSlocal mDNSu32 ProcessRoutingNotification(int sd) 1062 mDNSu32 result = 0; 1144 mDNSlocal mDNSu32 ProcessRoutingNotification(int sd) 1151 mDNSu32 result = 0; 1181 mDNSu32 changedInterfaces = 0; 1361 mDNSexport mDNSu32 mDNSPlatformStrLen (const void *src) 1368 mDNSexport void mDNSPlatformMemCopy(void *dst, const void *src, mDNSu32 le [all...] |
H A D | NetMonitor.c | 144 mDNSlocal mDNSu32 mprintf(const char *format, ...) IS_A_PRINTF_STYLE_FUNCTION(1,2); 145 mDNSlocal mDNSu32 mprintf(const char *format, ...) 147 mDNSu32 length; 181 mDNSu32 NumQueries; 287 mDNSu8 *sw = hw + 1 + (mDNSu32)hw[0]; 291 mDNSPlatformMemCopy(entry->HIHardware.c, hw, 1 + (mDNSu32)hw[0]); 292 mDNSPlatformMemCopy(entry->HISoftware.c, sw, 1 + (mDNSu32)sw[0]); 481 const mDNSu32 index = mDNSPlatformInterfaceIndexfromInterfaceID(m, InterfaceID, mDNSfalse); 554 mDNSu32 striplen = mDNS_snprintf(b, MaxMsg-1, "%4d %##s %s ", pktrr->rdlength, pktrr->name->c, DNSTypeName(pktrr->rrtype));
|
H A D | ProxyResponder.c | 34 #define INADDR_NONE (mDNSu32)0xffffffff
|