Searched refs:rrtype (Results 1 - 16 of 16) sorted by relevance

/opensolaris-onvv-gate/usr/src/lib/libdns_sd/java/com/apple/dnssd/
H A DDNSSDRecordRegistrar.java53 @param rrtype
75 public DNSRecord registerRecord( int flags, int ifIndex, String fullname, int rrtype, argument
H A DQueryListener.java56 @param rrtype
69 int rrtype, int rrclass, byte[] rdata, int ttl);
68 queryAnswered( DNSSDService query, int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata, int ttl) argument
H A DDNSSD.java338 @param rrtype
354 public static DNSSDService queryRecord( int flags, int ifIndex, String serviceName, int rrtype, argument
357 { return getInstance()._queryRecord( flags, ifIndex, serviceName, rrtype, rrclass, listener); }
426 @param rrtype
438 public static void reconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, argument
440 { getInstance()._reconfirmRecord( flags, ifIndex, fullName, rrtype, rrclass, rdata); }
491 abstract protected DNSSDService _queryRecord( int flags, int ifIndex, String serviceName, int rrtype, argument
501 abstract protected void _reconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, argument
618 protected DNSSDService _queryRecord( int flags, int ifIndex, String serviceName, int rrtype, argument
622 return new AppleQuery( flags, ifIndex, serviceName, rrtype, rrclas
643 _reconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata) argument
662 ReconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata) argument
848 registerRecord( int flags, int ifIndex, String fullname, int rrtype, int rrclass, byte[] rdata, int ttl) argument
862 RegisterRecord( int flags, int ifIndex, String fullname, int rrtype, int rrclass, byte[] rdata, int ttl, AppleDNSRecord destObj) argument
868 AppleQuery( int flags, int ifIndex, String serviceName, int rrtype, int rrclass, QueryListener client) argument
879 CreateQuery( int flags, int ifIndex, String serviceName, int rrtype, int rrclass) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/libdns_sd/java/com/apple/dnssd/docs/examples/src/
H A DSwingQueryListener.java66 int rrtype, int rrclass, byte[] rdata, int ttl)
72 fType = rrtype;
65 queryAnswered( DNSSDService query, int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata, int ttl) argument
H A DSimpleChat.java182 int rrtype, int rrclass, byte[] rdata, int ttl)
181 queryAnswered( DNSSDService query, int flags, int ifIndex, String fullName, int rrtype, int rrclass, byte[] rdata, int ttl) argument
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSCommon.h257 ((RR)->rrtype == kDNSType_CNAME || (RR)->rrtype == kDNSType_PTR || (RR)->rrtype == kDNSType_NS) \
259 ((RR)->rrtype == kDNSType_SRV ) ? &(RR)->rdata->u.srv.target : mDNSNULL )
261 extern mDNSBool ValidateRData(const mDNSu16 rrtype, const mDNSu16 rdlength, const RData *const rd);
294 extern mDNSu8 *putQuestion(DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit, const domainname *const name, mDNSu16 rrtype, mDNSu16 rrclass);
302 extern mDNSu8 *putDeleteRRSet(DNSMessage *msg, mDNSu8 *ptr, const domainname *name, mDNSu16 rrtype);
H A DDNSCommon.c445 mDNSexport char *DNSTypeName(mDNSu16 rrtype) argument
447 switch (rrtype)
462 mDNS_snprintf(buffer, sizeof(buffer), "(%d)", rrtype);
475 mDNSu32 length = mDNS_snprintf(buffer, Max, "%4d %##s %s ", rr->rdlength, rr->name->c, DNSTypeName(rr->rrtype));
476 switch (rr->rrtype)
1153 // r1 has to be a full ResourceRecord including rrtype and rdlength
1154 // r2 is just a bare RDataBody, which MUST be the same rrtype and rdlength as r1
1157 switch(r1->rrtype)
1173 if (r1->rrtype != r2->rrtype) retur
1223 ValidateRData(const mDNSu16 rrtype, const mDNSu16 rdlength, const RData *const rd) argument
1605 putQuestion(DNSMessage *const msg, mDNSu8 *ptr, const mDNSu8 *const limit, const domainname *const name, mDNSu16 rrtype, mDNSu16 rrclass) argument
1657 putDeleteRRSet(DNSMessage *msg, mDNSu8 *ptr, const domainname *name, mDNSu16 rrtype) argument
1680 mDNSu16 rrtype = kDNSQType_ANY; local
[all...]
H A DmDNS.c394 <rdar://problem/3483349> Any rrtype is a conflict for unique records
1318 For clarity, rename question fields name/rrtype/rrclass as qname/qtype/qclass
2182 mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, mDNSRecordCallback Callback, void *Context)
2189 ttl = DefaultTTLforRRType(rrtype);
2195 rr->resrec.rrtype = rrtype;
2327 r1->rrtype == r2->rrtype &&
2345 if (!(authrr->resrec.RecordType & kDNSRecordTypeUniqueMask) && pktrr->resrec.rrtype != authrr->resrec.rrtype) retur
2181 mDNS_SetupResourceRecord(AuthRecord *rr, RData *RDataStorage, mDNSInterfaceID InterfaceID, mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, mDNSRecordCallback Callback, void *Context) argument
[all...]
H A Duds_daemon.c1196 DNSTypeName(rr->resrec.rrtype),
1472 uint16_t rrtype, rrclass; local
1493 rrtype = get_short(&ptr);
1505 q->qtype = rrtype;
1675 // if (answer->rrtype == kDNSType_SRV && res->srv == answer) res->srv = mDNSNULL;
1676 // if (answer->rrtype == kDNSType_TXT && res->txt == answer) res->txt = mDNSNULL;
1678 if (answer->rrtype == kDNSType_SRV && res->srv && SameRDataBody(answer, (RDataBody *)&res->srvdata))
1680 if (answer->rrtype == kDNSType_TXT && res->txt && answer->rdlength == res->txtlen && SameRDataBody(answer, (RDataBody *)&res->txtdata))
1686 // if (answer->rrtype == kDNSType_SRV) res->srv = answer;
1687 // if (answer->rrtype
2623 add_record_to_service(request_state *rstate, service_instance *instance, uint16_t rrtype, uint16_t rdlen, char *rdata, uint32_t ttl) argument
2656 uint16_t rrtype, rdlen; local
[all...]
H A DuDNS.c1692 if (rr->resrec.rrtype == kDNSType_A)
1715 if (rr->resrec.rrtype == kDNSType_A)
2168 cr->resrec.rrtype = question->qtype;
2205 if (cr->resrec.rrtype == kDNSType_CNAME)
2306 if (lcr.r.resrec.rrtype == kDNSType_TSIG)
2595 debugf("Received reply for deregister record %##s type %d", rr->resrec.name->c, rr->resrec.rrtype);
2597 rr->resrec.name->c, rr->resrec.rrtype, err);
2607 rr->resrec.name->c, rr->resrec.rrtype, err);
2610 debugf("Calling deferred deregistration of record %##s type %d", rr->resrec.name->c, rr->resrec.rrtype);
2632 LogMsg("Registration of record %##s type %d failed with error %ld", rr->resrec.name->c, rr->resrec.rrtype, er
[all...]
H A DmDNSEmbeddedAPI.h847 For clarity, rename question fields name/rrtype/rrclass as qname/qtype/qclass
1521 mDNSu16 rrtype; member in struct:__anon213
2402 mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, mDNSRecordCallback Callback, void *Context);
2533 extern char *DNSTypeName(mDNSu16 rrtype);
/opensolaris-onvv-gate/usr/src/lib/libdns_sd/common/
H A Ddns_sd.h697 * rrtype: The type of the record (e.g. kDNSServiceType_TXT, kDNSServiceType_SRV, etc)
714 uint16_t rrtype,
1102 * rrtype: The numerical type of the resource record (e.g. kDNSServiceType_PTR, kDNSServiceType_SRV, etc)
1131 uint16_t rrtype,
1164 * rrtype: The resource record's type (e.g. kDNSServiceType_PTR, kDNSServiceType_SRV, etc)
1185 uint16_t rrtype,
1215 * rrtype: The numerical type of the resource record to be queried for
1238 uint16_t rrtype,
1261 * rrtype: The resource record's type (e.g. kDNSServiceType_PTR, kDNSServiceType_SRV, etc)
1276 uint16_t rrtype,
[all...]
H A Ddnssd_clientstub.c651 uint16_t rrtype, rrclass, rdlen; local
660 rrtype = get_short(&data);
667 ((DNSServiceQueryRecordReply)sdr->app_callback)(sdr, flags, interfaceIndex, errorCode, name, rrtype, rrclass,
678 uint16_t rrtype,
699 len += 2 * sizeof(uint16_t); // rrtype, rrclass
708 put_short(rrtype, &ptr);
1042 uint16_t rrtype,
1066 len += 3 * sizeof(uint16_t); // rrtype, rrclass, rdlen
1076 put_short(rrtype, &ptr);
1107 uint16_t rrtype,
672 DNSServiceQueryRecord( DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, uint16_t rrtype, uint16_t rrclass, DNSServiceQueryRecordReply callBack, void *context ) argument
1035 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
1102 DNSServiceAddRecord( DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint16_t rrtype, uint16_t rdlen, const void *rdata, uint32_t ttl ) argument
1210 DNSServiceReconfirmRecord( DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata ) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Ddns-sd.c442 const char *fullname, uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, const void *rdata, uint32_t ttl, void *context)
462 switch (rrtype)
472 printf("%s%6X%3d %-30s%4d%4d %s", op, flags, ifIndex, fullname, rrtype, rrclass, rdb);
478 DNSServiceReconfirmRecord(flags, ifIndex, fullname, rrtype, rrclass, rdlen, rdata);
726 uint16_t rrtype, rrclass; local
729 rrtype = (argc <= optind+1) ? kDNSServiceType_A : GetRRType(argv[optind+1]);
731 if (rrtype == kDNSServiceType_TXT || rrtype == kDNSServiceType_PTR) flags |= kDNSServiceFlagsLongLivedQuery;
732 err = DNSServiceQueryRecord(&client, flags, opinterface, argv[optind+0], rrtype, rrclass, qr_reply, NULL);
796 fprintf(stderr, "%s -Q <FQDN> <rrtype> <rrclas
441 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...]
/opensolaris-onvv-gate/usr/src/lib/libdns_sd/java/common/
H A DJNISupport.c807 uint16_t rrtype, uint16_t rrclass, uint16_t rdlen,
829 rrtype, rrclass, rDataObj, ttl);
838 jint flags, jint ifIndex, jstring serviceName, jint rrtype, jint rrclass)
856 rrtype, rrclass, ServiceQueryReply, pContext);
953 jint rrtype, jint rrclass, jbyteArray rdata)
962 DNSServiceReconfirmRecord( flags, ifIndex, nameStr, rrtype, rrclass, numBytes, pBytes);
805 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
837 Java_com_apple_dnssd_AppleQuery_CreateQuery( JNIEnv *pEnv, jobject pThis, jint flags, jint ifIndex, jstring serviceName, jint rrtype, jint rrclass) argument
951 Java_com_apple_dnssd_AppleDNSSD_ReconfirmRecord( JNIEnv *pEnv, jobject pThis _UNUSED, jint flags, jint ifIndex, jstring fullName, jint rrtype, jint rrclass, jbyteArray rdata) argument

Completed in 205 milliseconds