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

/illumos-gate/usr/src/lib/libdns_sd/java/com/apple/dnssd/
H A DDNSSDRecordRegistrar.java38 @param rrtype
57 public DNSRecord registerRecord( int flags, int ifIndex, String fullname, int rrtype, argument
H A DQueryListener.java44 @param rrtype
57 int rrtype, int rrclass, byte[] rdata, int ttl);
56 queryAnswered( DNSSDService query, int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata, int ttl) argument
H A DDNSSD.java298 @param rrtype
314 public static DNSSDService queryRecord( int flags, int ifIndex, String serviceName, int rrtype, argument
317 { return getInstance()._queryRecord( flags, ifIndex, serviceName, rrtype, rrclass, listener); }
386 @param rrtype
398 public static void reconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, argument
400 { getInstance()._reconfirmRecord( flags, ifIndex, fullName, rrtype, rrclass, rdata); }
451 abstract protected DNSSDService _queryRecord( int flags, int ifIndex, String serviceName, int rrtype, argument
461 abstract protected void _reconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, argument
581 protected DNSSDService _queryRecord( int flags, int ifIndex, String serviceName, int rrtype, argument
585 return new AppleQuery( flags, ifIndex, serviceName, rrtype, rrclas
606 _reconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata) argument
625 ReconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata) argument
811 registerRecord( int flags, int ifIndex, String fullname, int rrtype, int rrclass, byte[] rdata, int ttl) argument
825 RegisterRecord( int flags, int ifIndex, String fullname, int rrtype, int rrclass, byte[] rdata, int ttl, AppleDNSRecord destObj) argument
831 AppleQuery( int flags, int ifIndex, String serviceName, int rrtype, int rrclass, QueryListener client) argument
842 CreateQuery( int flags, int ifIndex, String serviceName, int rrtype, int rrclass) argument
[all...]
/illumos-gate/usr/src/lib/libdns_sd/java/com/apple/dnssd/docs/examples/src/
H A DSwingQueryListener.java63 int rrtype, int rrclass, byte[] rdata, int ttl)
69 fType = rrtype;
62 queryAnswered( DNSSDService query, int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata, int ttl) argument
H A DSimpleChat.java179 int rrtype, int rrclass, byte[] rdata, int ttl)
178 queryAnswered( DNSSDService query, int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata, int ttl) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Ddnssec.h37 mDNSu16 rrtype; member in struct:RRVerifier_struct
141 extern DNSSECVerifier *AllocateDNSSECVerifier(mDNS *const m, const domainname *name, mDNSu16 rrtype, mDNSInterfaceID InterfaceID,
H A DDNSCommon.c173 mDNSexport char *DNSTypeName(mDNSu16 rrtype) argument
175 switch (rrtype)
198 mDNS_snprintf(buffer, sizeof(buffer), "TYPE%d", rrtype);
371 mDNSu32 length = mDNS_snprintf(buffer, MaxMsg-1, "%4d %##s %s ", rr->rdlength, rr->name->c, DNSTypeName(rr->rrtype));
373 if (!rr->rdlength && rr->rrtype != kDNSType_OPT) { mDNS_snprintf(buffer+length, RemSpc, "<< ZERO RDATA LENGTH >>"); return(buffer); }
375 switch (rr->rrtype)
1358 mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, AuthRecType artype, mDNSRecordCallback Callback, void *Context)
1387 ttl = DefaultTTLforRRType(rrtype);
1393 rr->resrec.rrtype = rrtype;
1357 mDNS_SetupResourceRecord(AuthRecord *rr, RData *RDataStorage, mDNSInterfaceID InterfaceID, mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, AuthRecType artype, mDNSRecordCallback Callback, void *Context) argument
2038 ValidateRData(const mDNSu16 rrtype, const mDNSu16 rdlength, const RData *const rd) argument
2511 putQuestion(DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit, const domainname *const name, mDNSu16 rrtype, mDNSu16 rrclass) argument
2569 putDeleteRRSetWithLimit(DNSMessage *msg, mDNSu8 *ptr, const domainname *name, mDNSu16 rrtype, mDNSu8 *limit) argument
2591 mDNSu16 rrtype = kDNSQType_ANY; local
[all...]
H A Duds_daemon.c388 LogMcast("%s: %##s (%s) (%s) Client(%d)[%s]", status ? "+Service" : "-Service", ar->resrec.name->c, DNSTypeName(ar->resrec.rrtype),
655 // Data must be in the following format: flags, interfaceIndex, name, rrtype, rrclass, rdlen, rdata, (optional) ttl
927 if (rr->resrec.rrtype == kDNSType_SRV && SameDomainName(rr->resrec.name, r->name) && !IdenticalSameNameRecord(&rr->resrec, r))
939 if (rr->resrec.rrtype == kDNSType_SRV &&
1247 rr->resrec.rrclass == kDNSClass_IN && (rr->resrec.rrtype == kDNSType_A || rr->resrec.rrtype == kDNSType_AAAA ||
1248 rr->resrec.rrtype == kDNSType_CNAME))
1272 rr->resrec.rroriginalttl = DefaultTTLforRRType(rr->resrec.rrtype);
1349 mDNSlocal mStatus add_record_to_service(request_state *request, service_instance *instance, mDNSu16 rrtype, mDNSu16 rdlen, const char *rdata, mDNSu32 ttl) argument
1359 extra->r.resrec.rrtype
1394 mDNSu16 rrtype = get_uint16(&request->msgptr, request->msgend); local
1597 remove_extra(const request_state *const request, service_instance *const serv, mDNSu16 *const rrtype) argument
1632 mDNSu16 rrtype = 0; local
3727 mDNSu16 rrtype, rrclass; local
[all...]
H A DmDNS.c145 ((rr)->resrec.rrtype == kDNSType_A || (rr)->resrec.rrtype == kDNSType_AAAA || \
146 (rr)->resrec.rrtype == kDNSType_CNAME || \
147 (rr)->resrec.rrtype == kDNSType_PTR))
735 // SameResourceRecordNameClassInterface is functionally the same as SameResourceRecordSignature, except rrtype does not have to match
737 #define SameResourceRecordSignature(A,B) (A)->resrec.rrtype == (B)->resrec.rrtype && SameResourceRecordNameClassInterface((A),(B))
768 if (pktrr->resrec.rrtype != authrr->resrec.rrtype) return(mDNSfalse);
938 if (!target) LogInfo("SetTargetToHostName: Don't know how to set the target of rrtype
10193 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.h453 #define mDNS_KeepaliveRecord(rr) ((rr)->rrtype == kDNSType_NULL && SameDomainLabel(SecondLabel((rr)->name)->c, (mDNSu8 *)"\x0A_keepalive"))
898 #define DNSSECRecordType(rrtype) (((rrtype) == kDNSType_RRSIG) || ((rrtype) == kDNSType_NSEC) || ((rrtype) == kDNSType_DNSKEY) || ((rrtype) == kDNSType_DS) || \
899 ((rrtype) == kDNSType_NSEC3))
1397 mDNSu16 rrtype; member in struct:ResourceRecord_struct
1886 (rr)->rrtype == kDNSType_CNAME)
2749 mDNSu16 rrtype, mDNSu3
[all...]
/illumos-gate/usr/src/lib/nsswitch/mdns/common/
H A Dmdns_common.c31 static int _nss_mdns_queryrecord(const char *rrname, int rrclass, int rrtype,
73 _nss_mdns_queryrecord(const char *rrname, int rrclass, int rrtype, argument
88 syslog(LOG_DEBUG, "nss_mdns: query called rrname:%s rrtype:%d",
89 rrname, rrtype);
92 rrname, rrtype, rrclass, callback, data);
159 const char *fullname, uint16_t rrtype, uint16_t rrclass,
189 if (rrtype == kDNSServiceType_A)
191 else if (rrtype == kDNSServiceType_AAAA)
253 int rrtype; local
263 rrtype
156 _nss_mdns_querynamereply(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
296 _nss_mdns_queryaddrreply(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
375 int rrtype; local
[all...]
/illumos-gate/usr/src/lib/libdns_sd/java/common/
H A DJNISupport.c756 uint16_t rrtype, uint16_t rrclass, uint16_t rdlen,
778 rrtype, rrclass, rDataObj, ttl);
787 jint flags, jint ifIndex, jstring serviceName, jint rrtype, jint rrclass)
805 rrtype, rrclass, ServiceQueryReply, pContext);
902 jint rrtype, jint rrclass, jbyteArray rdata)
911 DNSServiceReconfirmRecord( flags, ifIndex, nameStr, rrtype, rrclass, numBytes, pBytes);
754 ServiceQueryReply( DNSServiceRef sdRef _UNUSED, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *serviceName, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context) argument
786 Java_com_apple_dnssd_AppleQuery_CreateQuery( JNIEnv *pEnv, jobject pThis, jint flags, jint ifIndex, jstring serviceName, jint rrtype, jint rrclass) argument
900 Java_com_apple_dnssd_AppleDNSSD_ReconfirmRecord( JNIEnv *pEnv, jobject pThis _UNUSED, jint flags, jint ifIndex, jstring fullName, jint rrtype, jint rrclass, jbyteArray rdata) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/dns-sd/
H A Ddns-sd.c476 fprintf(stderr, "%s -q <name> <rrtype> <rrclass> (Generic query for any record type)\n", arg0);
477 fprintf(stderr, "%s -D <name> <rrtype> <rrclass>(Validate query for any record type with DNSSEC)\n", arg0);
485 fprintf(stderr, "%s -C <FQDN> <rrtype> <rrclass> (Query; reconfirming each result)\n", arg0);
859 static void ParseDNSSECRecords(uint16_t rrtype, char *rdb, char *p, unsigned const char *rd, uint16_t rdlen) argument
862 switch (rrtype)
970 const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context)
1006 strncpy(rr_type, DNSTypeName(rrtype), sizeof(rr_type));
1012 switch (rrtype)
1050 ParseDNSSECRecords(rrtype, rdb, p, rd, rdlen);
1099 DNSServiceReconfirmRecord(flags, ifIndex, fullname, rrtype, rrclas
969 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
1605 uint16_t rrtype, rrclass; local
[all...]
/illumos-gate/usr/src/lib/libdns_sd/common/
H A Ddnssd_clientstub.c1344 uint16_t rrtype, rrclass, rdlen; local
1348 rrtype = get_uint16(&data, end);
1355 else ((DNSServiceQueryRecordReply)sdr->AppCallback)(sdr, cbh->cb_flags, cbh->cb_interface, cbh->cb_err, name, rrtype, rrclass, rdlen, rdata, ttl, sdr->AppContext);
1365 uint16_t rrtype,
1388 len += 2 * sizeof(uint16_t); // rrtype, rrclass
1396 put_uint16(rrtype, &ptr);
1407 uint16_t rrtype, rrclass, rdlen; local
1412 rrtype = get_uint16(&data, end);
1424 else if (rrtype == kDNSServiceType_A || rrtype
1359 DNSServiceQueryRecord( DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, uint16_t rrtype, uint16_t rrclass, DNSServiceQueryRecordReply callBack, void *context ) argument
1839 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
1931 DNSServiceAddRecord( DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint16_t rrtype, uint16_t rdlen, const void *rdata, uint32_t ttl ) argument
2074 DNSServiceReconfirmRecord( DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata ) argument
[all...]

Completed in 5239 milliseconds