Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libdns_sd/java/com/apple/dnssd/
H A DDNSSD.java354 public static DNSSDService queryRecord( int flags, int ifIndex, String serviceName, int rrtype, in queryRecord() argument
357 { return getInstance()._queryRecord( flags, ifIndex, serviceName, rrtype, rrclass, listener); } in queryRecord()
438 public static void reconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, in reconfirmRecord() argument
440 { getInstance()._reconfirmRecord( flags, ifIndex, fullName, rrtype, rrclass, rdata); } in reconfirmRecord()
491 …tract protected DNSSDService _queryRecord( int flags, int ifIndex, String serviceName, int rrtype, in _queryRecord() argument
501 abstract protected void _reconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, in _reconfirmRecord() argument
618 protected DNSSDService _queryRecord( int flags, int ifIndex, String serviceName, int rrtype, in _queryRecord() argument
622 return new AppleQuery( flags, ifIndex, serviceName, rrtype, rrclass, client); in _queryRecord()
643 protected void _reconfirmRecord( int flags, int ifIndex, String fullName, int rrtype, in _reconfirmRecord() argument
646 ReconfirmRecord( flags, ifIndex, fullName, rrtype, rrclass, rdata); in _reconfirmRecord()
[all …]
H A DDNSSDRecordRegistrar.java75 public DNSRecord registerRecord( int flags, int ifIndex, String fullname, int rrtype, in registerRecord() argument
H A DQueryListener.java69 int rrtype, int rrclass, byte[] rdata, int ttl); in queryAnswered() argument
/titanic_44/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, in _nss_mdns_queryrecord() argument
89 rrname, rrtype); in _nss_mdns_queryrecord()
92 rrname, rrtype, rrclass, callback, data); in _nss_mdns_queryrecord()
159 const char *fullname, uint16_t rrtype, uint16_t rrclass, in _nss_mdns_querynamereply() argument
189 if (rrtype == kDNSServiceType_A) in _nss_mdns_querynamereply()
191 else if (rrtype == kDNSServiceType_AAAA) in _nss_mdns_querynamereply()
253 int rrtype; in _nss_mdns_querybyname() local
263 rrtype = kDNSServiceType_ANY; in _nss_mdns_querybyname()
265 rrtype = kDNSServiceType_A; in _nss_mdns_querybyname()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSCommon.c445 mDNSexport char *DNSTypeName(mDNSu16 rrtype) in DNSTypeName() argument
447 switch (rrtype) in DNSTypeName()
462 mDNS_snprintf(buffer, sizeof(buffer), "(%d)", rrtype); in DNSTypeName()
475 …h = mDNS_snprintf(buffer, Max, "%4d %##s %s ", rr->rdlength, rr->name->c, DNSTypeName(rr->rrtype)); in GetRRDisplayString_rdb()
476 switch (rr->rrtype) in GetRRDisplayString_rdb()
1157 switch(r1->rrtype) in SameRDataBody()
1173 if (r1->rrtype != r2->rrtype) return(mDNSfalse); in SameRData()
1182 r1->rrtype == r2->rrtype && in SameResourceRecord()
1194 …if (rr->rrtype != kDNSType_CNAME && rr->rrtype != q->qtype && q->qtype != kDNSQType_ANY ) retur… in ResourceRecordAnswersQuestion()
1203 switch (rr->rrtype) in GetRDLength()
[all …]
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 : mD…
261 extern mDNSBool ValidateRData(const mDNSu16 rrtype, const mDNSu16 rdlength, const RData *const rd);
294 …u8 *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 DmDNS.c2182 mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, mDNSRecordCallback Callback, void *Context) in mDNS_SetupResourceRecord() argument
2189 ttl = DefaultTTLforRRType(rrtype); in mDNS_SetupResourceRecord()
2195 rr->resrec.rrtype = rrtype; in mDNS_SetupResourceRecord()
2327 r1->rrtype == r2->rrtype && in SameResourceRecordSignature()
2345 …srec.RecordType & kDNSRecordTypeUniqueMask) && pktrr->resrec.rrtype != authrr->resrec.rrtype) retu… in PacketRRMatchesSignature()
2358 …if (r1->rrtype != r2->rrtype || r1->rrclass != r2->rrclass || r1->namehash != r2->namehash || !Sam… in IdenticalResourceRecord()
2453 …t) debugf("SetTargetToHostName: Don't know how to set the target of rrtype %d", rr->resrec.rrtype); in SetTargetToHostName()
2473 rr->resrec.name->c, DNSTypeName(rr->resrec.rrtype)); in SetTargetToHostName()
2524 rr, rr->resrec.name->c, DNSTypeName(rr->resrec.rrtype)); in mDNS_Register_internal()
2535 rr->resrec.name->c, DNSTypeName(rr->resrec.rrtype)); in mDNS_Register_internal()
[all …]
H A Duds_daemon.c1196 DNSTypeName(rr->resrec.rrtype), in udsserver_info()
1472 uint16_t rrtype, rrclass; in handle_query_request() local
1493 rrtype = get_short(&ptr); in handle_query_request()
1505 q->qtype = rrtype; in handle_query_request()
1678 …if (answer->rrtype == kDNSType_SRV && res->srv && SameRDataBody… in resolve_result_callback()
1680 …if (answer->rrtype == kDNSType_TXT && res->txt && answer->rdlength == res->txtlen && SameRDataBody… in resolve_result_callback()
1689 if (answer->rrtype == kDNSType_SRV) in resolve_result_callback()
1694 if (answer->rrtype == kDNSType_TXT) in resolve_result_callback()
1780 put_short(answer->rrtype, &data); in question_result_callback()
2018 if (answer->rrtype != kDNSType_PTR) in FoundInstance()
[all …]
H A DuDNS.c1692 if (rr->resrec.rrtype == kDNSType_A) in HostnameCallback()
1715 if (rr->resrec.rrtype == kDNSType_A) in HostnameCallback()
2168 cr->resrec.rrtype = question->qtype; in pktResponseHndlr()
2205 if (cr->resrec.rrtype == kDNSType_CNAME) in pktResponseHndlr()
2306 if (lcr.r.resrec.rrtype == kDNSType_TSIG) in ParseTSIGError()
2595 …debugf("Received reply for deregister record %##s type %d", rr->resrec.name->c, rr->resrec.rrtype); in hndlRecordUpdateReply()
2597 rr->resrec.name->c, rr->resrec.rrtype, err); in hndlRecordUpdateReply()
2607 rr->resrec.name->c, rr->resrec.rrtype, err); in hndlRecordUpdateReply()
2610 …("Calling deferred deregistration of record %##s type %d", rr->resrec.name->c, rr->resrec.rrtype); in hndlRecordUpdateReply()
2632 …tration of record %##s type %d failed with error %ld", rr->resrec.name->c, rr->resrec.rrtype, err); in hndlRecordUpdateReply()
[all …]
H A DmDNSEmbeddedAPI.h1521 mDNSu16 rrtype; member
2402 … mDNSu16 rrtype, mDNSu32 ttl, mDNSu8 RecordType, mDNSRecordCallback Callback, void *Context);
2533 extern char *DNSTypeName(mDNSu16 rrtype);
/titanic_44/usr/src/lib/libdns_sd/common/
H A Ddns_sd.h714 uint16_t rrtype,
1131 uint16_t rrtype,
1185 uint16_t rrtype,
1238 uint16_t rrtype,
1276 uint16_t rrtype,
H A Ddnssd_clientstub.c651 uint16_t rrtype, rrclass, rdlen; in handle_query_response() local
660 rrtype = get_short(&data); in handle_query_response()
667 …ceQueryRecordReply)sdr->app_callback)(sdr, flags, interfaceIndex, errorCode, name, rrtype, rrclass, in handle_query_response()
678 uint16_t rrtype, in DNSServiceQueryRecord() argument
708 put_short(rrtype, &ptr); in DNSServiceQueryRecord()
1042 uint16_t rrtype, in DNSServiceRegisterRecord() argument
1076 put_short(rrtype, &ptr); in DNSServiceRegisterRecord()
1107 uint16_t rrtype, in DNSServiceAddRecord() argument
1130 put_short(rrtype, &ptr); in DNSServiceAddRecord()
1215 uint16_t rrtype, in DNSServiceReconfirmRecord() argument
[all …]
/titanic_44/usr/src/lib/libdns_sd/java/com/apple/dnssd/docs/examples/src/
H A DSwingQueryListener.java66 int rrtype, int rrclass, byte[] rdata, int ttl) in queryAnswered() argument
72 fType = rrtype; in queryAnswered()
H A DSimpleChat.java182 int rrtype, int rrclass, byte[] rdata, int ttl) in queryAnswered() argument
/titanic_44/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… in qr_reply() argument
462 switch (rrtype) in qr_reply()
472 printf("%s%6X%3d %-30s%4d%4d %s", op, flags, ifIndex, fullname, rrtype, rrclass, rdb); in qr_reply()
478 DNSServiceReconfirmRecord(flags, ifIndex, fullname, rrtype, rrclass, rdlen, rdata); in qr_reply()
726 uint16_t rrtype, rrclass; in main() local
729 rrtype = (argc <= optind+1) ? kDNSServiceType_A : GetRRType(argv[optind+1]); in main()
731 …if (rrtype == kDNSServiceType_TXT || rrtype == kDNSServiceType_PTR) flags |= kDNSServiceFlagsLongL… in main()
732 …err = DNSServiceQueryRecord(&client, flags, opinterface, argv[optind+0], rrtype, rrclass, qr_reply… in main()
/titanic_44/usr/src/lib/libdns_sd/java/common/
H A DJNISupport.c807 uint16_t rrtype, uint16_t rrclass, uint16_t rdlen, in ServiceQueryReply() argument
829 rrtype, rrclass, rDataObj, ttl); in ServiceQueryReply()
838 jint flags, jint ifIndex, jstring serviceName, jint rrtype, jint rrclass) in Java_com_apple_dnssd_AppleQuery_CreateQuery() argument
856 rrtype, rrclass, ServiceQueryReply, pContext); in Java_com_apple_dnssd_AppleQuery_CreateQuery()
953 jint rrtype, jint rrclass, jbyteArray rdata) in Java_com_apple_dnssd_AppleDNSSD_ReconfirmRecord() argument
962 DNSServiceReconfirmRecord( flags, ifIndex, nameStr, rrtype, rrclass, numBytes, pBytes); in Java_com_apple_dnssd_AppleDNSSD_ReconfirmRecord()