Lines Matching refs:AuthInfo

362                 if (q->AuthInfo == info)  in GetAuthInfoForName_internal()
364 q->AuthInfo = GetAuthInfoForName_direct(m, &q->qname); in GetAuthInfoForName_internal()
366 …info->domain.c, q->AuthInfo ? q->AuthInfo->domain.c : mDNSNULL, q->qname.c, DNSTypeName(q->qtype)); in GetAuthInfoForName_internal()
443 if (q->AuthInfo != newinfo) in mDNS_SetSecretForDomain()
446 q->AuthInfo ? q->AuthInfo->domain.c : mDNSNULL, in mDNS_SetSecretForDomain()
448 q->AuthInfo = newinfo; in mDNS_SetSecretForDomain()
1264 DomainAuthInfo *AuthInfo; in tcpCallback() local
1273AuthInfo = tcpInfo->rr ? GetAuthInfoForName(m, tcpInfo->rr->resrec.name) : mDNSNULL; in tcpCallback()
1297 AuthInfo = q->AuthInfo; // Need to add TSIG to this message in tcpCallback()
1313 AuthInfo = q->AuthInfo; // Need to add TSIG to this message in tcpCallback()
1316 …quest, end, mDNSInterface_Any, mDNSNULL, &tcpInfo->Addr, tcpInfo->Port, sock, AuthInfo, mDNSfalse); in tcpCallback()
1705 DomainAuthInfo *AuthInfo = GetAuthInfoForName_internal(m, rr->resrec.name); in GetServiceTarget() local
1706 if (AuthInfo && AuthInfo->AutoTunnel) in GetServiceTarget()
1708 StartServerTunnel(m, AuthInfo); in GetServiceTarget()
1709 if (AuthInfo->AutoTunnelHostRecord.namestorage.c[0] == 0) return(mDNSNULL); in GetServiceTarget()
1710 … debugf("GetServiceTarget: Returning %##s", AuthInfo->AutoTunnelHostRecord.namestorage.c); in GetServiceTarget()
1711 return(&AuthInfo->AutoTunnelHostRecord.namestorage); in GetServiceTarget()
1780 DomainAuthInfo *AuthInfo = GetAuthInfoForName(m, zd->CurrentSOA); in GetZoneData_QuestionCallback() local
1781 if (AuthInfo && AuthInfo->AutoTunnel) in GetZoneData_QuestionCallback()
1911 DomainAuthInfo *AuthInfo = GetAuthInfoForName_internal(m, name); in StartGetZoneData() local
1912 …int initialskip = (AuthInfo && AuthInfo->AutoTunnel) ? DomainNameLength(name) - DomainNameLength(& in StartGetZoneData()
1924 zd->ZonePrivate = AuthInfo && AuthInfo->AutoTunnel ? mDNStrue : mDNSfalse; in StartGetZoneData()
1931 if (AuthInfo && AuthInfo->AutoTunnel && !mDNSIPPortIsZero(AuthInfo->port)) in StartGetZoneData()
1933 LogInfo("StartGetZoneData: Bypassing SOA, SRV query for %##s", AuthInfo->domain.c); in StartGetZoneData()
1943 AssignDomainName(&zd->ZoneName, &AuthInfo->domain); in StartGetZoneData()
1945 AssignDomainName(&zd->Host, &AuthInfo->hostname); in StartGetZoneData()
1946 zd->Port = AuthInfo->port; in StartGetZoneData()
1952 …if (AuthInfo && AuthInfo->AutoTunnel) LogInfo("StartGetZoneData: Not Bypassing SOA, SRV query for … in StartGetZoneData()
2848 mDNSlocal mDNSu32 RRAdditionalSize(mDNS *const m, DomainAuthInfo *AuthInfo) in RRAdditionalSize() argument
2859 if (AuthInfo && AuthInfo->AutoTunnel) in RRAdditionalSize()
2860 hinfoSize = (m->hostlabel.c[0] + 1) + DomainNameLength(&AuthInfo->domain) + in RRAdditionalSize()
2875 if (AuthInfo) tsigSize = DomainNameLength(&AuthInfo->keyname) + rr_base_size + 58; in RRAdditionalSize()
2952 DomainAuthInfo *AuthInfo; in SendRecordRegistration() local
2958 AuthInfo = GetAuthInfoForName_internal(m, rr->resrec.name); in SendRecordRegistration()
2959 limit -= RRAdditionalSize(m, AuthInfo); in SendRecordRegistration()
3232 DomainAuthInfo *AuthInfo = mDNSNULL; in SendGroupUpdates() local
3252 AuthInfo = mDNSNULL; in SendGroupUpdates()
3264 AuthInfo = GetAuthInfoForName_internal(m, rr->zone); in SendGroupUpdates()
3269 if (AuthInfo && AuthInfo->AutoTunnel) spaceleft = AbsoluteMaxDNSMessageData; in SendGroupUpdates()
3273 spaceleft -= RRAdditionalSize(m, AuthInfo); in SendGroupUpdates()
3328 SendGroupRRMessage(m, anchorRR, next, AuthInfo); in SendGroupUpdates()
3365 SendGroupRRMessage(m, anchorRR, next, AuthInfo); in SendGroupUpdates()
3906 …if (q->AuthInfo) return(mDNStrue); // Don't need a test query for private queries sent direct… in NoTestQuery()
4089 end = putHINFO(m, &m->omsg, end, q->AuthInfo, limit); in sendLLQRefresh()
4094 DNSDigest_SignMessageHostByteOrder(&m->omsg, &end, q->AuthInfo); in sendLLQRefresh()
4215 q->AuthInfo = mDNSNULL; // Clear AuthInfo so we try again non-private in PrivateQueryGotZoneData()
4229 …RROR!! Not a private query %##s (%s) AuthInfo %p", q->qname.c, DNSTypeName(q->qtype), q->AuthInfo); in PrivateQueryGotZoneData()
4368 DomainAuthInfo *AuthInfo; in RecordRegistrationGotZoneData() local
4369 AuthInfo = GetAuthInfoForName(m, newRR->resrec.name); in RecordRegistrationGotZoneData()
4370 if (AuthInfo && AuthInfo->AutoTunnel) in RecordRegistrationGotZoneData()
4417 DomainAuthInfo *AuthInfo; in SendRecordDeregistration() local
4428 AuthInfo = GetAuthInfoForName_internal(m, rr->resrec.name); in SendRecordDeregistration()
4429 limit -= RRAdditionalSize(m, AuthInfo); in SendRecordDeregistration()