Home
last modified time | relevance | path

Searched refs:code (Results 151 – 175 of 1554) sorted by path

12345678910>>...63

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A DTHIRDPARTYLICENSE.bsd9 1. Redistributions of source code must retain the above copyright
H A DTHIRDPARTYLICENSE.freebsd7 1. Redistributions of source code must retain the above copyright
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c870 int code = 0; in krb5_init() local
873 code = krb5_init_context(&telnet_context); in krb5_init()
874 if (code != 0 && auth_debug) in krb5_init()
877 error_message(code)); in krb5_init()
880 return (code); in krb5_init()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c1674 print_icmp_typecode(uint8_t type, uint8_t type_end, uint8_t code, in print_icmp_typecode() argument
1682 if (code != 255) { in print_icmp_typecode()
1683 (void) printf("code %d", code); in print_icmp_typecode()
1684 if (code_end != code) in print_icmp_typecode()
4221 int type, code, type_end, code_end; in form_ipsec_conf() local
4706 code = parse_type_code(act_props->pattern[i], in form_ipsec_conf()
4713 code_end = code / 256; in form_ipsec_conf()
4714 code = code % 256; in form_ipsec_conf()
4716 if (code_end < code) in form_ipsec_conf()
4717 code_end = code; in form_ipsec_conf()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dfw.h74 u_long code; member
H A Dsnoop_mip.c316 switch (rrep->code) { in interpret_mip_cntrlmsg()
589 "Code = %d %s", (int)rrep->code, pc); in interpret_mip_cntrlmsg()
597 ((rrep->code == REPLY_CODE_ACK) || in interpret_mip_cntrlmsg()
598 (rrep->code == in interpret_mip_cntrlmsg()
H A Dsnoop_mip.h132 uchar_t code; /* refer to draft document */ member
H A Dsnoop_pf.c270 pf_codeprint(ushort_t *code, int len) in pf_codeprint() argument
273 ushort_t *plast = code + len; in pf_codeprint()
280 for (pc = code; pc < plast; pc++) { in pf_codeprint()
281 printf("\t%3d: ", pc - code); in pf_codeprint()
377 printf("\n\t%3d: %d (0x%04x)", pc - code, *pc, *pc); in pf_codeprint()
H A Dsnoop_ppp.c360 uint8_t code; in interpret_ppp_cp() local
369 GETINT8(code, datap); in interpret_ppp_cp()
375 if (code <= MAX_CPCODE) in interpret_ppp_cp()
376 codestr = cp_codearray[code]; in interpret_ppp_cp()
387 (void) sprintf(get_line(0, 0), "Code = %d %s", code, codestr); in interpret_ppp_cp()
397 switch (code) { in interpret_ppp_cp()
495 if (code == CODE_TIMEREMAIN) { in interpret_ppp_cp()
509 if (code == CODE_IDENT || code == CODE_TIMEREMAIN) { in interpret_ppp_cp()
619 uint8_t code; in interpret_ppp_chap() local
630 GETINT8(code, datap); in interpret_ppp_chap()
[all …]
H A Dsnoop_ppp.h167 uint8_t code; member
H A Dsnoop_pppoe.c93 uint8_t code = poep->poep_code; in interpret_pppoe() local
103 pppoe_codetoname(code, B_FALSE)); in interpret_pppoe()
115 "Code = %d (%s)", code, pppoe_codetoname(code, B_TRUE)); in interpret_pppoe()
190 pppoe_codetoname(int code, boolean_t verbose) in pppoe_codetoname() argument
194 switch (code) { in pppoe_codetoname()
H A Dsnoop_slp.c1011 static char *slpv2_error(unsigned short code) { in slpv2_error() argument
1014 switch (code) { in slpv2_error()
1031 sprintf(buf, "error %d", code); in slpv2_error()
1586 static char *slpv1_error(unsigned short code) { in slpv1_error() argument
1589 switch (code) { in slpv1_error()
1607 sprintf(buf, "error %d", code); in slpv1_error()
1633 static char *slpv1_charset(unsigned short code) { in slpv1_charset() argument
1634 if (code <= 1) in slpv1_charset()
1636 if (code == 3) in slpv1_charset()
1638 if (code == 4) in slpv1_charset()
[all …]
H A Dsnoop_smb.c778 ushort_t code = get2(&smb->err[2]); in interpret_smb() local
779 snprintf(p, sz, " Error=%d/%d", errcl, code); in interpret_smb()
1293 pipeapi_name(int code) in pipeapi_name() argument
1297 switch (code) { in pipeapi_name()
H A Dsnoop_socks.c35 static void put_socks4_res(char *cp, int code);
36 static void put_socks5_res(char *cp, int code);
416 put_socks4_res(char *cp, int code) in put_socks4_res() argument
418 switch (code) { in put_socks4_res()
432 (void) sprintf(cp, "0x%02x (unknown)", code); in put_socks4_res()
437 put_socks5_res(char *cp, int code) in put_socks5_res() argument
439 switch (code) { in put_socks5_res()
468 (void) sprintf(cp, "code 0x%02x", code); in put_socks5_res()
H A Dsnoop_tftp.c191 tftperror(unsigned short code) in tftperror() argument
195 switch (code) { in tftperror()
205 (void) sprintf(buf, "%d", code); in tftperror()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A DTHIRDPARTYLICENSE5 * modification, are permitted provided that: (1) source code distributions
7 * distributions including binary code include the above copyright notice and
H A Dtraceroute.c1521 uchar_t code; /* icmp code */ in traceroute() local
1704 &type, &code); in traceroute()
1771 (type, code)) { in traceroute()
1779 code == ICMP_UNREACH_PROTOCOL) in traceroute()
H A Dtraceroute_aux.c328 check_reply(struct msghdr *msg, int cc, int seq, uchar_t *type, uchar_t *code) in check_reply() argument
352 *code = icp->icmp_code; in check_reply()
358 if ((*type == ICMP_TIMXCEED && *code == ICMP_TIMXCEED_INTRANS) || in check_reply()
397 *code == ICMP_UNREACH_PORT) { in check_reply()
416 inet_ntoa(ip->ip_dst), *type, pr_type(*type), *code); in check_reply()
497 print_icmp_other(uchar_t type, uchar_t code) in print_icmp_other() argument
509 switch (code) { in print_icmp_other()
561 Printf(" !<%d>", code); in print_icmp_other()
H A Dtraceroute_aux6.c397 check_reply6(struct msghdr *msg, int cc, int seq, uchar_t *type, uchar_t *code) in check_reply6() argument
431 *code = icp6->icmp6_code; in check_reply6()
439 *code == ICMP6_TIME_EXCEED_TRANSIT) || in check_reply6()
443 *code == ICMP6_PARAMPROB_NEXTHEADER)) { in check_reply6()
487 *code == ICMP6_DST_UNREACH_NOPORT) { in check_reply6()
520 *type, pr_type6(*type), *code); in check_reply6()
686 print_icmp_other6(uchar_t type, uchar_t code) in print_icmp_other6() argument
700 if (code == ICMP6_PARAMPROB_NEXTHEADER) { in print_icmp_other6()
707 switch (code) { in print_icmp_other6()
733 Printf(" !<%d>", code); in print_icmp_other6()
/illumos-gate/usr/src/cmd/compress/
H A DTHIRDPARTYLICENSE8 1. Redistributions of source code must retain the above copyright
H A Dcompress.c1156 output(code_int code) in output() argument
1167 (void) fprintf(stderr, "%5d%c", code, in output()
1170 if (code >= 0) { in output()
1184 *bp = (*bp & rmask[r_off]) | (code << r_off) & lmask[r_off]; in output()
1187 code >>= 8 - r_off; in output()
1193 *bp++ = code; in output()
1194 code >>= 8; in output()
1199 *bp = code; in output()
1285 code_int code, oldcode, incode; in decompress() local
1292 for (code = 255; code >= 0; code--) { in decompress()
[all …]
/illumos-gate/usr/src/cmd/connstat/
H A Dconnstat_main.c81 usage(int code) in usage() argument
144 exit(code); in usage()
/illumos-gate/usr/src/cmd/cron/
H A DTHIRDPARTYLICENSE8 1. Redistributions of source code must retain the above copyright
/illumos-gate/usr/src/cmd/csh/
H A DTHIRDPARTYLICENSE8 1. Redistributions of source code must retain the above copyright
/illumos-gate/usr/src/cmd/csh/i386/
H A Dsignal.c68 int code; in sigvechandler() local
90 if ((code = sip->si_code) == BUS_OBJERR) in sigvechandler()
91 code = SEGV_MAKE_ERR(sip->si_errno); in sigvechandler()
99 (*_siguhandler[sig])(sig, code, &sc, addr); in sigvechandler()

12345678910>>...63