Searched refs:rroriginalttl (Results 1 – 10 of 10) sorted by relevance
/external/mdnsresponder/mDNSCore/ |
D | mDNS.c | 599 #define TicksTTL(RR) ((mDNSs32)(RR)->resrec.rroriginalttl * mDNSPlatformOneSecond) 672 return(mDNSBool)(ka->resrec.rroriginalttl >= rr->resrec.rroriginalttl / 2); in ShouldSuppressKnownAnswer() 1031 if ((mDNSs32)rr->resrec.rroriginalttl <= 0) in mDNS_Register_internal() 1032 …{ LogMsg("mDNS_Register_internal: TTL %X should be 1 - 0x7FFFFFFF %s", rr->resrec.rroriginalttl, A… in mDNS_Register_internal() 1526 rr->resrec.rroriginalttl = 0; in mDNS_Deregister_internal() 2279 …tRR_OS_TTL(responseptr, &m->omsg.h.numAnswers, &rr->resrec, active ? rr->resrec.rroriginalttl : 0); in SendResponses() 2364 …eRecord(&nsec, mDNSNULL, mDNSInterface_Any, kDNSType_NSEC, rr->resrec.rroriginalttl, kDNSRecordTyp… in SendResponses() 2495 ((RR)->resrec.rroriginalttl > 10 ) ? (mDNSPlatformOneSecond) : \ 2496 ((RR)->resrec.rroriginalttl > 0 ) ? (mDNSPlatformOneSecond/10) : 0) 2551 rr->resrec.rroriginalttl = (interval * 4 + mDNSPlatformOneSecond - 1) / mDNSPlatformOneSecond; in mDNS_Reconfirm_internal() [all …]
|
D | DNSCommon.h | 203 …e PutResourceRecord(MSG, P, C, RR) PutResourceRecordTTL((MSG), (P), (C), (RR), (RR)->rroriginalttl) 210 #define PutRR_OS(P, C, RR) PutRR_OS_TTL((P), (C), (RR), (RR)->rroriginalttl)
|
D | DNSDigest.c | 1362 tsig.resrec.rroriginalttl = 0; in DNSDigest_SignMessage() 1363 MD5_Update(&c, (mDNSu8 *)&tsig.resrec.rroriginalttl, sizeof(tsig.resrec.rroriginalttl)); in DNSDigest_SignMessage() 1527 MD5_Update(&c, (mDNSu8*) &lcr->r.resrec.rroriginalttl, sizeof(lcr->r.resrec.rroriginalttl)); in DNSDigest_VerifyMessage()
|
D | DNSCommon.c | 1029 rr->resrec.rroriginalttl = ttl; in mDNS_SetupResourceRecord() 1988 hinfo.resrec.rroriginalttl = 0; in putHINFO() 2176 …rr->resrec.rroriginalttl = (mDNSu32) ((mDNSu32)ptr[4] << 24 | (mDNSu32)ptr[5] << 16 | (mDNSu32… in GetLargeResourceRecord() 2177 …if (rr->resrec.rroriginalttl > 0x70000000UL / mDNSPlatformOneSecond && (mDNSs32)rr->resrec.rrorigi… in GetLargeResourceRecord() 2178 rr->resrec.rroriginalttl = 0x70000000UL / mDNSPlatformOneSecond; in GetLargeResourceRecord() 2511 …if (ptr) LogMsg("%2d TTL%8d %s", i, largecr.r.resrec.rroriginalttl, CRDisplayString(m, &largecr.r)… in DumpRecords()
|
D | uDNS.c | 2597 …it(&m->omsg, ptr, &m->omsg.h.mDNS_numUpdates, &rr->resrec, rr->resrec.rroriginalttl, limit))) got… in BuildUpdateMessage() 2616 …WithLimit(&m->omsg, ptr, &m->omsg.h.mDNS_numUpdates, &rr->resrec, rr->resrec.rroriginalttl, limit); in BuildUpdateMessage() 3015 …%s, next %p, state %d, ttl %d", ARDisplayString(m, rr), next, rr->state, rr->resrec.rroriginalttl); in SendGroupUpdates()
|
D | mDNSEmbeddedAPI.h | 1085 mDNSu32 rroriginalttl; // In seconds member
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.c | 875 mDNSPlatformMemZero(ptr+4, sizeof(rr->rroriginalttl) + sizeof(rr->rdlength)); // zero ttl/rdata in putRRSetDeletion() 1404 …if (rr->rrtype == kDNSQType_ANY && !rr->rroriginalttl && rr->rrclass == kDNSQClass_ANY && !rr->rdl… in UpdateLeaseTable() 1406 else if (!rr->rroriginalttl && rr->rrclass == kDNSQClass_ANY && !rr->rdlength) in UpdateLeaseTable() 1408 else if (!rr->rroriginalttl && rr->rrclass == kDNSClass_NONE) in UpdateLeaseTable() 1528 …if (lcr.r.resrec.RecordType != kDNSRecordTypePacketNegative && lcr.r.resrec.rroriginalttl) adds++;… in HandleRequest() 1836 (*ka)->resrec.rroriginalttl = (unsigned)-1; // -1 means delete in UpdateAnswerList() 1844 { (*ka)->resrec.rroriginalttl = 0; break; } // 0 means no change in UpdateAnswerList() 1861 cr->resrec.rroriginalttl = 1; // 1 means add in UpdateAnswerList() 1870 if ((*ka)->resrec.rroriginalttl == (unsigned)-1) in UpdateAnswerList() 1911 VLog("%s (%s): %s", addrbuf, (mDNSs32)cr->resrec.rroriginalttl < 0 ? "Remove": "Add", rrbuf); in SendEvents() [all …]
|
D | dnssd_clientshim.c | 636 …type, answer->rrclass, answer->rdlength, answer->rdata->u.data, answer->rroriginalttl, x->context); in DNSServiceQueryRecordResponse()
|
D | uds_daemon.c | 544 if (GetTTL) rr->resrec.rroriginalttl = ttl; in read_rr_from_ipc_msg() 1027 if (rr->resrec.rroriginalttl == 0) in handle_regrecord_request() 1028 rr->resrec.rroriginalttl = DefaultTTLforRRType(rr->resrec.rrtype); in handle_regrecord_request() 2831 put_uint32(AddRecord ? answer->rroriginalttl : 0, &data); in queryrecord_result_callback() 4332 const mDNSs32 remain = cr->resrec.rroriginalttl - (now - cr->TimeRcvd) / mDNSPlatformOneSecond; in udsserver_info()
|
/external/mdnsresponder/mDNSPosix/ |
D | NetMonitor.c | 512 …s %-5s%5lu %##s -> ", srcaddr, op, DNSTypeName(pktrr->rrtype), pktrr->rroriginalttl, pktrr->name->… in DisplayResourceRecord() 716 if (pkt.r.resrec.rroriginalttl) in DisplayResponse() 766 if (ptr && pkt.r.resrec.rroriginalttl && entry) RecordHostInfo(entry, &pkt.r.resrec); in ProcessUnicastResponse()
|