/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | chap_ms.c | 71 u_char NTResp[24]; 79 u_char MustBeZero[8]; 80 u_char NTResp[24]; 86 static void ChallengeResponse __P((u_char *, u_char *, u_char *)); 87 static void DesEncrypt __P((u_char *, u_char *, u_char *)); 88 static void MakeKey __P((u_char *, u_char *)); 89 static u_char Get7Bits __P((u_char *, int)); 201 u_char *input; in Get7Bits() 221 u_char *in; in Expand() 239 u_char *out; [all …]
|
H A D | fsm.h | 69 u_char id; /* Current id */ 70 u_char reqid; /* Current request id */ 107 __P((fsm *, u_char *, int *)); 109 __P((fsm *, u_char *, int)); 111 __P((fsm *, u_char *, int)); 113 __P((fsm *, u_char *, int)); 115 __P((fsm *, u_char *, int *, int)); 127 __P((fsm *, int, int, u_char *, int)); 130 __P((fsm *p, int code, int id, u_char *inp, int len)); 177 void fsm_input __P((fsm *, u_char *, int)); [all …]
|
H A D | chap.h | 79 u_char challenge[MAX_CHALLENGE_LENGTH]; /* last challenge string sent */ 80 u_char chal_len; /* challenge length */ 81 u_char chal_id; /* ID of last challenge */ 82 u_char chal_type; /* hash algorithm for challenges */ 83 u_char id; /* Current id */ 90 u_char response[MAX_RESPONSE_LENGTH]; /* Response to send */ 91 u_char resp_length; /* length of response */ 92 u_char resp_id; /* ID for response messages */ 93 u_char resp_type; /* hash algorithm for responses */ 94 u_char stat_length; /* Length of status message (MS-CHAP) */
|
H A D | cbcp.c | 134 u_char *inpacket; 137 u_char *inp; 138 u_char code, id; 216 u_char *p; in cbcp_printpkt() 320 u_char *pckt; 325 u_char cb_type; 326 u_char buf[256]; 327 u_char *bufp = buf; 424 u_char *buf; 427 u_char *outp; [all …]
|
H A D | chap.c | 364 u_char *inp; 422 u_char *inp; 561 u_char *inp; 712 u_char *inp; 713 u_char id; 753 u_char *inp; 754 u_char id; 785 u_char *outp; 821 u_char *outp; 925 u_char *p; in ChapPrintPkt() [all …]
|
H A D | upap.c | 332 u_char *inp; 384 u_char *inp; 423 len -= sizeof (u_char) + ruserlen + sizeof (u_char); 474 u_char *inp; 478 u_char msglen; 527 u_char *inp; 531 u_char msglen; 594 u_char *outp; 634 u_char *outp; 658 u_char *p; in upap_printpkt() [all …]
|
H A D | pppd.h | 714 *(cp)++ = (u_char) (c); \ 723 *(cp)++ = (u_char) ((s) >> 8); \ 724 *(cp)++ = (u_char) (s); \ 734 *(cp)++ = (u_char) ((l) >> 24); \ 735 *(cp)++ = (u_char) ((l) >> 16); \ 736 *(cp)++ = (u_char) ((l) >> 8); \ 737 *(cp)++ = (u_char) (l); \ 753 *(cp)++ = (u_char) (putnlong_val >> 24); \ 754 *(cp)++ = (u_char) (putnlong_val >> 16); \ 755 *(cp)++ = (u_char) (putnlong_val >> 8); \ [all …]
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | dosfs.h | 61 u_char x_case; /* case */ 66 u_char h_clus[2]; /* clus[hi] */ 70 u_char name[8]; /* name */ 71 u_char ext[3]; /* extension */ 72 u_char attr; /* attributes */ 77 u_char size[4]; /* size */ 81 u_char seq; /* flags */ 83 u_char attr; /* (see fat_de) */ 84 u_char res; /* reserved */ 85 u_char chk; /* checksum */ [all …]
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | crossl.h | 27 extern int dn_comp(u_char *, u_char *, int, u_char **, u_char **); 28 extern int dn_expand(u_char *, u_char *, u_char *, u_char *, int); 29 extern int dn_skipname(u_char *, u_char *); 34 extern int res_query(char *, int, int, u_char *, int); 35 extern int res_querydomain(char *, char *, int, int, u_char *, int); 36 extern int res_search(char *, int, int, u_char *, int); 39 extern void putlong(u_long, u_char *); 40 extern void putshort(u_short, u_char *);
|
H A D | res_comp.c | 44 static int dn_find(u_char *exp_dn, u_char *msg, u_char **dnptrs, 45 u_char **lastdnptr); 62 u_char *eom; 144 u_char *msg; 218 register u_char *cp; 247 dn_find(u_char *exp_dn, u_char *msg, u_char **dnptrs, u_char **lastdnptr) in dn_find() 251 u_char *sp; in dn_find() 300 u_char *msgp; in _getshort() 302 register u_char *p = (u_char *) msgp; 318 u_char *msgp; in _getlong() [all …]
|
/illumos-gate/usr/src/boot/include/netinet/ |
H A D | if_ether.h | 52 (enaddr)[4] = ((const u_char *)ipaddr)[2]; \ 53 (enaddr)[5] = ((const u_char *)ipaddr)[3]; \ 66 (enaddr)[2] = ((const u_char *)ip6addr)[12]; \ 67 (enaddr)[3] = ((const u_char *)ip6addr)[13]; \ 68 (enaddr)[4] = ((const u_char *)ip6addr)[14]; \ 69 (enaddr)[5] = ((const u_char *)ip6addr)[15]; \ 82 u_char arp_spa[4]; /* sender protocol address */ 84 u_char arp_tpa[4]; /* target protocol address */ 94 u_char sin_len; 95 u_char sin_family; [all …]
|
H A D | ip.h | 51 u_char ip_hl:4, /* header length */ 55 u_char ip_v:4, /* version */ 58 u_char ip_tos; /* type of service */ 66 u_char ip_ttl; /* time to live */ 67 u_char ip_p; /* protocol */ 167 u_char ipt_code; /* IPOPT_TS */ 169 u_char ipt_ptr; /* index of current entry */ 171 u_char ipt_flg:4, /* flags, see below */ 175 u_char ipt_oflw:4, /* overflow counter */ 218 u_char ippseudo_pad; /* pad, must be zero */ [all …]
|
/illumos-gate/usr/src/lib/libresolv/arpa/ |
H A D | nameser.h | 151 u_char qr:1; /* response flag */ 153 u_char aa:1; /* authoritive answer */ 154 u_char tc:1; /* truncated message */ 155 u_char rd:1; /* recursion desired */ 159 u_char unused:2; /* unused bits */ 160 u_char rcode:4; /* response code */ 165 u_char rd:1; /* recursion desired */ 166 u_char tc:1; /* truncated message */ 169 u_char qr:1; /* response flag */ 171 u_char rcode:4; /* response code */ [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_name.c | 70 static int dn_find(const u_char *, const u_char *, 97 u_char c; in ns_name_ntop() 354 u_char c; in ns_name_ntol() 400 ns_name_unpack(const u_char *msg, const u_char *eom, const u_char *src, in ns_name_unpack() 415 ns_name_unpack2(const u_char *msg, const u_char *eom, const u_char *src, in ns_name_unpack2() 510 ns_name_pack(const u_char *src, u_char *dst, int dstsiz, in ns_name_pack() 511 const u_char **dnptrs, const u_char **lastdnptr) in ns_name_pack() 611 ns_name_uncompress(const u_char *msg, const u_char *eom, const u_char *src, in ns_name_uncompress() 641 const u_char **dnptrs, const u_char **lastdnptr) in ns_name_compress() 674 ns_name_skip(const u_char **ptrptr, const u_char *eom) in ns_name_skip() [all …]
|
H A D | ns_sign.c | 73 const u_char *querysig, int querysiglen, u_char *sig, int *siglen, in ns_sign() 83 const u_char *querysig, int querysiglen, u_char *sig, int *siglen, in ns_sign2() 84 time_t in_timesigned, u_char **dnptrs, u_char **lastdnptr) in ns_sign2() 88 u_char *cp, *eob; in ns_sign2() 89 u_char *lenp; in ns_sign2() 90 u_char *alg; in ns_sign2() 107 (const u_char **)dnptrs, in ns_sign2() 153 u_char buf[NS_MAXCDNAME], *cp2; in ns_sign2() 274 u_char **dnptrs, u_char **lastdnptr) in ns_sign_tcp2() 276 u_char *cp, *eob, *lenp; in ns_sign_tcp2() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_comp.c | 106 dn_expand(const u_char *msg, const u_char *eom, const u_char *src, in dn_expand() 123 dn_comp(const char *src, u_char *dst, int dstsiz, in dn_comp() 124 u_char **dnptrs, u_char **lastdnptr) in dn_comp() 127 (const u_char **)dnptrs, in dn_comp() 128 (const u_char **)lastdnptr)); in dn_comp() 136 dn_skipname(const u_char *ptr, const u_char *eom) { in dn_skipname() 137 const u_char *saveptr = ptr; in dn_skipname() 274 void __putlong(u_int32_t src, u_char *dst) { ns_put32(src, dst); } in __putlong() 275 void __putshort(u_int16_t src, u_char *dst) { ns_put16(src, dst); } in __putshort() 277 u_int32_t _getlong(const u_char *src) { return (ns_get32(src)); } in _getlong() [all …]
|
H A D | res_data.c | 140 p_query(const u_char *msg) { in p_query() 145 fp_query(const u_char *msg, FILE *file) { in fp_query() 150 fp_nquery(const u_char *msg, int len, FILE *file) { in fp_nquery() 161 const u_char *data, /*!< resource record data */ in res_mkquery() 164 u_char *buf, /*!< buffer to put query */ in res_mkquery() 177 res_mkupdate(ns_updrec *rrecp_in, u_char *buf, int buflen) { in res_mkupdate() 189 u_char *answer, /*!< buffer to put answer */ in res_query() 215 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz) { in res_send() 226 u_char *ans, int anssiz) in res_sendsigned() 254 u_char *answer, /*!< buffer to put answer */ in res_search() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/include/isc/ |
H A D | dst.h | 65 const u_char *, /*!< data to be signed */ 67 u_char *, /*!< buffer to write signature to */ 72 const u_char *, /*!< data to be verified */ 74 const u_char *, /*!< buffer containing signature */ 83 const u_char *, /*!< KEY RDATA */ 86 u_char *, /*!< output buffer */ 92 const u_char *, /*!< key in dns wire fmt */ 94 int dst_key_to_buffer(DST_KEY *, u_char *, int); 109 u_int16_t dst_s_dns_key_id(const u_char *, const int); 110 u_int16_t dst_s_id_calc(const u_char *, const int);
|
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | strcasecmp.c | 53 static const u_char charmap[] = { 90 const u_char *cm = charmap, in strcasecmp() 91 *us1 = (const u_char *)s1, in strcasecmp() 92 *us2 = (const u_char *)s2; in strcasecmp() 103 const u_char *cm = charmap, in strncasecmp() 104 *us1 = (const u_char *)s1, in strncasecmp() 105 *us2 = (const u_char *)s2; in strncasecmp()
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | inet_addr.c | 80 #define ISALNUM(x) isalnum((u_char)(x)) 81 #define ISALPHA(x) isalpha((u_char)(x)) 82 #define ISASCII(x) isascii((u_char)(x)) 83 #define ISDIGIT(x) isdigit((u_char)(x)) 84 #define ISPRINT(x) isprint((u_char)(x)) 85 #define ISSPACE(x) isspace((u_char)(x)) 86 #define ISUPPER(x) isupper((u_char)(x)) 87 #define ISXDIGIT(x) isxdigit((u_char)(x)) 88 #define ISLOWER(x) islower((u_char)(x))
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | jtag.c | 380 static int jtag_bf_cmp(u_char *s1, u_char *s2, int nbits); 395 jtag_instruction, u_char *, int, u_char *); 397 jtag_instruction, u_char *, int, u_char *); 410 static void format_chip_data(u_char *, u_int *, u_char *); 1713 u_char b[4]; in jtag_get_comp_id() 1797 jtag_bf_cmp(u_char *s1, u_char *s2, int nbits) in jtag_bf_cmp() 1899 u_char *p; in jtag_scanout_chip() 2318 u_char *in, in jtag_single_IR_DR() 2320 u_char *out) in jtag_single_IR_DR() 2354 u_char *in, in jtag_rescan_IR_DR() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/dst/ |
H A D | support.c | 77 dst_s_calculate_bits(const u_char *str, const int max_bits) in dst_s_calculate_bits() 79 const u_char *p = str; in dst_s_calculate_bits() 80 u_char i, j = 0x80; in dst_s_calculate_bits() 95 dst_s_id_calc(const u_char *key, const int keysize) in dst_s_id_calc() 98 const u_char *kp = key; in dst_s_id_calc() 124 dst_s_dns_key_id(const u_char *dns_key_rdata, const int rdata_len) in dst_s_dns_key_id() 131 return dst_s_get_int16((const u_char *) in dst_s_dns_key_id() 153 dst_s_get_int16(const u_char *buf) in dst_s_get_int16() 172 dst_s_get_int32(const u_char *buf) in dst_s_get_int32() 322 dst_s_dump(const int mode, const u_char *data, const int size, in dst_s_dump() [all …]
|
/illumos-gate/usr/src/boot/common/ |
H A D | isapnp.h | 248 u_char csn; /* assigned Card Select Number */ 249 u_char ldn; /* Logical Device Number */ 250 u_char enable; /* pnp enable */ 251 u_char override; /* override bios parms (in userconfig) */ 252 u_char irq[2]; /* IRQ Number */ 253 u_char irq_type[2]; /* IRQ Type */ 254 u_char drq[2]; 277 u_char checksum;
|
/illumos-gate/usr/src/lib/libresolv2/common/inet/ |
H A D | inet_cidr_pton.c | 45 static int inet_cidr_pton_ipv4 __P((const char *src, u_char *dst, 47 static int inet_cidr_pton_ipv6 __P((const char *src, u_char *dst, 85 inet_cidr_pton_ipv4(const char *src, u_char *dst, int *pbits, int ipv6) { in inet_cidr_pton_ipv4() 86 const u_char *odst = dst; in inet_cidr_pton_ipv4() 103 *dst++ = (u_char) tmp; in inet_cidr_pton_ipv4() 152 inet_cidr_pton_ipv6(const char *src, u_char *dst, int *pbits) { in inet_cidr_pton_ipv6() 155 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_cidr_pton_ipv6() 197 *tp++ = (u_char) (val >> 8) & 0xff; in inet_cidr_pton_ipv6() 198 *tp++ = (u_char) val & 0xff; in inet_cidr_pton_ipv6() 220 *tp++ = (u_char) (val >> 8) & 0xff; in inet_cidr_pton_ipv6() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/qsort/ |
H A D | merge.c | 54 static void setup(u_char *, u_char *, size_t, size_t, int (*)()); 58 #define PSIZE sizeof(u_char *) 83 #define EVAL(p) (u_char **) \ 84 ((u_char *)0 + \ 85 (((u_char *)p + PSIZE - 1 - (u_char *) 0) & ~(PSIZE - 1))) 96 u_char *f1, *f2, *t, *b, *tp2, *q, *l1, *l2; in mergesort() 97 u_char *list2, *list1, *p2, *p, *last, **p1; in mergesort() 251 setup(u_char *list1, u_char *list2, size_t n, size_t size, in setup() 255 u_char tmp, *f1, *f2, *s, *l2, *last, *p2; in setup() 260 *EVAL(list2) = (u_char*) list2 + n*size; in setup() [all …]
|