Home
last modified time | relevance | path

Searched refs:mDNSu16 (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DmDNSEmbeddedAPI.h279 typedef unsigned short mDNSu16; typedef
314 typedef union { mDNSu8 b[ 2]; mDNSu16 NotAnInteger; } mDNSOpaque16;
316 typedef packedunion { mDNSu8 b[ 6]; mDNSu16 w[3]; mDNSu32 l[1]; } mDNSOpaque48;
317 typedef union { mDNSu8 b[ 8]; mDNSu16 w[4]; mDNSu32 l[2]; } mDNSOpaque64;
318 typedef union { mDNSu8 b[16]; mDNSu16 w[8]; mDNSu32 l[4]; } mDNSOpaque128;
530 mDNSu16 numQuestions;
531 mDNSu16 numAnswers;
532 mDNSu16 numAuthorities;
533 mDNSu16 numAdditionals;
561 mDNSu16 replylen;
[all …]
H A DDNSCommon.h128 extern mDNSu16 CompressedDomainNameLength(const domainname *const name, const domainname *parent);
189 extern mDNSu16 GetRDLength(const ResourceRecord *const rr, mDNSBool estimate);
190 extern mDNSBool ValidateRData(const mDNSu16 rrtype, const mDNSu16 rdlength, const RData *const rd);
216 extern mDNSu8 *PutResourceRecordTTLWithLimit(DNSMessage *const msg, mDNSu8 *ptr, mDNSu16 *count, co…
234 …u8 *ptr, const mDNSu8 *const limit, const domainname *const name, mDNSu16 rrtype, mDNSu16 rrclass);
239 …leteRRSetWithLimit(DNSMessage *msg, mDNSu8 *ptr, const domainname *name, mDNSu16 rrtype, mDNSu8 *l…
255 extern void SetNewRData(ResourceRecord *const rr, RData *NewRData, mDNSu16 rdlength);
263 mDNSu16 rdlength);
276 extern mDNSBool RRAssertsNonexistence(const ResourceRecord *const rr, mDNSu16 type);
277 extern mDNSBool RRAssertsExistence(const ResourceRecord *const rr, mDNSu16 type);
[all …]
H A DDNSCommon.c192 mDNSexport char *DNSTypeName(mDNSu16 rrtype) in DNSTypeName()
250 mDNSexport mDNSu16 swap16(mDNSu16 x) in swap16()
253 return (mDNSu16)((mDNSu16)ptr[0] << 8 | ptr[1]); in swap16()
530 mDNSu16 l1 = DomainNameLength(d1); in SameDomainNameCS()
531 mDNSu16 l2 = DomainNameLength(d2); in SameDomainNameCS()
579 mDNSexport mDNSu16 DomainNameLengthLimit(const domainname *const name, const mDNSu8 *limit) in DomainNameLengthLimit()
584 if (*src == 0) return((mDNSu16)(src - name->c + 1)); in DomainNameLengthLimit()
599 mDNSexport mDNSu16 CompressedDomainNameLength(const domainname *const name, const domainname *paren… in CompressedDomainNameLength()
606 …if (parent && SameDomainName((const domainname *)src, parent)) return((mDNSu16)(src - name->c + 2)… in CompressedDomainNameLength()
610 return((mDNSu16)(src - name->c + 1)); in CompressedDomainNameLength()
[all …]
H A DDNSDigest.c39 mDNSlocal mDNSu16 NToH16(mDNSu8 * bytes) in NToH16()
41 return (mDNSu16)((mDNSu16)bytes[0] << 8 | (mDNSu16)bytes[1]); in NToH16()
1340 mDNSexport void DNSDigest_SignMessage(DNSMessage *msg, mDNSu8 **end, DomainAuthInfo *info, mDNSu16 in DNSDigest_SignMessage()
1351 mDNSu16 numAdditionals = (mDNSu16)((mDNSu16)countPtr[0] << 8 | countPtr[1]); in DNSDigest_SignMessage()
1431 tsig.resrec.rdlength = (mDNSu16)(rdata - tsig.resrec.rdata->u.data); in DNSDigest_SignMessage()
1440 … *msg, mDNSu8 *end, LargeCacheRecord * lcr, DomainAuthInfo *info, mDNSu16 * rcode, mDNSu16 * tcode) in DNSDigest_VerifyMessage()
1450 mDNSu16 fudge; in DNSDigest_VerifyMessage()
1491 then = (mDNSs32)NToH32(utc48 + sizeof(mDNSu16)); in DNSDigest_VerifyMessage()
1495 ptr += sizeof(mDNSu16); in DNSDigest_VerifyMessage()
1510 ptr += sizeof(mDNSu16); in DNSDigest_VerifyMessage()
H A DuDNS.h178 extern void uDNS_ReceiveNATPacket(mDNS *m, const mDNSInterfaceID InterfaceID, mDNSu8 *pkt, mDNSu16
179 extern void natTraversalHandleAddressReply(mDNS *const m, mDNSu16 err, mDNSv4Addr ExtAddr);
180 …y(mDNS *const m, NATTraversalInfo *n, const mDNSInterfaceID InterfaceID, mDNSu16 err, mDNSIPPort e…
H A DmDNS.c97 … mDNSu32 *seq, mDNSu32 *ack, mDNSIPPort *lport, mDNSIPPort *rport, mDNSu16 *win);
394 mDNSu16 namelen = DomainNameLength(rr->name); in GetAuthGroup()
620 mDNSu16 qNameLen; in AnswerQuestionByFollowingCNAME()
1561 mDNSu16 win = 0; in getKeepaliveRaddr()
1911 mDNSu16 OldRDLen = rr->resrec.rdlength; in CompleteRDataUpdate()
2504 mDNSlocal mDNSu16 CheckSum(const void *const data, mDNSs32 length, mDNSu32 sum) in CheckSum()
2506 const mDNSu16 *ptr = data; in CheckSum()
2513 mDNSlocal mDNSu16 IPv6CheckSum(const mDNSv6Addr *const src, const mDNSv6Addr *const dst, const mDNS… in IPv6CheckSum()
2942 mDNSu16 oldrdlength = rr->resrec.rdlength; in SendResponses()
3286 mDNSu16 ucbit = (mDNSu16)(ucast ? kDNSQClass_UnicastResponse : 0); in BuildQuestion()
[all …]
H A DuDNS.c720 mDNSexport void natTraversalHandleAddressReply(mDNS *const m, mDNSu16 err, mDNSv4Addr ExtAddr) in natTraversalHandleAddressReply()
722 static mDNSu16 last_err = 0; in natTraversalHandleAddressReply()
795 …s(mDNS *const m, NATTraversalInfo *n, const mDNSInterfaceID InterfaceID, mDNSu16 err, mDNSv4Addr e… in natTraversalHandlePortMapReplyWithAddress()
838 …y(mDNS *const m, NATTraversalInfo *n, const mDNSInterfaceID InterfaceID, mDNSu16 err, mDNSIPPort e… in natTraversalHandlePortMapReply()
1056 mDNSlocal mDNSu16 GetLLQEventPort(const mDNS *const m, const mDNSAddr *const dst) in GetLLQEventPort()
1390 tcpInfo->replylen = (mDNSu16)((mDNSu16)lenptr[0] << 8 | lenptr[1]); in tcpCallback()
1744 mDNSlocal mStatus GetZoneData_StartQuery(mDNS *const m, ZoneData *zd, mDNSu16 qtype);
1872 mDNSlocal mStatus GetZoneData_StartQuery(mDNS *const m, ZoneData *zd, mDNSu16 qtype) in GetZoneData_StartQuery()
3573 …void uDNS_ReceiveNATPMPPacket(mDNS *m, const mDNSInterfaceID InterfaceID, mDNSu8 *pkt, mDNSu16 len) in uDNS_ReceiveNATPMPPacket()
3584 AddrReply->err = (mDNSu16) ((mDNSu16)pkt[2] << 8 | pkt[3]); in uDNS_ReceiveNATPMPPacket()
[all …]
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A DClientRequests.h37 mDNSu16 q2Type; // q2's original qtype value.
93 mDNSu16 qtype;
94 mDNSu16 qclass;
127 mDNSexport mDNSu16 QueryRecordClientRequestGetType(const QueryRecordClientRequest *inRequest);
137 mDNSu16 inQType,
138 mDNSu16 inQClass,
H A DClientRequests.c71 mDNSu16 qtype;
72 mDNSu16 qclass;
420 mDNSexport mDNSu16 QueryRecordClientRequestGetType(const QueryRecordClientRequest *inRequest) in QueryRecordClientRequestGetType()
434 mDNSu16 inQType, in QueryRecordOpStartForClientRequest()
435 mDNSu16 inQClass, in QueryRecordOpStartForClientRequest()
H A Duds_daemon.h150 mDNSu16 txtlen;
H A Duds_daemon.c589 mDNSu16 type = get_uint16(&request->msgptr, request->msgend); in read_rr_from_ipc_msg()
590 mDNSu16 class = get_uint16(&request->msgptr, request->msgend); in read_rr_from_ipc_msg()
591 mDNSu16 rdlen = get_uint16(&request->msgptr, request->msgend); in read_rr_from_ipc_msg()
668 rr->resrec.rdata->MaxRDLength = (mDNSu16)rdcapacity; in read_rr_from_ipc_msg()
1542 …ecord_to_service(request_state *request, service_instance *instance, mDNSu16 rrtype, mDNSu16 rdlen, in add_record_to_service()
1553 extra->r.resrec.rdata->MaxRDLength = (mDNSu16)rdcapacity; in add_record_to_service()
1593 mDNSu16 rrtype = get_uint16(&request->msgptr, request->msgend); in handle_add_request()
1594 mDNSu16 rdlen = get_uint16(&request->msgptr, request->msgend); in handle_add_request()
1641 mDNSlocal void update_callback(mDNS *const m, AuthRecord *const rr, RData *oldrd, mDNSu16 oldrdlen) in update_callback()
1674 mDNSlocal mStatus update_record(AuthRecord *ar, mDNSu16 rdlen, const mDNSu8 *const rdata, mDNSu32 t… in update_record()
[all …]
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DmDNSPosix.c1938 …*sadd, mDNSAddr *dadd, mDNSIPPort *lport, mDNSIPPort *rport, mDNSu32 seq, mDNSu32 ack, mDNSu16 win) in mDNSPlatformSendKeepalive()
1988 mDNSexport mDNSu16 mDNSPlatformGetUDPPort(UDPSocket *sock) in mDNSPlatformGetUDPPort()
1992 return (mDNSu16)-1; in mDNSPlatformGetUDPPort()