Home
last modified time | relevance | path

Searched refs:rcode (Results 1 – 25 of 38) sorted by relevance

12

/titanic_50/usr/src/cmd/sendmail/libmilter/
H A Dsmfi.c566 smfi_setreply(ctx, rcode, xcode, message) in smfi_setreply() argument
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[2]) || !isdigit(rcode[2]))
607 (void) sm_strlcpy(buf, rcode, len);
639 smfi_setmlreply(SMFICTX *ctx, const char *rcode, const char *xcode, ...) in smfi_setmlreply() argument
641 smfi_setmlreply(ctx, rcode, xcode, va_alist) in smfi_setmlreply()
[all …]
/titanic_50/usr/src/lib/libresolv2/common/bsd/
H A Dwritev.c44 int i, rcode = 0, count = 0; in __writev() local
47 rcode = write(fd, tv->iov_base, tv->iov_len); in __writev()
49 if (rcode < 0) in __writev()
52 count += rcode; in __writev()
56 return (rcode); in __writev()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dns.c50 static char *dns_rcode_string(uint_t rcode);
121 if (header.rcode == 0) { in interpret_dns()
138 header.rcode, in interpret_dns()
139 dns_rcode_string(header.rcode)); in interpret_dns()
165 header.rcode, dns_rcode_string(header.rcode)); in interpret_dns()
254 dns_rcode_string(uint_t rcode) in dns_rcode_string() argument
257 switch (rcode) { in dns_rcode_string()
266 (void) snprintf(buffer, sizeof (buffer), "Unknown (%u)", rcode); in dns_rcode_string()
467 uint16_t rcode; /* Extracted from the DNS header */ in print_answer() local
509 rcode = 0xff & (xrcode << 4); in print_answer()
[all …]
/titanic_50/usr/src/cmd/sendmail/src/
H A Ddeliver.c1305 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 Ddomain.c112 int i, rcode; local
136 &rcode, false, &ttl);
207 getmxrr(host, mxhosts, mxprefs, droplocalhost, rcode, tryfallback, pttl) in getmxrr() argument
212 int *rcode;
238 *rcode = EX_OK;
299 *rcode = EX_NOHOST;
311 *rcode = EX_TEMPFAIL;
317 *rcode = EX_OSERR;
498 *rcode = EX_TEMPFAIL;
511 *rcode = EX_TEMPFAIL;
[all …]
H A Dmain.c4272 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);
/titanic_50/usr/src/uts/common/io/ntxn/
H A Dunm_nic_ctx.c178 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 Dnxhal_nic_interface.h277 nx_rcode_t rcode; member
/titanic_50/usr/src/lib/libresolv/
H A Dres_query.c111 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 Dres_mkquery.c174 hp->rcode = NOERROR;
H A Dres_debug.c119 fprintf(file, ", rcode = %s\n", _res_resultcodes[hp->rcode]);
/titanic_50/usr/src/lib/libresolv2/common/resolv/
H A Dres_query.c126 hp->rcode = NOERROR; /*%< default */ in res_nquery()
174 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery()
178 p_rcode(hp->rcode), in res_nquery()
183 switch (hp->rcode) { in res_nquery()
306 if (hp->rcode == SERVFAIL) { in res_nsearch()
H A Dres_debug.c301 u_int opcode, rcode, id; in res_pquery() local
308 rcode = ns_msg_getflag(handle, ns_f_rcode); in res_pquery()
318 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) in res_pquery()
321 _res_opcodes[opcode], p_rcode(rcode), id); in res_pquery()
742 p_rcode(int rcode) { in p_rcode() argument
743 return (sym_ntos(__p_rcode_syms, rcode, (int *)0)); in p_rcode()
H A Dres_findzonecut.c278 u_int rcode; in get_soa() local
310 rcode = ns_msg_getflag(msg, ns_f_rcode); in get_soa()
313 if (ancount > 0 && rcode == ns_r_noerror) in get_soa()
H A Dres_send.c1004 if (anhp->rcode == FORMERR && (statp->options & RES_USE_EDNS0) != 0U) { in send_dg()
1033 if (anhp->rcode == SERVFAIL || in send_dg()
1034 anhp->rcode == NOTIMP || in send_dg()
1035 anhp->rcode == REFUSED) { in send_dg()
H A Dres_update.c180 if (((HEADER *)answer)->rcode == NOERROR) in res_nupdate()
H A Dres_mkquery.c161 hp->rcode = NOERROR; in res_nmkquery()
/titanic_50/usr/src/lib/libresolv/arpa/
H A Dnameser.h162 u_char rcode:4; /* response code */ member
173 u_char rcode:4; /* response code */ member
/titanic_50/usr/src/cmd/sdiff/
H A Dsdiff.c98 static int rcode = 0; /* return code */ variable
273 rcode = 1; in main()
364 return (rcode); in main()
624 exit(rcode); in onintr()
671 exit(rcode); in cmdin()
/titanic_50/usr/src/cmd/ttymon/
H A Dtmhandler.c281 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)
/titanic_50/usr/src/head/arpa/
H A Dnameser_compat.h143 unsigned rcode :4; /* response code */ member
153 unsigned rcode :4; /* response code */ member
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Dnsec.h22 …SBool AddNSECSForCacheRecord(mDNS *const m, CacheRecord *crlist, CacheRecord *negcr, mDNSu8 rcode);
H A DDNSDigest.c1422 … *msg, mDNSu8 *end, LargeCacheRecord * lcr, DomainAuthInfo *info, mDNSu16 * rcode, mDNSu16 * tcode) in DNSDigest_VerifyMessage() argument
1444 *rcode = kDNSFlag1_RC_NotAuth; in DNSDigest_VerifyMessage()
1458 *rcode = kDNSFlag1_RC_NotAuth; in DNSDigest_VerifyMessage()
1484 *rcode = kDNSFlag1_RC_NotAuth; in DNSDigest_VerifyMessage()
1550 *rcode = kDNSFlag1_RC_NotAuth; in DNSDigest_VerifyMessage()
/titanic_50/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_name.c1136 struct name_packet *original_packet, uint16_t rcode) in smb_send_name_registration_response() argument
1146 (rcode & NAME_RCODE_MASK); in smb_send_name_registration_response()
1225 struct name_packet *original_packet, uint16_t rcode) in smb_send_name_release_response() argument
1234 packet.info = NAME_RELEASE_RESPONSE | (rcode & NAME_RCODE_MASK); in smb_send_name_release_response()
1325 uint16_t rcode) in smb_send_name_query_response() argument
1336 packet.info = NAME_QUERY_RESPONSE | (rcode & NAME_RCODE_MASK); in smb_send_name_query_response()
1350 if (rcode) { in smb_send_name_query_response()
/titanic_50/usr/src/cmd/idmap/idmapd/
H A Dserver.c60 #define PROCESS_LIST_SVC_SQL(rcode, db, dbname, sql, limit, flag, cb, res, len)\ argument
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)\

12