Lines Matching refs:errorCode
536 … DNSServiceErrorType errorCode, const char *replyDomain, void *context) in enum_reply() argument
546 EXIT_IF_LIBDISPATCH_FATAL_ERROR(errorCode); in enum_reply()
551 if (errorCode) in enum_reply()
552 printf("Error code %d\n", errorCode); in enum_reply()
612 …(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, in zonedata_resolve() argument
629 if (errorCode) { printf("Error code %d\n", errorCode); return; } in zonedata_resolve()
672 …(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, in zonedata_browse() argument
679 EXIT_IF_LIBDISPATCH_FATAL_ERROR(errorCode); in zonedata_browse()
682 if (errorCode) { printf("Error code %d\n", errorCode); return; } in zonedata_browse()
689 …(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, in browse_reply() argument
695 EXIT_IF_LIBDISPATCH_FATAL_ERROR(errorCode); in browse_reply()
699 if (errorCode) in browse_reply()
700 printf("Error code %d\n", errorCode); in browse_reply()
745 …(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, in resolve_reply() argument
754 EXIT_IF_LIBDISPATCH_FATAL_ERROR(errorCode); in resolve_reply()
756 if (errorCode) in resolve_reply()
757 printf("Error code %d\n", errorCode); in resolve_reply()
831 …NSSD_API reg_reply(DNSServiceRef sdref, const DNSServiceFlags flags, DNSServiceErrorType errorCode, in reg_reply() argument
837 EXIT_IF_LIBDISPATCH_FATAL_ERROR(errorCode); in reg_reply()
842 if (errorCode == kDNSServiceErr_NoError) in reg_reply()
856 else if (errorCode == kDNSServiceErr_NameConflict) in reg_reply()
862 printf("Error %d\n", errorCode); in reg_reply()
991 …(DNSServiceRef sdref, const DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, in qr_reply() argument
1008 EXIT_IF_LIBDISPATCH_FATAL_ERROR(errorCode); in qr_reply()
1030 if (!errorCode) //to avoid printing garbage in rdata in qr_reply()
1106 if (errorCode) in qr_reply()
1108 if (errorCode == kDNSServiceErr_NoSuchRecord) in qr_reply()
1110 else if (errorCode == kDNSServiceErr_Timeout) in qr_reply()
1128 …Ref sdref, DNSServiceFlags flags, uint32_t ifIndex, DNSServiceErrorType errorCode, uint32_t public… in port_mapping_create_reply() argument
1133 EXIT_IF_LIBDISPATCH_FATAL_ERROR(errorCode); in port_mapping_create_reply()
1137 if (errorCode && errorCode != kDNSServiceErr_DoubleNAT) printf("Error code %d\n", errorCode); in port_mapping_create_reply()
1144 …", ifIndex, addr, protocol, ntohs(privatePort), ntohs(publicPort), ttl, errorCode == kDNSServiceEr… in port_mapping_create_reply()
1152 …nst DNSServiceFlags flags, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *hos… in addrinfo_reply() argument
1161 EXIT_IF_LIBDISPATCH_FATAL_ERROR(errorCode); in addrinfo_reply()
1190 if (!errorCode && (check_flags & (kDNSServiceFlagsValidate | kDNSServiceFlagsValidateOptional))) in addrinfo_reply()
1209 if (errorCode) in addrinfo_reply()
1211 if (errorCode == kDNSServiceErr_NoSuchRecord) in addrinfo_reply()
1214 printf(" Error code %d", errorCode); in addrinfo_reply()
1316 DNSServiceErrorType errorCode, void *context) in MyRegisterRecordCallback() argument
1323 EXIT_IF_LIBDISPATCH_FATAL_ERROR(errorCode); in MyRegisterRecordCallback()
1328 switch (errorCode) in MyRegisterRecordCallback()
1332 default: printf("Error %d\n", errorCode); break; in MyRegisterRecordCallback()
1338 if (!errorCode) in MyRegisterRecordCallback()