Lines Matching refs:omsg
750 mDNSu8 *responsePtr = m->omsg.data; in sendChallengeResponse()
781 InitializeDNSMessage(&m->omsg.h, q->TargetQID, uQueryFlags); in sendChallengeResponse()
782 responsePtr = putLLQ(&m->omsg, responsePtr, q, llq); in sendChallengeResponse()
785 …mStatus err = mDNSSendDNSMessage(m, &m->omsg, responsePtr, mDNSInterface_Any, q->LocalSocket, &q->… in sendChallengeResponse()
908 InitializeDNSMessage(&m->omsg.h, msg->h.id, ResponseFlags); in uDNS_recvLLQResponse()
909 ackEnd = putLLQ(&m->omsg, m->omsg.data, q, &opt->u.llq); in uDNS_recvLLQResponse()
910 …if (ackEnd) mDNSSendDNSMessage(m, &m->omsg, ackEnd, mDNSInterface_Any, q->LocalSocket, srcaddr, sr… in uDNS_recvLLQResponse()
1378 InitializeDNSMessage(&m->omsg.h, q->TargetQID, uQueryFlags); in startLLQHandshake()
1379 end = putLLQ(&m->omsg, m->omsg.data, q, &llqData); in startLLQHandshake()
1382 …mDNSSendDNSMessage(m, &m->omsg, end, mDNSInterface_Any, q->LocalSocket, &q->servAddr, q->servPort,… in startLLQHandshake()
2568 ptr = putDeletionRecordWithLimit(&m->omsg, ptr, &rr->resrec, limit); in BuildUpdateMessage()
2593 …if (!(ptr = putDeletionRecordWithLimit(&m->omsg, ptr, &rr->resrec, limit))) goto exit; // delete o… in BuildUpdateMessage()
2597 …if (!(ptr = PutResourceRecordTTLWithLimit(&m->omsg, ptr, &m->omsg.h.mDNS_numUpdates, &rr->resrec, … in BuildUpdateMessage()
2606 ptr = putDeleteRRSetWithLimit(&m->omsg, ptr, rr->resrec.name, rr->resrec.rrtype, limit); in BuildUpdateMessage()
2616 …ptr = PutResourceRecordTTLWithLimit(&m->omsg, ptr, &m->omsg.h.mDNS_numUpdates, &rr->resrec, rr->re… in BuildUpdateMessage()
2629 mDNSu8 *ptr = m->omsg.data; in SendRecordRegistration()
2652 InitializeDNSMessage(&m->omsg.h, rr->updateid, UpdateReqFlags); in SendRecordRegistration()
2655 ptr = putZone(&m->omsg, ptr, limit, rr->zone, mDNSOpaque16fromIntVal(rr->resrec.rrclass)); in SendRecordRegistration()
2662 ptr = putUpdateLeaseWithLimit(&m->omsg, ptr, DEFAULT_UPDATE_LEASE, limit); in SendRecordRegistration()
2671 …rr->tcp = MakeTCPConn(m, &m->omsg, ptr, kTCPSocketFlags_UseTLS, &rr->nta->Addr, rr->nta->Port, &rr… in SendRecordRegistration()
2677 …err = mDNSSendDNSMessage(m, &m->omsg, ptr, mDNSInterface_Any, mDNSNULL, &rr->nta->Addr, rr->nta->P… in SendRecordRegistration()
2771 if (info && info->AutoTunnel) limit = m->omsg.data + AbsoluteMaxDNSMessageData; in SendGroupRRMessage()
2772 else limit = m->omsg.data + NormalMaxDNSMessageData; in SendGroupRRMessage()
2775 ptr = putUpdateLeaseWithLimit(&m->omsg, ptr, DEFAULT_UPDATE_LEASE, limit); in SendGroupRRMessage()
2788 …anchorRR->tcp = MakeTCPConn(m, &m->omsg, ptr, kTCPSocketFlags_UseTLS, &anchorRR->nta->Addr, anchor… in SendGroupRRMessage()
2790 …nt a group update ID: %d start %p, end %p, limit %p", mDNSVal16(m->omsg.h.id), m->omsg.data, ptr, … in SendGroupRRMessage()
2794 …mStatus err = mDNSSendDNSMessage(m, &m->omsg, ptr, mDNSInterface_Any, mDNSNULL, &anchorRR->nta->Ad… in SendGroupRRMessage()
2796 … group UDP update ID: %d start %p, end %p, limit %p", mDNSVal16(m->omsg.h.id), m->omsg.data, ptr, … in SendGroupRRMessage()
2907 mDNSu8 *next = m->omsg.data; in SendGroupUpdates()
2953 next = m->omsg.data; in SendGroupUpdates()
2965 InitializeDNSMessage(&m->omsg.h, msgid, UpdateReqFlags); in SendGroupUpdates()
2978 next = putZone(&m->omsg, next, limit, rr->zone, mDNSOpaque16fromIntVal(rr->resrec.rrclass)); in SendGroupUpdates()
3578 mDNSu8 *limit = m->omsg.data + AbsoluteMaxDNSMessageData; in sendLLQRefresh()
3594 InitializeDNSMessage(&m->omsg.h, q->TargetQID, uQueryFlags); in sendLLQRefresh()
3595 end = putLLQ(&m->omsg, m->omsg.data, q, &llq); in sendLLQRefresh()
3600 end = putHINFO(m, &m->omsg, end, q->AuthInfo, limit); in sendLLQRefresh()
3605 DNSDigest_SignMessageHostByteOrder(&m->omsg, &end, q->AuthInfo); in sendLLQRefresh()
3613 …q->tcp = MakeTCPConn(m, &m->omsg, end, kTCPSocketFlags_UseTLS, &q->servAddr, q->servPort, &q->nta-… in sendLLQRefresh()
3624 …err = mDNSSendDNSMessage(m, &m->omsg, end, mDNSInterface_Any, q->LocalSocket, &q->servAddr, q->ser… in sendLLQRefresh()
3914 mDNSu8 *ptr = m->omsg.data; in SendRecordDeregistration()
3932 InitializeDNSMessage(&m->omsg.h, rr->updateid, UpdateReqFlags); in SendRecordDeregistration()
3935 ptr = putZone(&m->omsg, ptr, limit, rr->zone, mDNSOpaque16fromIntVal(rr->resrec.rrclass)); in SendRecordDeregistration()
3948 …rr->tcp = MakeTCPConn(m, &m->omsg, ptr, kTCPSocketFlags_UseTLS, &rr->nta->Addr, rr->nta->Port, &rr… in SendRecordDeregistration()
3955 …err = mDNSSendDNSMessage(m, &m->omsg, ptr, mDNSInterface_Any, mDNSNULL, &rr->nta->Addr, rr->nta->P… in SendRecordDeregistration()
4231 mDNSu8 *end = m->omsg.data; in uDNS_CheckCurrentQuestion()
4235 InitializeDNSMessage(&m->omsg.h, q->TargetQID, uQueryFlags); in uDNS_CheckCurrentQuestion()
4239 …end = putQuestion(&m->omsg, m->omsg.data, m->omsg.data + AbsoluteMaxDNSMessageData, &q->qname, q->… in uDNS_CheckCurrentQuestion()
4247 …end = putQuestion(&m->omsg, m->omsg.data, m->omsg.data + AbsoluteMaxDNSMessageData, DNSRelayTestQu… in uDNS_CheckCurrentQuestion()
4248 q->qDNSServer->testid = m->omsg.h.id; in uDNS_CheckCurrentQuestion()
4251 if (end > m->omsg.data && (q->qDNSServer->teststate != DNSServer_Failed || NoTestQuery(q))) in uDNS_CheckCurrentQuestion()
4267 …else err = mDNSSendDNSMessage(m, &m->omsg, end, q->qDNSServer->interface, q->LocalSocket, &q->qDNS… in uDNS_CheckCurrentQuestion()