/illumos-gate/usr/src/lib/libdns_sd/common/ |
H A D | dnssd_clientlib.c | 106 const char *const regtype, 110 const size_t len = !regtype ? 0 : strlen(regtype) - DomainEndsInDot(regtype); 114 const char *r = regtype; 117 // regtype must be at least "x._udp" or "x._tcp" 119 if (strncasecmp((regtype + len - 4), "_tcp", 4) && strncasecmp((regtype + len - 4), "_udp", 4)) return kDNSServiceErr_BadParam; 147 if (!DomainEndsInDot(regtype)) { if (fn+1 >= lim) goto fail;else *fn++ = '.';} 102 DNSServiceConstructFullName( char *const fullName, const char *const service, const char *const regtype, const char *const domain ) argument
|
H A D | dns_sd.h | 686 * DNS name of a resource is broken, for convenience, into servicename/regtype/domain. 689 * represent exactly what they are. The "regtype" portion is, technically speaking, 698 * terminating NULL at the end). The regtype is of the form _service._tcp or 701 * any legal domain, providing that the resulting servicename+regtype+domain 706 * servicename/regtype/domain are simply passed unchanged to DNSServiceResolve(). 709 * For converting from servicename/regtype/domain to a single properly-escaped 1064 * regtype: The type of service registered, as it was passed to the callout. 1080 const char *regtype, 1109 * regtype: The service type followed by the protocol, separated by a dot 1145 * type ("regtype") wil [all...] |
H A D | dnssd_clientstub.c | 1290 const char *regtype, 1301 if (!name || !regtype || !domain || !callBack) return kDNSServiceErr_BadParam; 1323 len += strlen(regtype) + 1; 1332 put_string(regtype, &ptr); 1528 const char *regtype, 1548 len += strlen(regtype) + 1; 1556 put_string(regtype, &ptr); 1586 char name[256], regtype[kDNSServiceMaxDomainName], domain[kDNSServiceMaxDomainName]; local 1588 get_string(&data, end, regtype, kDNSServiceMaxDomainName); 1591 else ((DNSServiceRegisterReply)sdr->AppCallback)(sdr, cbh->cb_flags, cbh->cb_err, name, regtype, domai 1284 DNSServiceResolve( DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, const char *regtype, const char *domain, DNSServiceResolveReply callBack, void *context ) argument 1523 DNSServiceBrowse( DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *regtype, const char *domain, DNSServiceBrowseReply callBack, void *context ) argument 1595 DNSServiceRegister( DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, const char *regtype, const char *domain, const char *host, uint16_t PortInNetworkByteOrder, uint16_t txtLen, const void *txtRecord, DNSServiceRegisterReply callBack, void *context ) argument [all...] |
/illumos-gate/usr/src/uts/sun4/io/fpc/ |
H A D | fpc-impl.c | 181 fpc_get_counter_reg_index(fire_perfcnt_t regtype, int counter) argument 184 "fpc_get_counter_reg_index: regtype:%d, counter:%d, bounds:%d\n", 185 regtype, counter, counters_per_type[regtype]); 186 if (BOUNDS_CHECK_FAILS(counter, counters_per_type[regtype])) 188 FPC_DBG1("returning: %d\n", first_reg_of_type[regtype] + counter); 189 return (first_reg_of_type[regtype] + counter);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | uds_daemon.h | 53 extern mDNSs32 ChopSubTypes(char *regtype, char **AnonData);
|
H A D | uds_daemon.c | 184 domainname regtype; member in struct:request_state::__anon98::__anon99 727 mDNSlocal int build_domainname_from_strings(domainname *srv, char *name, char *regtype, char *domain) argument 733 if (!MakeDomainNameFromDNSNameString(&t, regtype)) return -1; 1699 mDNSexport mDNSs32 ChopSubTypes(char *regtype, char **AnonData) argument 1702 char *stp = FindFirstSubType(regtype, AnonData); 1717 // "p" is pointing at the regtype e.g., _http._tcp followed by ":<AnonData>" indicated 1719 // NumSubTypes being non-zero. We need to skip the initial regtype to get to the actual 1724 // 1. If we have Anonymous data and subtypes, skip the regtype (e.g., "_http._tcp") 1727 // 2. If we have only SubTypes, skip the regtype to get to the SubType data. 1729 // 3. If we have only AnonData, skip the regtype t 1934 CheckForMixedRegistrations(domainname *regtype, domainname *domain, mDNSBool AnonData) argument 2611 char regtype[MAX_ESCAPED_DOMAIN_NAME], domain[MAX_ESCAPED_DOMAIN_NAME]; local 2801 char name[256], regtype[MAX_ESCAPED_DOMAIN_NAME], domain[MAX_ESCAPED_DOMAIN_NAME]; local 4024 char name[256], regtype[MAX_ESCAPED_DOMAIN_NAME], domain[MAX_ESCAPED_DOMAIN_NAME]; local [all...] |
/illumos-gate/usr/src/lib/libdns_sd/java/common/ |
H A D | JNISupport.c | 312 DNSServiceErrorType errorCode, const char *serviceName, const char *regtype, 327 (*pContext->Env)->NewStringUTF( pContext->Env, regtype), 877 jstring serviceName, jstring regtype, jstring domain, jobjectArray pOut) 881 const char *regStr = SafeGetUTFChars( pEnv, regtype); 894 SafeReleaseUTFChars( pEnv, regtype, regStr); 311 ServiceBrowseReply( DNSServiceRef sdRef _UNUSED, DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *serviceName, const char *regtype, const char *replyDomain, void *context) argument 876 Java_com_apple_dnssd_AppleDNSSD_ConstructName( JNIEnv *pEnv, jobject pThis _UNUSED, jstring serviceName, jstring regtype, jstring domain, jobjectArray pOut) argument
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_isns.c | 301 isns_reg_type_t regtype); 326 iscsit_isns_svr_t *svr, isns_reg_type_t regtype); 1619 isns_reg_type_t regtype) 1632 pdu_size = isnst_make_reg_pdu(&pdu, itarget, svr, regtype); 1670 iscsit_isns_svr_t *svr, isns_reg_type_t regtype) 1739 } else if (regtype == ISNS_REGISTER_TARGET) { 1618 isnst_register(iscsit_isns_svr_t *svr, isns_target_t *itarget, isns_reg_type_t regtype) argument 1669 isnst_make_reg_pdu(isns_pdu_t **pdu, isns_target_t *itarget, iscsit_isns_svr_t *svr, isns_reg_type_t regtype) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/dns-sd/ |
H A D | dns-sd.c | 810 const char *name, const char *regtype, const char *domain, void *context) 818 printf("Got a reply for service %s.%s%s: ", name, regtype, domain); 809 reg_reply(DNSServiceRef sdref, const DNSServiceFlags flags, DNSServiceErrorType errorCode, const char *name, const char *regtype, const char *domain, void *context) argument
|
/illumos-gate/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_proto.c | 184 domainset_t ready_set, idn_syncreg_t regtype); 4619 idn_syncreg_t regtype) 4646 "regtype=%s(%d), sc_op=%s\n", 4648 idnreg_str[regtype], regtype, 4655 if (regtype == IDNSYNC_REG_NEW) { 4659 } else if (regtype == IDNSYNC_REG_QUERY) { 4618 idn_sync_register(int domid, idn_synccmd_t cmd, domainset_t ready_set, idn_syncreg_t regtype) argument
|