/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | smfi.c | 564 smfi_setreply(ctx, rcode, xcode, message) in smfi_setreply() argument 566 char *rcode; 573 if (rcode == NULL || ctx == NULL) 577 len = strlen(rcode) + 2; 580 if ((rcode[0] != '4' && rcode[0] != '5') || 581 !isascii(rcode[1]) || !isdigit(rcode[1]) || 582 !isascii(rcode[2]) || !isdigit(rcode[2])) 605 (void) sm_strlcpy(buf, rcode, len); 637 smfi_setmlreply(SMFICTX *ctx, const char *rcode, const char *xcode, ...) in smfi_setmlreply() argument 639 smfi_setmlreply(ctx, rcode, xcode, va_alist) in smfi_setmlreply() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | writev.c | 40 int i, rcode = 0, count = 0; in __writev() local 43 rcode = write(fd, tv->iov_base, tv->iov_len); in __writev() 45 if (rcode < 0) in __writev() 48 count += rcode; in __writev() 52 return (rcode); in __writev()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_object_read_common.c | 66 ssize_t rcode = 0; in _dwarf_object_read_random() local 87 rcode = read(fd,buf,size); in _dwarf_object_read_random() 88 if (rcode == -1 || in _dwarf_object_read_random() 89 (size_t)rcode != size) { in _dwarf_object_read_random()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dns.c | 48 static char *dns_rcode_string(uint_t rcode); 119 if (header.rcode == 0) { in interpret_dns() 136 header.rcode, in interpret_dns() 137 dns_rcode_string(header.rcode)); in interpret_dns() 163 header.rcode, dns_rcode_string(header.rcode)); in interpret_dns() 252 dns_rcode_string(uint_t rcode) in dns_rcode_string() argument 255 switch (rcode) { in dns_rcode_string() 264 (void) snprintf(buffer, sizeof (buffer), "Unknown (%u)", rcode); in dns_rcode_string() 499 uint16_t rcode; /* Extracted from the DNS header */ in print_answer() local 541 rcode = 0xff & (xrcode << 4); in print_answer() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | deliver.c | 1305 int rcode; /* response code */ local 1387 rcode = EX_OK; 1393 rpath = remotename(p, m, RF_SENDERADDR|RF_CANONICAL, &rcode, e); 1454 rcode = -1; 1600 rcode = rscheck("check_compat", e->e_from.q_paddr, to->q_paddr, 1603 if (rcode == EX_OK) 1608 rcode = checkcompat(to, e); 1612 if (rcode != EX_OK) 1614 markfailure(e, to, NULL, rcode, ovr); 1615 giveresponse(rcode, to->q_status, m, [all …]
|
H A D | domain.c | 110 int i, rcode; local 134 &rcode, false, &ttl); 205 getmxrr(host, mxhosts, mxprefs, droplocalhost, rcode, tryfallback, pttl) in getmxrr() argument 210 int *rcode; 236 *rcode = EX_OK; 297 *rcode = EX_NOHOST; 309 *rcode = EX_TEMPFAIL; 315 *rcode = EX_OSERR; 496 *rcode = EX_TEMPFAIL; 509 *rcode = EX_TEMPFAIL; [all …]
|
H A D | main.c | 4272 auto int rcode; local 4281 nmx = getmxrr(p, mxhosts, NULL, false, &rcode, true, 4318 auto int rcode = EX_OK; local 4355 (&map->s_map, q, av, &rcode); 4359 rcode); 4363 rcode); 4369 auto int rcode = EX_OK; local 4397 p = remotename(q, m, tryflags, &rcode, CurEnv); 4400 rcode, p == NULL ? "<NULL>" : p);
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_ctx.c | 178 u32 rcode = NX_RCODE_SUCCESS; in netxen_issue_cmd() local 207 rcode = NX_RCODE_TIMEOUT; in netxen_issue_cmd() 210 &rcode, 4); in netxen_issue_cmd() 211 rcode = LE_TO_HOST_32(rcode); in netxen_issue_cmd() 214 unm_nic_driver_name, rcode); in netxen_issue_cmd() 220 return (rcode); in netxen_issue_cmd() 226 u32 rcode = NX_RCODE_SUCCESS; in nx_fw_cmd_set_mtu() local 230 rcode = netxen_issue_cmd(adapter, in nx_fw_cmd_set_mtu() 238 if (rcode != NX_RCODE_SUCCESS) in nx_fw_cmd_set_mtu()
|
H A D | nxhal_nic_interface.h | 277 nx_rcode_t rcode; member
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_query.c | 109 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 112 printf("rcode = %d, ancount=%d\n", hp->rcode, 115 switch (hp->rcode) { 134 if (hp->rcode == NOERROR && ntohs(hp->ancount) > 0)
|
H A D | res_mkquery.c | 174 hp->rcode = NOERROR;
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_query.c | 121 hp->rcode = NOERROR; /*%< default */ in res_nquery() 169 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery() 173 p_rcode(hp->rcode), in res_nquery() 178 switch (hp->rcode) { in res_nquery() 301 if (hp->rcode == SERVFAIL) { in res_nsearch()
|
H A D | res_debug.c | 296 u_int opcode, rcode, id; in res_pquery() local 303 rcode = ns_msg_getflag(handle, ns_f_rcode); in res_pquery() 313 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) in res_pquery() 316 _res_opcodes[opcode], p_rcode(rcode), id); in res_pquery() 737 p_rcode(int rcode) { in p_rcode() argument 738 return (sym_ntos(__p_rcode_syms, rcode, (int *)0)); in p_rcode()
|
H A D | res_findzonecut.c | 274 u_int rcode; in get_soa() local 306 rcode = ns_msg_getflag(msg, ns_f_rcode); in get_soa() 309 if (ancount > 0 && rcode == ns_r_noerror) in get_soa()
|
H A D | res_send.c | 999 if (anhp->rcode == FORMERR && (statp->options & RES_USE_EDNS0) != 0U) { in send_dg() 1028 if (anhp->rcode == SERVFAIL || in send_dg() 1029 anhp->rcode == NOTIMP || in send_dg() 1030 anhp->rcode == REFUSED) { in send_dg()
|
H A D | res_update.c | 176 if (((HEADER *)answer)->rcode == NOERROR) in res_nupdate()
|
H A D | res_mkquery.c | 156 hp->rcode = NOERROR; in res_nmkquery()
|
/illumos-gate/usr/src/lib/libresolv/arpa/ |
H A D | nameser.h | 160 u_char rcode:4; /* response code */ member 171 u_char rcode:4; /* response code */ member
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmhandler.c | 261 int rcode; in sigchild() local 269 rcode = waitid(P_ALL, 0, &info, WNOHANG|WEXITED); in sigchild() 270 if (rcode == -1 && errno == EINTR) in sigchild() 274 if (rcode == -1 || (pid = info.si_pid) == 0) in sigchild()
|
/illumos-gate/usr/src/cmd/sdiff/ |
H A D | sdiff.c | 96 static int rcode = 0; /* return code */ variable 271 rcode = 1; in main() 362 return (rcode); in main() 622 exit(rcode); in onintr() 669 exit(rcode); in cmdin()
|
/illumos-gate/usr/src/head/arpa/ |
H A D | nameser_compat.h | 143 unsigned rcode :4; /* response code */ member 153 unsigned rcode :4; /* response code */ member
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_name.c | 1134 struct name_packet *original_packet, uint16_t rcode) in smb_send_name_registration_response() argument 1144 (rcode & NAME_RCODE_MASK); in smb_send_name_registration_response() 1223 struct name_packet *original_packet, uint16_t rcode) in smb_send_name_release_response() argument 1232 packet.info = NAME_RELEASE_RESPONSE | (rcode & NAME_RCODE_MASK); in smb_send_name_release_response() 1323 uint16_t rcode) in smb_send_name_query_response() argument 1334 packet.info = NAME_QUERY_RESPONSE | (rcode & NAME_RCODE_MASK); in smb_send_name_query_response() 1348 if (rcode) { in smb_send_name_query_response()
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/ |
H A D | uDNS.c | 242 mDNSu8 rcode = '\0'; in PenalizeDNSServer() local 255 rcode = (mDNSu8)(responseFlags.b[1] & kDNSFlag1_RC_Mask); in PenalizeDNSServer() 279 …else if ((rcode == kDNSFlag1_RC_FormErr) || (rcode == kDNSFlag1_RC_ServFail) || (rcode == kDNSFlag… in PenalizeDNSServer() 282 … "PenalizeDNSServer: Not Penalizing DNS Server since it at least responded with rcode %d", rcode); in PenalizeDNSServer() 287 if (rcode == kDNSFlag1_RC_Refused) in PenalizeDNSServer() 1118 mDNSlocal void recvSetupResponse(mDNS *const m, mDNSu8 rcode, DNSQuestion *const q, const LLQOptDat… in recvSetupResponse() argument 1120 if (rcode && rcode != kDNSFlag1_RC_NXDomain) in recvSetupResponse() 2779 …teResult(mDNS *const m, const domainname *const displayname, const mDNSu8 rcode, const DNSMessage … in checkUpdateResult() argument 2782 if (!rcode) return mStatus_NoError; in checkUpdateResult() 2783 else if (rcode == kDNSFlag1_RC_YXDomain) in checkUpdateResult() [all …]
|
H A D | DNSDigest.c | 1440 … *msg, mDNSu8 *end, LargeCacheRecord * lcr, DomainAuthInfo *info, mDNSu16 * rcode, mDNSu16 * tcode) in DNSDigest_VerifyMessage() argument 1462 *rcode = kDNSFlag1_RC_NotAuth; in DNSDigest_VerifyMessage() 1476 *rcode = kDNSFlag1_RC_NotAuth; in DNSDigest_VerifyMessage() 1502 *rcode = kDNSFlag1_RC_NotAuth; in DNSDigest_VerifyMessage() 1568 *rcode = kDNSFlag1_RC_NotAuth; in DNSDigest_VerifyMessage()
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | server.c | 61 #define PROCESS_LIST_SVC_SQL(rcode, db, dbname, sql, limit, flag, cb, res, len)\ argument 62 rcode = process_list_svc_sql(db, dbname, sql, limit, flag, cb, res);\ 63 if (rcode == IDMAP_ERR_BUSY)\ 65 else if (rcode == IDMAP_SUCCESS && len == 0)\
|