• Home
  • Raw
  • Download

Lines Matching refs:AuthInfo

321 				if (q->AuthInfo == info)  in GetAuthInfoForName_internal()
323 q->AuthInfo = GetAuthInfoForName_direct(m, &q->qname); in GetAuthInfoForName_internal()
325 …info->domain.c, q->AuthInfo ? q->AuthInfo->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype)); in GetAuthInfoForName_internal()
401 if (q->AuthInfo != newinfo) in mDNS_SetSecretForDomain()
404 q->AuthInfo ? q->AuthInfo->domain.c : mDNSNULL, in mDNS_SetSecretForDomain()
406 q->AuthInfo = newinfo; in mDNS_SetSecretForDomain()
982 DomainAuthInfo *AuthInfo; in tcpCallback() local
991 AuthInfo = tcpInfo->rr ? GetAuthInfoForName(m, tcpInfo->rr->resrec.name) : mDNSNULL; in tcpCallback()
1015 AuthInfo = q->AuthInfo; // Need to add TSIG to this message in tcpCallback()
1023 AuthInfo = q->AuthInfo; // Need to add TSIG to this message in tcpCallback()
1026 …tcpInfo->request, end, mDNSInterface_Any, mDNSNULL, &tcpInfo->Addr, tcpInfo->Port, sock, AuthInfo); in tcpCallback()
1406 DomainAuthInfo *AuthInfo = GetAuthInfoForName_internal(m, rr->resrec.name); in GetServiceTarget() local
1407 if (AuthInfo && AuthInfo->AutoTunnel) in GetServiceTarget()
1411 if (!AuthInfo->AutoTunnelNAT.clientContext && m->AutoTunnelHostAddr.b[0]) in GetServiceTarget()
1416 if (AuthInfo->AutoTunnelHostRecord.namestorage.c[0] == 0) return(mDNSNULL); in GetServiceTarget()
1417 debugf("GetServiceTarget: Returning %##s", AuthInfo->AutoTunnelHostRecord.namestorage.c); in GetServiceTarget()
1418 return(&AuthInfo->AutoTunnelHostRecord.namestorage); in GetServiceTarget()
1487 DomainAuthInfo *AuthInfo = GetAuthInfoForName(m, zd->CurrentSOA); in GetZoneData_QuestionCallback() local
1488 if (AuthInfo && AuthInfo->AutoTunnel) in GetZoneData_QuestionCallback()
1606 DomainAuthInfo *AuthInfo = GetAuthInfoForName_internal(m, name); in StartGetZoneData() local
1607 …int initialskip = (AuthInfo && AuthInfo->AutoTunnel) ? DomainNameLength(name) - DomainNameLength(& in StartGetZoneData()
1619 zd->ZonePrivate = AuthInfo && AuthInfo->AutoTunnel ? mDNStrue : mDNSfalse; in StartGetZoneData()
1626 if (AuthInfo && AuthInfo->AutoTunnel && !mDNSIPPortIsZero(AuthInfo->port)) in StartGetZoneData()
1628 LogInfo("StartGetZoneData: Bypassing SOA, SRV query for %##s", AuthInfo->domain.c); in StartGetZoneData()
1638 AssignDomainName(&zd->ZoneName, &AuthInfo->domain); in StartGetZoneData()
1640 AssignDomainName(&zd->Host, &AuthInfo->hostname); in StartGetZoneData()
1641 zd->Port = AuthInfo->port; in StartGetZoneData()
1647 …if (AuthInfo && AuthInfo->AutoTunnel) LogInfo("StartGetZoneData: Not Bypassing SOA, SRV query for … in StartGetZoneData()
2528 mDNSlocal mDNSu32 RRAdditionalSize(mDNS *const m, DomainAuthInfo *AuthInfo) in RRAdditionalSize() argument
2539 if (AuthInfo && AuthInfo->AutoTunnel) in RRAdditionalSize()
2540 hinfoSize = (m->hostlabel.c[0] + 1) + DomainNameLength(&AuthInfo->domain) + in RRAdditionalSize()
2555 if (AuthInfo) tsigSize = DomainNameLength(&AuthInfo->keyname) + rr_base_size + 58; in RRAdditionalSize()
2632 DomainAuthInfo *AuthInfo; in SendRecordRegistration() local
2638 AuthInfo = GetAuthInfoForName_internal(m, rr->resrec.name); in SendRecordRegistration()
2639 limit -= RRAdditionalSize(m, AuthInfo); in SendRecordRegistration()
2913 DomainAuthInfo *AuthInfo = mDNSNULL; in SendGroupUpdates() local
2933 AuthInfo = mDNSNULL; in SendGroupUpdates()
2945 AuthInfo = GetAuthInfoForName_internal(m, rr->zone); in SendGroupUpdates()
2950 if (AuthInfo && AuthInfo->AutoTunnel) spaceleft = AbsoluteMaxDNSMessageData; in SendGroupUpdates()
2954 spaceleft -= RRAdditionalSize(m, AuthInfo); in SendGroupUpdates()
3009 SendGroupRRMessage(m, anchorRR, next, AuthInfo); in SendGroupUpdates()
3046 SendGroupRRMessage(m, anchorRR, next, AuthInfo); in SendGroupUpdates()
3417 …if (q->AuthInfo) return(mDNStrue); // Don't need a test query for private queries sent directly t… in NoTestQuery()
3600 end = putHINFO(m, &m->omsg, end, q->AuthInfo, limit); in sendLLQRefresh()
3605 DNSDigest_SignMessageHostByteOrder(&m->omsg, &end, q->AuthInfo); in sendLLQRefresh()
3714 q->AuthInfo = mDNSNULL; // Clear AuthInfo so we try again non-private in PrivateQueryGotZoneData()
3728 …RROR!! Not a private query %##s (%s) AuthInfo %p", q->qname.c, DNSTypeName(q->qtype), q->AuthInfo); in PrivateQueryGotZoneData()
3867 DomainAuthInfo *AuthInfo; in RecordRegistrationGotZoneData() local
3868 AuthInfo = GetAuthInfoForName(m, newRR->resrec.name); in RecordRegistrationGotZoneData()
3869 if (AuthInfo && AuthInfo->AutoTunnel) in RecordRegistrationGotZoneData()
3916 DomainAuthInfo *AuthInfo; in SendRecordDeregistration() local
3928 AuthInfo = GetAuthInfoForName_internal(m, rr->resrec.name); in SendRecordDeregistration()
3929 limit -= RRAdditionalSize(m, AuthInfo); in SendRecordDeregistration()