Home
last modified time | relevance | path

Searched refs:mDNSu8 (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSCommon.h231 extern mDNSu32 TruncateUTF8ToLength(mDNSu8 *string, mDNSu32 length, mDNSu32 max);
273 extern const mDNSu8 *FindCompressionPointer(const mDNSu8 *const base, const mDNSu8 *const end, cons…
275 extern mDNSu8 *putDomainNameAsLabels(const DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const …
277 extern mDNSu8 *putRData(const DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit, Resour…
282 extern mDNSu8 *PutResourceRecordTTLWithLimit(DNSMessage *const msg, mDNSu8 *ptr, mDNSu16 *count, Re…
290 extern mDNSu8 *PutResourceRecordCappedTTL(DNSMessage *const msg, mDNSu8 *ptr, mDNSu16 *count, Resou…
292 extern mDNSu8 *putEmptyResourceRecord(DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit…
294 extern mDNSu8 *putQuestion(DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit, const dom…
296 extern mDNSu8 *putZone(DNSMessage *const msg, mDNSu8 *ptr, mDNSu8 *limit, const domainname *zone, m…
298 extern mDNSu8 *putPrereqNameNotInUse(domainname *name, DNSMessage *msg, mDNSu8 *ptr, mDNSu8 *end);
[all …]
H A DDNSCommon.c413 mDNSu8 *b; in IsPrivateV4Addr()
553 mDNSexport mDNSBool SameDomainLabel(const mDNSu8 *a, const mDNSu8 *b) in SameDomainLabel()
564 mDNSu8 ac = *a++; in SameDomainLabel()
565 mDNSu8 bc = *b++; in SameDomainLabel()
575 const mDNSu8 * a = d1->c; in SameDomainName()
576 const mDNSu8 * b = d2->c; in SameDomainName()
577 const mDNSu8 *const max = d1->c + MAX_DOMAIN_NAME; // Maximum that's valid in SameDomainName()
626 const mDNSu8 *src = name->c; in DomainNameLength()
647 const mDNSu8 *src = name->c; in CompressedDomainNameLength()
666 mDNSexport mDNSu8 *AppendLiteralLabelString(domainname *const name, const char *cstr) in AppendLiteralLabelString()
[all …]
H A DmDNSEmbeddedAPI.h1148 typedef unsigned char mDNSu8; typedef
1185 typedef packedunion { mDNSu8 b[ 2]; mDNSu16 NotAnInteger; } mDNSOpaque16;
1186 typedef packedunion { mDNSu8 b[ 4]; mDNSu32 NotAnInteger; } mDNSOpaque32;
1187 typedef packedunion { mDNSu8 b[ 6]; mDNSu16 w[3]; mDNSu32 l[1]; } mDNSOpaque48;
1188 typedef packedunion { mDNSu8 b[16]; mDNSu16 w[8]; mDNSu32 l[4]; } mDNSOpaque128;
1268 typedef struct { mDNSu8 c[ 64]; } domainlabel; // One label: length byte and up to 63 characters
1272 typedef struct { mDNSu8 c[256]; } domainname; // Up to 255 bytes of length-prefixed domainlabels
1274 typedef struct { mDNSu8 c[256]; } UTF8str255; // Null-terminated C string
1332mDNSu8 data[AbsoluteMaxDNSMessageData]; // 40 (IPv6) + 8 (UDP) + 12 (DNS header) + 8940 (data) = 9…
1438 mDNSu8 id[8];
[all …]
H A DDNSDigest.c1201 mDNSexport mDNSs32 DNSDigest_Base64ToBin(const char *src, mDNSu8 *target, mDNSu32 targsize) in DNSDigest_Base64ToBin()
1225 target[tarindex] = (mDNSu8)((pos - Base64) << 2); in DNSDigest_Base64ToBin()
1234 target[tarindex+1] = (mDNSu8)(((pos - Base64) & 0x0f) << 4); in DNSDigest_Base64ToBin()
1244 target[tarindex+1] = (mDNSu8)(((pos - Base64) & 0x03) << 6); in DNSDigest_Base64ToBin()
1331 mDNSexport void DNSDigest_ConstructHMACKey(uDNS_AuthInfo *info, const mDNSu8 *key, mDNSu32 len) in DNSDigest_ConstructHMACKey()
1334 mDNSu8 buf[MD5_LEN]; in DNSDigest_ConstructHMACKey()
1362 mDNSexport mDNSu8 *DNSDigest_SignMessage(DNSMessage *msg, mDNSu8 **end, mDNSu16 *numAdditionals, uD… in DNSDigest_SignMessage()
1365 mDNSu8 *countPtr, *rdata; in DNSDigest_SignMessage()
1367 mDNSu8 utc48[6]; in DNSDigest_SignMessage()
1368 mDNSu8 digest[MD5_LEN]; in DNSDigest_SignMessage()
[all …]
H A DuDNS.c833 mDNSlocal mDNSBool recvLLQResponse(mDNS *m, DNSMessage *msg, const mDNSu8 *end, const mDNSAddr *src…
841 mDNSlocal void llqResponseHndlr(mDNS * const m, DNSMessage *msg, const mDNSu8 *end, DNSQuestion *q…
876 const mDNSu8 *ptr; in CountLabels()
1041 mDNSu8 keybuf[1024]; in mDNS_SetSecretForZone()
1156 const mDNSu8 *end = (mDNSu8 *)&info->request; in SendNATMsg()
1171 mDNSlocal mDNSBool ReceiveNATAddrResponse(NATTraversalInfo *n, mDNS *m, mDNSu8 *pkt, mDNSu16 len) in ReceiveNATAddrResponse()
1322 mDNSlocal mDNSBool ReceivePortMapReply(NATTraversalInfo *n, mDNS *m, mDNSu8 *pkt, mDNSu16 len) in ReceivePortMapReply()
1329 mDNSu8 *service = srs ? srs->RR_SRV.resrec.name->c : (mDNSu8 *)"\016LLQ event port"; in ReceivePortMapReply()
1785 mDNSu8 *ip = m->uDNS_info.AdvertisedV4.ip.v4.b; in GetStaticHostname()
2039 mDNSlocal void deriveGoodbyes(mDNS * const m, DNSMessage *msg, const mDNSu8 *end, DNSQuestion *que… in deriveGoodbyes()
[all …]
H A DuDNS.h178 extern void uDNS_ReceiveMsg(mDNS *const m, DNSMessage *const msg, const mDNSu8 *const end,
182 extern void uDNS_ReceiveNATMap(mDNS *m, mDNSu8 *pkt, mDNSu16 len);
H A DmDNS.c2182 mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, mDNSRecordCallback Callback, void *Context) in mDNS_SetupResourceRecord()
2289 #define DefaultProbeCountForTypeUnique ((mDNSu8)3)
2290 …untForRecordType(X) ((X) == kDNSRecordTypeUnique ? DefaultProbeCountForTypeUnique : (mDNSu8)0)
2292 #define InitialAnnounceCount ((mDNSu8)10)
2722 mDNSu8 RecordType = rr->resrec.RecordType; in mDNS_Deregister_internal()
2933 { rr->NR_AnswerTo = (mDNSu8*)~0; *nrp = rr; nrp = &rr->NextResponse; } in SendDelayedUnicastResponse()
2941 mDNSu8 *responseptr = m->omsg.data; in SendDelayedUnicastResponse()
2942 mDNSu8 *newptr; in SendDelayedUnicastResponse()
3164 mDNSu8 *responseptr = m->omsg.data; in SendResponses()
3165 mDNSu8 *newptr; in SendResponses()
[all …]
H A DmDNSPosix.c410 mDNSexport mStatus mDNSPlatformSendUDP(const mDNS *const m, const void *const msg, const mDNSu8 *co… in mDNSPlatformSendUDP()
487 mDNSu8 ttl; in SocketDataReady()
572 mDNSCoreReceive(m, &packet, (mDNSu8 *)&packet + packetLen, in SocketDataReady()
H A Duds_daemon.c859 mDNSu8 txtdata[AbsoluteMaxDNSMessageData];
2421 int newlen = TruncateUTF8ToLength((mDNSu8*)name, mDNSPlatformStrLen(name), MAX_DOMAIN_LABEL); in handle_regservice_request()
3216 …type, 0, (mDNSu8) ((flags & kDNSServiceFlagsShared) ? kDNSRecordTypeShared : kDNSRecordTypeUnique)… in read_rr_from_ipc_msg()