/external/mdnsresponder/mDNSCore/ |
DNSCommon.h | 115 extern mDNSu32 TruncateUTF8ToLength(mDNSu8 *string, mDNSu32 length, mDNSu32 max); 186 extern const mDNSu8 *FindCompressionPointer(const mDNSu8 *const base, const mDNSu8 *const end, const mDNSu8 *const domname); 187 extern mDNSu8 *putDomainNameAsLabels(const DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit, const domainname *const name); 188 extern mDNSu8 *putRData(const DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit, const ResourceRecord *const rr) [all...] |
DNSCommon.c | 198 const mDNSu8 *t = rd->txt.c; 230 length += mDNS_snprintf(buffer+length, RemSpc, " Seq %3d", (mDNSu8)opt->u.owner.seq); // Display as unsigned 272 mDNSlocal mDNSu32 mDNSMixRandomSeed(mDNSu32 seed, mDNSu8 iteration) 333 mDNSexport mDNSBool SameDomainLabel(const mDNSu8 *a, const mDNSu8 *b) 344 mDNSu8 ac = *a++; 345 mDNSu8 bc = *b++; 355 const mDNSu8 * a = d1->c; 356 const mDNSu8 * b = d2->c; 357 const mDNSu8 *const max = d1->c + MAX_DOMAIN_NAME; // Maximum that's vali [all...] |
mDNSEmbeddedAPI.h | 225 typedef unsigned char mDNSu8; 265 typedef union { mDNSu8 b[ 2]; mDNSu16 NotAnInteger; } mDNSOpaque16; 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; 370 typedef struct { mDNSu8 c[ 64]; } domainlabel; // One label: length byte and up to 63 characters 375 typedef struct { mDNSu8 c[256]; } domainname; // Up to 256 bytes of length-prefixed domainlabels 377 typedef struct { mDNSu8 c[256]; } UTF8str255; // Null-terminated C string 475 mDNSu8 data[AbsoluteMaxDNSMessageData]; // 40 (IPv6) + 8 (UDP) + 12 (DNS header) + 8940 (data) = 900 [all...] |
DNSDigest.c | 40 mDNSlocal mDNSu16 NToH16(mDNSu8 * bytes) 45 mDNSlocal mDNSu32 NToH32(mDNSu8 * bytes) [all...] |
uDNS.h | 91 extern void uDNS_ReceiveMsg(mDNS *const m, DNSMessage *const msg, const mDNSu8 *const end, 118 extern uDNS_LLQType uDNS_recvLLQResponse(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *const end, const mDNSAddr *const srcaddr, const mDNSIPPort srcport, DNSQuestion **matchQuestion); 124 extern void uDNS_ReceiveNATPMPPacket(mDNS *m, const mDNSInterfaceID InterfaceID, mDNSu8 *pkt, mDNSu16 len); // Called for each received NAT-PMP packet
|
uDNS.c | 52 mDNSu8 NumUnicastDNSServers = 0; 427 const mDNSu8 *end = (mDNSu8 *)&u + sizeof(NATAddrRequest); 431 mDNSu8 *p = (mDNSu8 *)&u.NATPortReq.NATReq_lease; 436 p[0] = (mDNSu8)((info->NATLease >> 24) & 0xFF); 437 p[1] = (mDNSu8)((info->NATLease >> 16) & 0xFF); 438 p[2] = (mDNSu8)((info->NATLease >> 8) & 0xFF); 439 p[3] = (mDNSu8)( info->NATLease & 0xFF); 440 end = (mDNSu8 *)&u + sizeof(NATPortMapRequest) [all...] |
mDNS.c | 571 #define DefaultProbeCountForTypeUnique ((mDNSu8)3) 572 #define DefaultProbeCountForRecordType(X) ((X) == kDNSRecordTypeUnique ? DefaultProbeCountForTypeUnique : (mDNSu8)0) 574 #define InitialAnnounceCount ((mDNSu8)8) 579 #define GoodbyeCount ((mDNSu8)3) 580 #define WakeupCount ((mDNSu8)18) 583 #define InitialWakeOnResolveCount ((mDNSu8)3) [all...] |
/external/mdnsresponder/mDNSPosix/ |
NetMonitor.c | 285 mDNSu8 *rdend = (mDNSu8 *)rd + pktrr->rdlength; 286 mDNSu8 *hw = rd->txt.c; 287 mDNSu8 *sw = hw + 1 + (mDNSu32)hw[0]; 301 mDNSu8 *qptr = query.data; 302 const mDNSu8 *const limit = query.data + sizeof(query.data); 386 const mDNSu8 *src = fqdn->c; 387 mDNSu8 *dst = srvtype->c; 460 mDNSlocal const mDNSu8 *FindUpdate(mDNS *const m, const DNSMessage *const query, const mDNSu8 *ptr, const mDNSu8 *const end [all...] |
Identify.c | 93 mDNSexport void mDNSCoreReceive(mDNS *const m, DNSMessage *const msg, const mDNSu8 *const end, 149 mDNSu8 *p = answer->rdata->u.data; 309 mDNSu8 *p = (mDNSu8 *)&s4; 322 mDNSu8 *p = (mDNSu8 *)&s6;
|
Responder.c | 238 static mDNSu8 gServiceText[sizeof(RDataBody)]; 420 const mDNSu8 text[], 520 mDNSu8 text[sizeof(RDataBody)];
|
mDNSPosix.c | 150 mDNSexport mStatus mDNSPlatformSendUDP(const mDNS *const m, const void *const msg, const mDNSu8 *const end, 233 mDNSu8 ttl; 318 mDNSCoreReceive(m, &packet, (mDNSu8 *)&packet + packetLen, 396 mDNSexport void mDNSPlatformSendRawPacket(const void *const msg, const mDNSu8 *const end, mDNSInterfaceID InterfaceID) [all...] |
/external/mdnsresponder/mDNSShared/ |
dnsextd.c | 208 mDNSu8 *ptr = (mDNSu8 *)&pkt->msg.h.numQuestions; 222 mDNSu8 *ptr = (mDNSu8 *)&pkt->msg.h.numQuestions; 225 *ptr++ = (mDNSu8)(numQuestions >> 8); 226 *ptr++ = (mDNSu8)(numQuestions & 0xFF); 227 *ptr++ = (mDNSu8)(numAnswers >> 8); 228 *ptr++ = (mDNSu8)(numAnswers & 0xFF); 229 *ptr++ = (mDNSu8)(numAuthorities >> 8); 230 *ptr++ = (mDNSu8)(numAuthorities & 0xFF) [all...] |
uds_daemon.c | 530 (mDNSu8) ((flags & kDNSServiceFlagsShared) ? kDNSRecordTypeShared : kDNSRecordTypeUnique), artype, mDNSNULL, mDNSNULL); [all...] |
dnsextd_parser.y | 454 mDNSu8 * ok;
|