Lines Matching refs:mDNSu16
227 typedef unsigned short mDNSu16;
265 typedef union { mDNSu8 b[ 2]; mDNSu16 NotAnInteger; } mDNSOpaque16;
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;
461 mDNSu16 numQuestions;
462 mDNSu16 numAnswers;
463 mDNSu16 numAuthorities;
464 mDNSu16 numAdditionals;
490 mDNSu16 replylen;
525 mDNSu16 totlen;
530 mDNSu16 checksum;
538 mDNSu16 len; // Payload Length
569 mDNSu16 window;
570 mDNSu16 checksum;
571 mDNSu16 urgent;
578 mDNSu16 len; // Length including UDP header (i.e. minimum value is 8 bytes)
579 mDNSu16 checksum;
586 mDNSu16 checksum;
711 typedef packedstruct { mDNSu16 priority; mDNSu16 weight; mDNSIPPort port; domainname target; } rdataSRV;
712 typedef packedstruct { mDNSu16 preference; domainname exchange; } rdataMX;
714 typedef packedstruct { mDNSu16 preference; domainname map822; domainname mapx400; } rdataPX;
737 mDNSu16 vers;
738 mDNSu16 llqOp;
739 mDNSu16 err; // Or UDP reply port, in setup request
757 mDNSu16 opt;
758 mDNSu16 optlen;
866 mDNSu16 MaxRDLength; // Amount of storage allocated for rdata (usually sizeof(RDataBody))
867 mDNSu16 padding; // So that RDataBody is aligned on 32-bit boundary
877 mDNSu16 MaxRDLength; // Storage allocated for data (may be greater than InlineCacheRDSize if additional storage follows this object)
878 mDNSu16 padding; // So that data is aligned on 32-bit boundary
889 typedef void mDNSRecordUpdateCallback(mDNS *const m, AuthRecord *const rr, RData *OldRData, mDNSu16 OldRDLen);
924 typedef mDNSu16 NATErr_t;
936 mDNSu16 err;
955 mDNSu16 err;
1083 mDNSu16 rrtype;
1084 mDNSu16 rrclass;
1086 mDNSu16 rdlength; // Size of the raw rdata, in bytes, in the on-the-wire format
1089 mDNSu16 rdestimate; // Upper bound on on-the-wire size of rdata after name compression
1228 mDNSu16 newrdlength; // ... and the length of the new RData
1255 mDNSu16 OrigRDLen; // previously registered, being deleted
1256 mDNSu16 InFlightRDLen; // currently being registered
1257 mDNSu16 QueuedRDLen; // pending operation (re-transmitting if necessary) THEN register the queued update
1542 mDNSu16 noServerResponse; // At least one server did not respond.
1543 mDNSu16 triedAllServersOnce; // Tried all DNS servers once
1570 mDNSu16 qtype;
1571 mDNSu16 qclass;
1596 mDNSu16 TXTlen;
1634 mDNSu16 ZoneClass; // Discovered result: DNS Class from SOA record
1675 mDNSu16 tc_state;
1915 mDNSu16 LastNATMapResultCode; // Most recent error code for mappings
2038 extern mDNSu16 mDNSVal16(mDNSOpaque16 x);
2039 extern mDNSOpaque16 mDNSOpaque16fromIntVal(mDNSu16 v);
2052 mDNSinline mDNSu16 mDNSVal16(mDNSOpaque16 x) { return((mDNSu16)((mDNSu16)x.b[0] << 8 | (mDNSu16)x.b[1])); }
2054 mDNSinline mDNSOpaque16 mDNSOpaque16fromIntVal(mDNSu16 v)
2145 const mDNSu16 newrdlength, RData *const newrdata, mDNSRecordUpdateCallback *Callback);
2207 mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, AuthRecType artype, mDNSRecordCallback Callback, void *Context);
2218 const domainname *const host, mDNSIPPort port, const mDNSu8 txtinfo[], mDNSu16 txtlen,
2234 const mDNSu16 qtype, mDNSQuestionCallback *const callback, void *const context);
2285 #define AssignDomainName(DST, SRC) do { mDNSu16 len__ = DomainNameLength((SRC)); \
2306 extern mDNSu16 DomainNameLengthLimit(const domainname *const name, const mDNSu8 *limit);
2371 extern char *DNSTypeName(mDNSu16 rrtype);
2490 extern void DNSDigest_SignMessage(DNSMessage *msg, mDNSu8 **end, DomainAuthInfo *info, mDNSu16 tcode);
2493 (M)->h.numQuestions = (mDNSu16)((mDNSu8 *)&(M)->h.numQuestions )[0] << 8 | ((mDNSu8 *)&(M)->h.numQuestions )[1]; \
2494 (M)->h.numAnswers = (mDNSu16)((mDNSu8 *)&(M)->h.numAnswers )[0] << 8 | ((mDNSu8 *)&(M)->h.numAnswers )[1]; \
2495 (M)->h.numAuthorities = (mDNSu16)((mDNSu8 *)&(M)->h.numAuthorities)[0] << 8 | ((mDNSu8 *)&(M)->h.numAuthorities)[1]; \
2496 (M)->h.numAdditionals = (mDNSu16)((mDNSu8 *)&(M)->h.numAdditionals)[0] << 8 | ((mDNSu8 *)&(M)->h.numAdditionals)[1]; \
2506 extern mDNSBool DNSDigest_VerifyMessage(DNSMessage *msg, mDNSu8 *end, LargeCacheRecord *tsig, DomainAuthInfo *info, mDNSu16 *rcode, mDNSu16 *tcode);
2654 extern void LNT_ConfigureRouterInfo(mDNS *m, const mDNSInterfaceID InterfaceID, const mDNSu8 *const data, const mDNSu16 len);
2723 const domainname *const name, const mDNSu32 namehash, const mDNSu16 rrtype, const mDNSu16 rrclass, mDNSu32 ttl_seconds,
2916 char assert6[(sizeof(mDNSu16) == 2 ) ? 1 : -1];