/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | writev.c | 44 int i, rcode = 0, count = 0; local 47 rcode = write(fd, tv->iov_base, tv->iov_len); 49 if (rcode < 0) 52 count += rcode; 56 return (rcode);
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | smfi.c | 557 ** rcode -- The three-digit (RFC 821) SMTP reply code. 566 smfi_setreply(ctx, rcode, xcode, message) 568 char *rcode; 575 if (rcode == NULL || ctx == NULL) 579 len = strlen(rcode) + 2; 582 if ((rcode[0] != '4' && rcode[0] != '5') || 583 !isascii(rcode[1]) || !isdigit(rcode[1]) || 584 !isascii(rcode[ 639 smfi_setmlreply(SMFICTX *ctx, const char *rcode, const char *xcode, ...) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dns.c | 50 static char *dns_rcode_string(uint_t rcode); 121 if (header.rcode == 0) { 138 header.rcode, 139 dns_rcode_string(header.rcode)); 165 header.rcode, dns_rcode_string(header.rcode)); 254 dns_rcode_string(uint_t rcode) argument 257 switch (rcode) { 264 case ns_r_badvers: return ("Bad Version"); /* EDNS rcode */ 266 (void) snprintf(buffer, sizeof (buffer), "Unknown (%u)", rcode); 467 uint16_t rcode; /* Extracted from the DNS header */ local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | nsec.h | 23 extern mDNSBool AddNSECSForCacheRecord(mDNS *const m, CacheRecord *crlist, CacheRecord *negcr, mDNSu8 rcode);
|
H A D | DNSDigest.c | 1421 mDNSexport mDNSBool DNSDigest_VerifyMessage(DNSMessage *msg, mDNSu8 *end, LargeCacheRecord * lcr, DomainAuthInfo *info, mDNSu16 * rcode, mDNSu16 * tcode) argument 1443 *rcode = kDNSFlag1_RC_NotAuth; 1457 *rcode = kDNSFlag1_RC_NotAuth; 1483 *rcode = kDNSFlag1_RC_NotAuth; 1549 *rcode = kDNSFlag1_RC_NotAuth;
|
/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, t 5805 auto int rcode; local [all...] |
H A D | domain.c | 112 int i, rcode; local 136 &rcode, false, &ttl); 190 ** rcode -- a pointer to an EX_ status code. 207 getmxrr(host, mxhosts, mxprefs, droplocalhost, rcode, tryfallback, pttl) 212 int *rcode; 238 *rcode = EX_OK; 299 *rcode = EX_NOHOST; 311 *rcode = EX_TEMPFAIL; 317 *rcode = EX_OSERR; 498 *rcode [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/lib/libresolv/arpa/ |
H A D | nameser.h | 162 u_char rcode:4; /* response code */ member in struct:__anon3851 173 u_char rcode:4; /* response code */ member in struct:__anon3851
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_query.c | 111 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 114 printf("rcode = %d, ancount=%d\n", hp->rcode, 117 switch (hp->rcode) { 136 if (hp->rcode == NOERROR && ntohs(hp->ancount) > 0)
|
H A D | res_mkquery.c | 174 hp->rcode = NOERROR;
|
H A D | res_debug.c | 119 fprintf(file, ", rcode = %s\n", _res_resultcodes[hp->rcode]);
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_ctx.c | 178 u32 rcode = NX_RCODE_SUCCESS; local 207 rcode = NX_RCODE_TIMEOUT; 210 &rcode, 4); 211 rcode = LE_TO_HOST_32(rcode); 214 unm_nic_driver_name, rcode); 220 return (rcode); 226 u32 rcode = NX_RCODE_SUCCESS; local 230 rcode = netxen_issue_cmd(adapter, 238 if (rcode ! [all...] |
H A D | nxhal_nic_interface.h | 161 /* [CMD] Rx Config DMA Addr [RSP] rcode */ 164 /* [CMD] Rx Context Handle, Reset Kind [RSP] rcode */ 167 /* [CMD] Tx Config DMA Addr [RSP] rcode */ 170 /* [CMD] Tx Context Handle, Reset Kind [RSP] rcode */ 173 /* [CMD] Stat setup dma addr - [RSP] Handle, rcode */ 176 /* [CMD] Handle - [RSP] rcode */ 179 /* [CMD] Handle - [RSP] rcode */ 182 /* [CMD] - [RSP] rcode */ 185 /* [CMD] MTU - [RSP] rcode */ 277 nx_rcode_t rcode; member in struct:nx_cardmsg_rx_rule_s [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_query.c | 126 hp->rcode = NOERROR; /*%< default */ 174 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 177 printf(";; rcode = (%s), counts = an:%d ns:%d ar:%d\n", 178 p_rcode(hp->rcode), 183 switch (hp->rcode) { 306 if (hp->rcode == SERVFAIL) {
|
H A D | res_update.c | 180 if (((HEADER *)answer)->rcode == NOERROR)
|
H A D | res_debug.c | 301 u_int opcode, rcode, id; local 308 rcode = ns_msg_getflag(handle, ns_f_rcode); 318 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) 321 _res_opcodes[opcode], p_rcode(rcode), id); 739 * Return a string for the rcode. 742 p_rcode(int rcode) { argument 743 return (sym_ntos(__p_rcode_syms, rcode, (int *)0));
|
H A D | res_findzonecut.c | 278 u_int rcode; local 310 rcode = ns_msg_getflag(msg, ns_f_rcode); 313 if (ancount > 0 && rcode == ns_r_noerror)
|
H A D | res_mkquery.c | 161 hp->rcode = NOERROR;
|
H A D | res_send.c | 1004 if (anhp->rcode == FORMERR && (statp->options & RES_USE_EDNS0) != 0U) { 1033 if (anhp->rcode == SERVFAIL || 1034 anhp->rcode == NOTIMP || 1035 anhp->rcode == REFUSED) {
|
/illumos-gate/usr/src/head/arpa/ |
H A D | nameser_compat.h | 143 unsigned rcode :4; /* response code */ member in struct:__anon62 153 unsigned rcode :4; /* response code */ member in struct:__anon62
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmhandler.c | 281 int rcode; local 289 rcode = waitid(P_ALL, 0, &info, WNOHANG|WEXITED); 290 if (rcode == -1 && errno == EINTR) 294 if (rcode == -1 || (pid = info.si_pid) == 0)
|
/illumos-gate/usr/src/cmd/sdiff/ |
H A D | sdiff.c | 98 static int rcode = 0; /* return code */ variable 273 rcode = 1; 364 return (rcode); 624 exit(rcode); 671 exit(rcode);
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_name.c | 1136 struct name_packet *original_packet, uint16_t rcode) 1146 (rcode & NAME_RCODE_MASK); 1225 struct name_packet *original_packet, uint16_t rcode) 1234 packet.info = NAME_RELEASE_RESPONSE | (rcode & NAME_RCODE_MASK); 1325 uint16_t rcode) 1336 packet.info = NAME_QUERY_RESPONSE | (rcode & NAME_RCODE_MASK); 1350 if (rcode) { 1135 smb_send_name_registration_response(addr_entry_t *addr, struct name_packet *original_packet, uint16_t rcode) argument 1224 smb_send_name_release_response(addr_entry_t *addr, struct name_packet *original_packet, uint16_t rcode) argument 1323 smb_send_name_query_response(addr_entry_t *addr, struct name_packet *original_packet, struct name_entry *entry, uint16_t rcode) argument
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | server.c | 60 #define PROCESS_LIST_SVC_SQL(rcode, db, dbname, sql, limit, flag, cb, res, len)\ 61 rcode = process_list_svc_sql(db, dbname, sql, limit, flag, cb, res);\ 62 if (rcode == IDMAP_ERR_BUSY)\ 64 else if (rcode == IDMAP_SUCCESS && len == 0)\
|