/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux6.c | 12 * modification, are permitted provided that: (1) source code distributions 14 * distributions including binary code include the above copyright notice and 396 * It also sets the icmp type and icmp code values 399 check_reply6(struct msghdr *msg, int cc, int seq, uchar_t *type, uchar_t *code) argument 433 *code = icp6->icmp6_code; 441 *code == ICMP6_TIME_EXCEED_TRANSIT) || 445 *code == ICMP6_PARAMPROB_NEXTHEADER)) { 489 *code == ICMP6_DST_UNREACH_NOPORT) { 519 Printf("%s: icmp type %d (%s) code %d\n", 522 *type, pr_type6(*type), *code); 688 print_icmp_other6(uchar_t type, uchar_t code) argument [all...] |
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starcat/ |
H A D | cvcd.c | 29 * This code implements the Starcat Virtual Console host daemon (see cvcd(1M)). 128 static void cvcd_err(int code, char *format, ...); 804 * code - logging code 812 cvcd_err(int code, char *format, ...) argument 822 syslog(code, buf);
|
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starfire/ |
H A D | cvcd.c | 29 * This code implements the Starfire Virtual Console host daemon 100 static void cvcd_err(int code, char *format, ...); 814 * code - logging code 822 cvcd_err(int code, char *format, ...) argument 832 syslog(code, buf);
|
/illumos-gate/usr/src/cmd/sed/ |
H A D | defs.h | 6 * This code is derived from software contributed to Berkeley by 12 * 1. Redistributions of source code must retain the above copyright 103 char code; /* Command code */ member in struct:s_command
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | rmtlib.c | 458 char code[30], emsg[BUFSIZ]; local 460 rmtgets(code, sizeof (code)); 461 if (*code == 'E' || *code == 'F') { 470 !(cmd[0] == '/' && atoi(code + 1) == EIO)) 472 errno = atoi(code + 1); 473 if (*code == 'F') { 479 if (*code != 'A') { 481 "Protocol to remote tape server botched (code [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uudecode.c | 101 void errmsg(int severity, int code, char *format, ...); 520 * The severity and code are ignored here. If this routine gets 528 errmsg(int severity, int code, char *format, ...) argument
|
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/ |
H A D | admin_cmds.c | 213 UINT32 code; member in struct:__anon84 259 decode(decode_map_t *table, UINT32 code) argument 265 if (table[i].code == code) 269 (void) snprintf(buf, sizeof (buf), gettext("Unknown (%u)"), code);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | ccp.c | 89 * Protocol entry points from main code. 130 * Callbacks for fsm code. 142 static int ccp_codereject __P((fsm *p, int code, int id, u_char *inp, 160 ccp_codereject, /* Peer rejected a code number */ 181 #define RREQ_REJECTED 0x0004 /* peer code-rejected reset-request */ 182 #define RACK_REJECTED 0x0008 /* peer code-rejected reset-ack */ 429 * Handle a CCP-specific code. 432 ccp_extcode(f, code, id, p, len) 434 int code, id; 438 switch (code) { 1268 int code, id, len; local [all...] |
/illumos-gate/usr/src/cmd/krb5/klist/ |
H A D | klist.c | 308 int code; local 311 if ((code = krb5_kt_default(kcontext, &kt))) { 312 com_err(progname, code, 317 if ((code = krb5_kt_resolve(kcontext, name, &kt))) { 318 com_err(progname, code, 325 if ((code = krb5_kt_get_name(kcontext, kt, buf, BUFSIZ))) { 326 com_err(progname, code, 333 if ((code = krb5_kt_start_seq_get(kcontext, kt, &cursor))) { 334 com_err(progname, code, 357 while ((code 403 krb5_error_code code; local [all...] |
/illumos-gate/usr/src/cmd/listen/ |
H A D | nlps_serv.c | 99 static void nls_reply(int code, char *text); 332 * The following code is for patching a 6300 side bug. The original 354 /* need to ask for ctl info to avoid bug in I_PEEK code */ 448 "NLPS: Request for service code <%s> denied, service is disabled"; 450 "NLPS: Request for service code <%s> denied, unknown service code"; 488 * common code for protocol version 0 or 2 527 DEBUG((9, "doconfig exited with code %d", i)); 593 nls_reply(int code, char *text) argument 601 sprintf(scratch, srrpprot, Nlsversion, code, tex [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | init_ctx.c | 63 * Solaris Kerberos: the code related to EF/pkcs11 and fork safety are mods Sun 64 * has made to the MIT code. 262 * krb5_ld_init() contains code that will be executed at load time (via the 373 compiler is optimizing, this should result in no code being 641 krb5_error_code code; local 643 code = profile_get_string(context->profile, "libdefaults", profstr, 645 if (code) 646 return code;
|
/illumos-gate/usr/src/tools/aw/ |
H A D | aw.c | 496 int code; local 767 code = pipeline(aeltoargv(cpp), asargv); 769 code = pipeline(aeltoargv(m4), asargv); 780 code = 7; 782 if (code != 0) 784 return (code);
|
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_util.c | 222 struct for the abbrev with the given code. It puts the 227 the given code. All intervening abbrevs are also put 230 This function hashes the given code, and checks the chain 232 with the given code exists. If yes, it returns a pointer 235 an abbrev with the given code is found, or an abbrev code 248 _dwarf_get_abbrev_for_code(Dwarf_CU_Context cu_context, Dwarf_Unsigned code) argument 305 hashable_val = code; 311 /* Determine if the 'code' is the list of synonyms already. */ 313 hash_abbrev_entry != NULL && hash_abbrev_entry->ab_code != code; [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/unistat/ |
H A D | spcs_s_impl.h | 49 * user level Unistat code having differing minor revs. 56 * This is the format of a unistat status code. It must overlay 68 * to accompany this error status code spcs.h define SPCS_S_MAXSUPP 74 unsigned char module: 8; /* module code (see below) */ 75 unsigned short code: 16; /* status code number (>0) */ member in struct:__anon4532 81 * to accompany this error status code spcs.h define SPCS_S_MAXSUPP 85 unsigned short code: 16; /* status code number (>0) */ member in struct:__anon4533 86 unsigned char module: 8; /* module code (se [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | cpc.c | 94 int code; local 161 if ((error = kcpc_bind_thread(t->t_cpc_set, t, &code)) != 0) { 170 copyout(&code, udata3, sizeof (code)) == -1) 374 int code; local 420 if ((error = kcpc_bind_cpu(t->t_cpc_set, cpuid, &code)) != 0) { 427 copyout(&code, udata3, sizeof (code)) == -1) 559 * error code on error.
|
/illumos-gate/usr/src/lib/storage/liba5k/common/ |
H A D | lhot.c | 391 * the code pointer must be valid (non NULL). 392 * Otherwise NULL is a valid input for the code pointer. 399 l_encl_status_page_funcs(int func, char *code, int todo, char *ses_path, argument 456 if (code == NULL) { 461 *code = (elem->code != S_OK) ? elem->code : 0; 466 *code = (elem->code != S_NOT_INSTALLED) ? 467 elem->code [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_agents.c | 316 ibt_async_code_t type, code; local 509 code = IBT_PORT_CHANGE_EVENT; 512 code = IBT_CLNT_REREG_EVENT; 515 ibc_async_handler(state->hs_ibtfpriv, code,
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_ibt.c | 479 ibt_async_code_t code, ibt_async_event_t *event) 487 switch (code) { 553 * We'll try to release them here, and protect the code from 478 eib_ibt_async_handler(void *clnt_private, ibt_hca_hdl_t hca_hdl, ibt_async_code_t code, ibt_async_event_t *event) argument
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibdma/ |
H A D | ibdma.c | 56 ibt_async_code_t code, ibt_async_event_t *event); 234 ibt_async_code_t code, ibt_async_event_t *event) 238 switch (code) { 274 code); 233 ibdma_ibt_async_handler(void *clnt, ibt_hca_hdl_t hdl, ibt_async_code_t code, ibt_async_event_t *event) argument
|
/illumos-gate/usr/src/lib/krb5/kadm5/ |
H A D | kadm_rpc.h | 5 * this source code. Do *NOT* create a derivative of this 6 * source code before consulting with your legal department. 7 * Do *NOT* integrate *ANY* of this source code into another 46 kadm5_ret_t code; member in struct:generic_ret 78 kadm5_ret_t code; member in struct:gprincs_ret 144 kadm5_ret_t code; member in struct:chrand_ret 160 kadm5_ret_t code; member in struct:gprinc_ret 193 kadm5_ret_t code; member in struct:gpol_ret 206 kadm5_ret_t code; member in struct:gpols_ret 214 kadm5_ret_t code; member in struct:getprivs_ret [all...] |
/illumos-gate/usr/src/uts/intel/kdi/ |
H A D | kdi_idt.c | 198 * Patch caller-provided code into the debugger's IDT handlers. This code is 202 * structure: KDI_MSR_PATCHOFF bytes of code, KDI_MSR_PATCHSZ bytes of 203 * patchable space, followed by more code. 206 kdi_idt_patch(caddr_t code, size_t sz) argument 228 bcopy(code, patch, sz); 286 * entry code. 292 uchar_t code[] = { local 300 uchar_t *patch = &code[4]; 302 uchar_t code[] [all...] |
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | syscall.c | 150 uint_t code = t->t_sysnum; local 160 if (code != 0 && code < NSYSCALL) { 162 nargs = LWP_GETSYSENT(lwp)[code].sy_narg; 173 return (code); 184 uint_t i, code; local 186 code = get_syscall_args(lwp, args, nargsp); 189 return (code); 210 uint_t code = t->t_sysnum; local 216 if (lwp->lwp_argsaved || code 353 unsigned int code; local 541 int code = t->t_sysnum; local 949 lock_syscall(struct sysent *table, uint_t code) argument 1020 int code; local 1056 indir(int code, long a0, long a1, long a2, long a3, long a4) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/os/cpupm/ |
H A D | cpu_idle.c | 59 static boolean_t cpu_deep_idle_callb(void *arg, int code); 60 static boolean_t cpu_idle_cpr_callb(void *arg, int code); 130 cstate_timer_callback(int code) argument 135 return (hpet.callback(code)); 836 cpu_deep_idle_callb(void *arg, int code) argument 841 switch (code) { 872 cmn_err(CE_NOTE, "!cpu deep_idle_callb: invalid code %d\n", 873 code); 882 cpu_idle_cpr_callb(void *arg, int code) argument 887 switch (code) { [all...] |
/illumos-gate/usr/src/cmd/truss/ |
H A D | codes.c | 336 uint_t code; member in struct:ioc 1653 ioctl_ioccom(char *buf, size_t size, uint_t code, int nbytes, int x, int y) argument 1657 if (code & IOC_VOID) 1659 else if ((code & IOC_INOUT) == IOC_INOUT) 1662 inoutstr = code & IOC_IN ? "W" : "R"; 1674 ioctlname(private_t *pri, uint_t code) argument 1680 if (code == ip->code) { 1693 int c_hi = code >> 24; 1694 int c_mid = (code >> 1 1726 ioctldatastruct(uint_t code) argument 1742 fcntlname(int code) argument 1752 sfsname(int code) argument 1763 si86name(int code) argument 1826 utscode(int code) argument 1840 rctlsyscode(int code) argument 1912 sconfname(int code) argument 1922 pathconfname(int code) argument [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_ev.c | 8 * 1. Redistributions of source code must retain the above copyright notice, 685 unsigned int code; local 691 code = EFX_QWORD_FIELD(*eqp, ESF_DZ_DRV_SUB_CODE); 692 switch (code) { 764 unsigned code; local 769 code = EFX_QWORD_FIELD(*eqp, MCDI_EVENT_CODE); 770 switch (code) {
|