Searched defs:rrtype (Results 1 - 15 of 15) sorted by relevance

/external/mdnsresponder/mDNSWindows/DLLX/
H A D_IDNSSDEvents_CP.h202 HRESULT Fire_QueryRecordAnswered( IDNSSDService * service, DNSSDFlags flags, ULONG ifIndex, BSTR fullName, DNSSDRRType rrtype, DNSSDRRClass rrclass, VARIANT rdata, ULONG ttl) argument
225 avarParams[3] = rrtype;
H A DDNSSD.cpp247 STDMETHODIMP CDNSSD::QueryRecord(DNSSDFlags flags, ULONG ifIndex, BSTR fullname, DNSSDRRType rrtype, DNSSDRRClass rrclass, IQueryRecordListener *listener, IDNSSDService **service) argument
277 err = DNSServiceQueryRecord( &sref, flags, ifIndex, fullNameUTF8.c_str(), ( uint16_t ) rrtype, ( uint16_t ) rrclass, ( DNSServiceQueryRecordReply ) &QueryRecordReply, object );
729 uint16_t rrtype,
761 listener->QueryRecordAnswered( service, ( DNSSDFlags ) flags, ifIndex, fullName, ( DNSSDRRType ) rrtype, ( DNSSDRRClass ) rrclass, var, ttl );
722 QueryRecordReply( DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, const char *fullNameUTF8, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context ) argument
H A DDNSSDService.cpp638 STDMETHODIMP CDNSSDService::QueryRecord(DNSSDFlags flags, ULONG ifIndex, BSTR fullname, DNSSDRRType rrtype, DNSSDRRClass rrclass, IDNSSDEventManager *eventManager, IDNSSDService **service) argument
700 err = DNSServiceQueryRecord( &subord, flags | kDNSServiceFlagsShareConnection, ifIndex, fullNameUTF8.c_str(), ( uint16_t ) rrtype, ( uint16_t ) rrclass, ( DNSServiceQueryRecordReply ) &QueryRecordReply, object );
740 STDMETHODIMP CDNSSDService::RegisterRecord(DNSSDFlags flags, ULONG ifIndex, BSTR fullName, DNSSDRRType rrtype, DNSSDRRClass rrclass, VARIANT rdata, ULONG ttl, IDNSSDEventManager* eventManager, IDNSSDRecord** record) argument
812 err = DNSServiceRegisterRecord( m_primary, &rref, flags, ifIndex, fullNameUTF8.c_str(), rrtype, rrclass, ( uint16_t ) byteArray.size(), byteArray.size() > 0 ? &byteArray[ 0 ] : NULL, ttl, &RegisterRecordReply, object );
852 STDMETHODIMP CDNSSDService::AddRecord(DNSSDFlags flags, DNSSDRRType rrtype, VARIANT rdata, ULONG ttl, IDNSSDRecord ** record) argument
914 err = DNSServiceAddRecord( m_primary, &rref, flags, rrtype, ( uint16_t ) byteArray.size(), byteArray.size() > 0 ? &byteArray[ 0 ] : NULL, ttl );
950 STDMETHODIMP CDNSSDService::ReconfirmRecord(DNSSDFlags flags, ULONG ifIndex, BSTR fullName, DNSSDRRType rrtype, DNSSDRRClass rrclass, VARIANT rdata) argument
984 err = DNSServiceReconfirmRecord( flags, ifIndex, fullNameUTF8.c_str(), rrtype, rrclass, ( uint16_t ) byteArray.size(), byteArray.size() > 0 ? &byteArray[ 0 ] : NULL );
1720 uint16_t rrtype,
1766 eventManager->Fire_QueryRecordAnswered( service, ( DNSSDFlags ) flags, ifIndex, fullName, ( DNSSDRRType ) rrtype, ( DNSSDRRClas
1713 QueryRecordReply( DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, const char *fullNameUTF8, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context ) argument
[all...]
/external/mdnsresponder/mDNSWindows/DLLStub/
H A DDLLStub.cpp187 uint16_t rrtype,
199 ret = func( sdRef, RecordRef, flags, rrtype, rdlen, rdata, ttl );
348 uint16_t rrtype,
363 ret = func( sdRef, RecordRef, flags, interfaceIndex, fullname, rrtype, rrclass, rdlen, rdata, ttl, callBack, context );
377 uint16_t rrtype,
389 ret = func( sdRef, flags, interfaceIndex, fullname, rrtype, rrclass, callBack, context );
402 uint16_t rrtype,
414 ret = func( flags, interfaceIndex, fullname, rrtype, rrclass, rdlen, rdata );
182 DNSServiceAddRecord( DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint16_t rrtype, uint16_t rdlen, const void *rdata, uint32_t ttl ) argument
341 DNSServiceRegisterRecord( DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, DNSServiceRegisterRecordReply callBack, void *context ) argument
371 DNSServiceQueryRecord( DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, DNSServiceQueryRecordReply callBack, void *context ) argument
397 DNSServiceReconfirmRecord( DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata ) argument
/external/mdnsresponder/mDNSShared/
H A Ddnssd_clientshim.c309 uint16_t rrtype,
318 (void)rrtype; // Unused
380 if (answer->rrtype != kDNSType_PTR)
381 { LogMsg("FoundInstance: Should not be called with rrtype %d (not a PTR record)", answer->rrtype); return; }
461 if (answer->rrtype == kDNSType_SRV && x->SRV == answer) x->SRV = mDNSNULL;
462 if (answer->rrtype == kDNSType_TXT && x->TXT == answer) x->TXT = mDNSNULL;
466 if (answer->rrtype == kDNSType_SRV) x->SRV = answer;
467 if (answer->rrtype == kDNSType_TXT) x->TXT = answer;
594 uint16_t rrtype,
304 DNSServiceAddRecord( DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint16_t rrtype, uint16_t rdlen, const void *rdata, uint32_t ttl ) argument
587 DNSServiceRegisterRecord( DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, DNSServiceRegisterRecordReply callback, void *context ) argument
639 DNSServiceQueryRecord( DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, DNSServiceQueryRecordReply callback, void *context ) argument
782 DNSServiceReconfirmRecord( DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata ) argument
[all...]
H A Ddnssd_clientstub.c1190 uint16_t rrtype, rrclass, rdlen; local
1194 rrtype = get_uint16(&data, end);
1201 else ((DNSServiceQueryRecordReply)sdr->AppCallback)(sdr, cbh->cb_flags, cbh->cb_interface, cbh->cb_err, name, rrtype, rrclass, rdlen, rdata, ttl, sdr->AppContext);
1211 uint16_t rrtype,
1229 len += 2 * sizeof(uint16_t); // rrtype, rrclass
1237 put_uint16(rrtype, &ptr);
1248 uint16_t rrtype, rrclass, rdlen; local
1253 rrtype = get_uint16(&data, end);
1264 else if (rrtype == kDNSServiceType_A || rrtype
1205 DNSServiceQueryRecord( DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, uint16_t rrtype, uint16_t rrclass, DNSServiceQueryRecordReply callBack, void *context ) argument
1615 DNSServiceRegisterRecord( DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, DNSServiceRegisterRecordReply callBack, void *context ) argument
1693 DNSServiceAddRecord( DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint16_t rrtype, uint16_t rdlen, const void *rdata, uint32_t ttl ) argument
1836 DNSServiceReconfirmRecord( DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata ) argument
[all...]
H A Duds_daemon.c484 // Data must be in the following format: flags, interfaceIndex, name, rrtype, rrclass, rdlen, rdata, (optional) ttl
726 if (rr->resrec.rrtype == kDNSType_SRV && SameDomainName(rr->resrec.name, r->name) && !IdenticalSameNameRecord(&rr->resrec, r))
738 if (rr->resrec.rrtype == kDNSType_SRV &&
1005 rr->resrec.rrclass == kDNSClass_IN && (rr->resrec.rrtype == kDNSType_A || rr->resrec.rrtype == kDNSType_AAAA ||
1006 rr->resrec.rrtype == kDNSType_CNAME))
1028 rr->resrec.rroriginalttl = DefaultTTLforRRType(rr->resrec.rrtype);
1091 mDNSlocal mStatus add_record_to_service(request_state *request, service_instance *instance, mDNSu16 rrtype, mDNSu16 rdlen, const char *rdata, mDNSu32 ttl) argument
1100 extra->r.resrec.rrtype = rrtype;
1123 mDNSu16 rrtype = get_uint16(&request->msgptr, request->msgend); local
1317 remove_extra(const request_state *const request, service_instance *const serv, mDNSu16 *const rrtype) argument
1352 mDNSu16 rrtype = 0; local
2972 mDNSu16 rrtype, rrclass; local
[all...]
/external/mdnsresponder/mDNSWindows/DLL.NET/
H A Ddnssd_NET.cpp262 int rrtype,
271 OnQueryRecordReply(this, flags, interfaceIndex, errorCode, fullname, rrtype, rrclass, rdata, ttl);
615 uint16_t rrtype,
639 self->m_outer->QueryRecordDispatch((ServiceFlags) flags, (int) interfaceIndex, (ErrorCode) errorCode, ConvertToString(fullname), rrtype, rrclass, rdataBytes, ttl);
737 int rrtype,
755 int err = DNSServiceAddRecord(sdRef->m_impl->m_ref, &record->m_impl->m_ref, flags, rrtype, len, v, ttl);
940 int rrtype,
960 int err = DNSServiceRegisterRecord(sdRef->m_impl->m_ref, &record->m_impl->m_ref, flags, interfaceIndex, pFullname->c_str(), rrtype, rrclass, len, v, ttl, (DNSServiceRegisterRecordReply) ServiceRef::ServiceRefImpl::RegisterRecordCallback, sdRef->m_impl);
983 int rrtype,
991 int err = DNSServiceQueryRecord(&sdRef->m_impl->m_ref, flags, interfaceIndex, pFullname->c_str(), rrtype, rrclas
256 QueryRecordDispatch( ServiceFlags flags, int interfaceIndex, ErrorCode errorCode, String * fullname, int rrtype, int rrclass, Byte rdata[], int ttl ) argument
608 QueryRecordCallback( DNSServiceRef DNSServiceRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char * fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void * rdata, uint32_t ttl, void * context ) argument
733 AddRecord( ServiceRef * sdRef, int flags, int rrtype, Byte rdata[], int ttl ) argument
934 RegisterRecord( ServiceRef * sdRef, ServiceFlags flags, int interfaceIndex, String * fullname, int rrtype, int rrclass, Byte rdata[], int ttl ) argument
978 QueryRecord( ServiceFlags flags, int interfaceIndex, String * fullname, int rrtype, int rrclass, QueryRecordReply * callback ) argument
1012 ReconfirmRecord( ServiceFlags flags, int interfaceIndex, String * fullname, int rrtype, int rrclass, Byte rdata[] ) argument
[all...]
/external/libcups/cups/
H A Ddest.c188 uint16_t rrtype, uint16_t rrclass,
200 uint16_t rrtype, const void *rdata,
3187 uint16_t rrtype, /* I - Record type */
3204 uint16_t rrtype, /* I - Record type */
3224 DEBUG_printf(("5cups_dnssd_query_cb(sdRef=%p, flags=%x, interfaceIndex=%d, errorCode=%d, fullName=\"%s\", rrtype=%u, rrclass=%u, rdlen=%u, rdata=%p, ttl=%u, context=%p)", (void *)sdRef, flags, interfaceIndex, errorCode, fullName, rrtype, rrclass, rdlen, rdata, ttl, context));
3236 "rrtype=%u, rdata=%p, rdlen=%u, flags=%x, context=%p)",
3238 rrtype, rdata, (unsigned)rdlen, flags, context));
3181 cups_dnssd_query_cb( DNSServiceRef sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *fullName, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context) argument
/external/mdnsresponder/Clients/
H A Ddns-sd.c680 const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context)
700 switch (rrtype)
738 printf("%s%6X%3d %-30s%4d%4d %s", op, flags, ifIndex, fullname, rrtype, rrclass, rdb);
754 DNSServiceReconfirmRecord(flags, ifIndex, fullname, rrtype, rrclass, rdlen, rdata);
1172 uint16_t rrtype, rrclass; local
1177 rrtype = (argc <= opi+1) ? kDNSServiceType_A : GetRRType(argv[opi+1]);
1179 if (rrtype == kDNSServiceType_TXT || rrtype == kDNSServiceType_PTR) flags |= kDNSServiceFlagsLongLivedQuery;
1180 err = DNSServiceQueryRecord(&client, flags, opinterface, argv[opi+0], rrtype, rrclass, qr_reply, NULL);
1315 fprintf(stderr, "%s -Q <FQDN> <rrtype> <rrclas
679 qr_reply(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context) argument
[all...]
/external/mdnsresponder/mDNSPosix/
H A DNetMonitor.c268 if (pktrr->rrtype == kDNSType_A || pktrr->rrtype == kDNSType_AAAA)
275 if (pktrr->rrtype == kDNSType_PTR)
282 else if (pktrr->rrtype == kDNSType_HINFO)
297 mDNSlocal void SendUnicastQuery(mDNS *const m, HostEntry *entry, domainname *name, mDNSu16 rrtype, mDNSInterfaceID InterfaceID) argument
305 qptr = putQuestion(&query, qptr, limit, name, rrtype, kDNSClass_IN);
406 mDNSlocal void recordstat(HostEntry *entry, const domainname *fqdn, int op, mDNSu16 rrtype) argument
413 if (rrtype == kDNSType_SRV || rrtype == kDNSType_TXT) op = op - OP_browsegroup + OP_resolvegroup;
414 else if (rrtype !
[all...]
H A Dnss_mdns.c209 rrtype
217 rr_to_af (ns_type_t rrtype);
579 uint16_t rrtype,
854 ns_type_t rrtype; local
866 rrtype = kDNSServiceType_A;
872 rrtype = kDNSServiceType_AAAA;
892 rrtype, // resource record type
1065 uint16_t rrtype,
1101 rrtype,
1102 ns_type_to_str (rrtype)
1058 mdns_lookup_callback( DNSServiceRef sdref, DNSServiceFlags flags, uint32_t interface_index, DNSServiceErrorType error_code, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context ) argument
2273 rr_to_af(ns_type_t rrtype) argument
[all...]
/external/mdnsresponder/mDNSCore/
H A DDNSCommon.c145 mDNSexport char *DNSTypeName(mDNSu16 rrtype) argument
147 switch (rrtype)
165 mDNS_snprintf(buffer, sizeof(buffer), "(%d)", rrtype);
179 mDNSu32 length = mDNS_snprintf(buffer, MaxMsg-1, "%4d %##s %s ", rr->rdlength, rr->name->c, DNSTypeName(rr->rrtype));
183 switch (rr->rrtype)
992 mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, AuthRecType artype, mDNSRecordCallback Callback, void *Context)
1021 ttl = DefaultTTLforRRType(rrtype);
1027 rr->resrec.rrtype = rrtype;
1115 switch(rr->rrtype)
991 mDNS_SetupResourceRecord(AuthRecord *rr, RData *RDataStorage, mDNSInterfaceID InterfaceID, mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, AuthRecType artype, mDNSRecordCallback Callback, void *Context) argument
1458 ValidateRData(const mDNSu16 rrtype, const mDNSu16 rdlength, const RData *const rd) argument
1852 putQuestion(DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit, const domainname *const name, mDNSu16 rrtype, mDNSu16 rrclass) argument
1910 putDeleteRRSetWithLimit(DNSMessage *msg, mDNSu8 *ptr, const domainname *name, mDNSu16 rrtype, mDNSu8 *limit) argument
1932 mDNSu16 rrtype = kDNSQType_ANY; local
[all...]
H A DmDNS.c119 ((rr)->resrec.rrtype == kDNSType_A || (rr)->resrec.rrtype == kDNSType_AAAA || \
120 (rr)->resrec.rrtype == kDNSType_CNAME))
124 (rr)->rrtype == kDNSType_CNAME)
611 // SameResourceRecordNameClassInterface is functionally the same as SameResourceRecordSignature, except rrtype does not have to match
613 #define SameResourceRecordSignature(A,B) (A)->resrec.rrtype == (B)->resrec.rrtype && SameResourceRecordNameClassInterface((A),(B))
644 if (pktrr->resrec.rrtype != authrr->resrec.rrtype) return(mDNSfalse);
777 if (rr->WakeUp.HMAC.l[0] && rr->resrec.rrtype
7433 MakeNegativeCacheRecord(mDNS *const m, CacheRecord *const cr, const domainname *const name, const mDNSu32 namehash, const mDNSu16 rrtype, const mDNSu16 rrclass, mDNSu32 ttl_seconds, mDNSInterfaceID InterfaceID, DNSServer *dnsserver) argument
[all...]
H A DmDNSEmbeddedAPI.h1094 mDNSu16 rrtype; member in struct:__anon14237
2218 mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, AuthRecType artype, mDNSRecordCallback Callback, void *Context);
2382 extern char *DNSTypeName(mDNSu16 rrtype);
2735 const domainname *const name, const mDNSu32 namehash, const mDNSu16 rrtype, const mDNSu16 rrclass, mDNSu32 ttl_seconds,

Completed in 797 milliseconds