Home
last modified time | relevance | path

Searched refs:u_char (Results 26 – 50 of 193) sorted by relevance

12345678

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbtree.h138 u_char flags;
156 *(u_char *)p = flags; \
157 p += sizeof(u_char); \
188 u_char flags; /* P_BIGDATA, P_BIGKEY */
210 *(u_char *)p = flags; \
211 p += sizeof(u_char); \
220 u_char flags; /* P_BIGDATA */
233 LALIGN(sizeof(u_int32_t) + sizeof(u_char) + (dsize))
239 *(u_char *)p = flags; \
240 p += sizeof(u_char); \
[all …]
H A Dbt_conv.c68 u_char flags;
95 if (*(u_char *)p & P_BIGKEY) {
96 p += sizeof(u_char);
110 flags = *(u_char *)p;
112 p += sizeof(u_char);
136 u_char flags;
155 if (*(u_char *)p & P_BIGKEY) {
156 p += sizeof(u_char);
170 flags = *(u_char *)p;
172 p += sizeof(u_char);
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_newmsg.c33 static int rdcpy(ns_newmsg *, ns_type, const u_char *, size_t);
123 u_char *t; in ns_newmsg_q()
130 t = (u_char *) (unsigned long) msg->_msg_ptr; in ns_newmsg_q()
155 u_int16_t rdlen, const u_char *rdata) in ns_newmsg_rr()
158 u_char *t; in ns_newmsg_rr()
165 t = (u_char *) (unsigned long) msg->_msg_ptr; in ns_newmsg_rr()
197 u_char *t; in ns_newmsg_done()
199 t = (u_char *) (unsigned long) msg->_msg; in ns_newmsg_done()
218 u_char *p = (u_char *) (unsigned long) msg->_msg_ptr; in rdcpy()
219 u_char *t = p + NS_INT16SZ; in rdcpy()
[all …]
H A Dns_verify.c52 u_char *
53 ns_find_tsig(u_char *msg, u_char *eom) { in ns_find_tsig()
56 u_char *cp = msg, *start; in ns_find_tsig()
130 const u_char *querysig, int querysiglen, u_char *sig, int *siglen, in ns_verify()
135 u_char *cp = msg, *eom; in ns_verify()
137 u_char *recstart, *rdatastart; in ns_verify()
229 u_char buf[MAXDNAME]; in ns_verify()
230 u_char buf2[MAXDNAME]; in ns_verify()
339 u_char *recstart, *sigstart; in ns_verify_tcp()
341 u_char *cp, *eom, *cp2; in ns_verify_tcp()
[all …]
H A Dns_rdata.c83 ns_rdata_unpack(const u_char *msg, const u_char *eom, in ns_rdata_unpack()
84 ns_type type, const u_char *rdata, size_t rdlen, in ns_rdata_unpack()
85 u_char *nrdata, size_t nrdsiz) in ns_rdata_unpack()
176 const u_char *rdata1, size_t rdlen1, in ns_rdata_equal()
177 const u_char *rdata2, size_t rdlen2) in ns_rdata_equal()
249 const u_char *rdata, size_t rdlen, in ns_rdata_refers()
250 const u_char *nname) in ns_rdata_refers()
H A Dns_netint.c27 ns_get16(const u_char *src) { in ns_get16()
35 ns_get32(const u_char *src) { in ns_get32()
43 ns_put16(u_int src, u_char *dst) { in ns_put16()
48 ns_put32(u_long src, u_char *dst) { in ns_put32()
/illumos-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_net_pton.c66 const u_char *odst = dst; in inet_net_pton_ipv4()
89 *dst++ = (u_char) tmp; in inet_net_pton_ipv4()
96 *dst++ = (u_char) (tmp << 4); in inet_net_pton_ipv4()
113 *dst++ = (u_char) tmp; in inet_net_pton_ipv4()
220 getv4(const char *src, u_char *dst, int *bitsp) { in getv4()
222 u_char *odst = dst; in getv4()
266 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_net_pton_ipv6()
313 *tp++ = (u_char) (val >> 8) & 0xff; in inet_net_pton_ipv6()
314 *tp++ = (u_char) val & 0xff; in inet_net_pton_ipv6()
334 *tp++ = (u_char) (val >> 8) & 0xff; in inet_net_pton_ipv6()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dbsd-comp.c86 u_char maxbits;
87 u_char debug;
88 u_char unit;
113 u_char pad;
115 u_char pad;
288 u_char *options; in bsd_alloc()
367 u_char *options; in bsd_decomp_alloc()
379 u_char *options;
431 u_char *dmsg;
440 u_char c;
[all …]
H A Ddeflate.c64 static void *z_decomp_alloc __P((u_char *options, int opt_len));
66 static int z_decomp_init __P((void *state, u_char *options, int opt_len,
68 static void z_incomp __P((void *state, u_char *dmsg, int len));
69 static int z_decompress __P((void *state, u_char *cmp, int inlen,
70 u_char *dmp, int *outlenp));
132 u_char *options; in z_decomp_alloc()
177 u_char *options;
229 u_char *mi, *mo;
233 u_char *rptr, *wptr;
301 u_char *mi;
[all …]
H A Dppp-comp.h53 void *(*decomp_alloc) __P((u_char *options, int opt_len));
57 int (*decomp_init) __P((void *state, u_char *options, int opt_len,
62 int (*decompress) __P((void *state, u_char *mp, int inlen,
63 u_char *dmp, int *outlen));
65 void (*incomp) __P((void *state, u_char *mp, int len));
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkquery.c115 const u_char *data, /*!< resource record data */ in res_nmkquery()
117 const u_char *newrr_in, /*!< new rr for modify or append */ in res_nmkquery()
118 u_char *buf, /*!< buffer to put query */ in res_nmkquery()
122 register u_char *cp, *ep; in res_nmkquery()
124 u_char *dnptrs[20], **dpp, **lastdnptr; in res_nmkquery()
237 u_char *buf, /*%< buffer to put query */ in res_nopt()
242 register u_char *cp, *ep; in res_nopt()
291 u_char *buf, /*%< buffer to put query */ in res_nopt_rdata()
293 u_char *rdata, /*%< ptr to start of opt rdata */ in res_nopt_rdata()
296 u_char *data) /*%< OPTION_DATA */ in res_nopt_rdata()
[all …]
H A Dres_mkupdate.c50 static int getnum_str(u_char **, u_char *);
51 static int gethexnum_str(u_char **, u_char *);
52 static int getword_str(char *, int, u_char **, u_char *);
53 static int getstr_str(char *, int, u_char **, u_char *);
86 u_char buf3[MAXDNAME]; in res_nmkupdate()
571 u_char data[32]; in res_nmkupdate()
717 getword_str(char *buf, int size, u_char **startpp, u_char *endp) { in getword_str()
747 getstr_str(char *buf, int size, u_char **startpp, u_char *endp) { in getstr_str()
811 *cp++ = (u_char)c; in getstr_str()
825 gethexnum_str(u_char **startpp, u_char *endp) { in gethexnum_str()
[all …]
H A Dres_send.c136 u_char *, int, int *, int);
138 u_char *, int, int *, int, int,
228 const u_char *buf, const u_char *eom) in res_nameinquery()
230 const u_char *cp = buf + HFIXEDSZ; in res_nameinquery()
265 res_queriesmatch(const u_char *buf1, const u_char *eom1, in res_queriesmatch()
266 const u_char *buf2, const u_char *eom2) in res_queriesmatch()
268 const u_char *cp = buf1 + HFIXEDSZ; in res_queriesmatch()
304 const u_char *buf, int buflen, u_char *ans, int anssiz) in res_nsend()
602 const u_char *buf, int buflen, u_char *ans, int anssiz, in send_vc()
612 u_char *cp; in send_vc()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_get.c130 u_char *p;
187 u_char *p;
204 len = p - (u_char *)t->bt_rdata.data;
211 p = (u_char *)t->bt_rdata.data + len;
241 u_char *sp, *ep, *p;
255 sp = (u_char *)t->bt_cmap;
256 ep = (u_char *)t->bt_emap;
290 u_char *sp, *ep;
294 sp = (u_char *)t->bt_cmap;
295 ep = (u_char *)t->bt_emap;
[all …]
/illumos-gate/usr/src/boot/include/net/
H A Dif.h262 u_char ifm_version; /* future binary compatibility */
263 u_char ifm_type; /* message type */
284 u_char ifm_version; /* future binary compatibility */
285 u_char ifm_type; /* message type */
302 u_char ifam_version; /* future binary compatibility */
303 u_char ifam_type; /* message type */
324 u_char ifam_version; /* future binary compatibility */
325 u_char ifam_type; /* message type */
344 u_char ifmam_type; /* message type */
355 u_char ifan_version; /* future binary compatibility */
[all …]
H A Dif_arp.h55 u_char ar_hln; /* length of hardware address */
56 u_char ar_pln; /* length of protocol address */
69 u_char ar_sha[]; /* sender hardware address */
70 u_char ar_spa[]; /* sender protocol address */
71 u_char ar_tha[]; /* target hardware address */
72 u_char ar_tpa[]; /* target protocol address */
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dfsm.c329 u_char *inp;
330 u_char code, id;
408 u_char id;
409 u_char *inp;
489 u_char *inp;
546 u_char *inp;
603 u_char *p;
671 u_char *inp;
813 u_char *outp;
866 u_char *data;
[all …]
H A Dchap_ms.h33 void ChapMS __P((chap_state *, u_char *, int, char *, int));
34 void ChapMSv2 __P((chap_state *, u_char *, int, char *, int));
35 int ChapMSValidate __P((chap_state *cstate, u_char *response, int response_len,
38 u_char *response, int response_len, char *secret, int secret_len));
/illumos-gate/usr/src/lib/libresolv2/common/dst/
H A Dhmac_link.c66 u_char hk_ipad[64], hk_opad[64];
92 const u_char *data, const int len, in dst_hmac_md5_sign()
93 u_char *signature, const int sig_len) in dst_hmac_md5_sign()
161 const u_char *data, const int len, in dst_hmac_md5_verify()
162 const u_char *signature, const int sig_len) in dst_hmac_md5_verify()
186 u_char digest[MD5_LEN]; in dst_hmac_md5_verify()
229 u_char tk[MD5_LEN]; in dst_buffer_to_hmac_md5()
283 u_char key[HMAC_LEN]; in dst_hmac_md5_key_to_file_format()
345 u_char key[HMAC_LEN+1]; /* b64_pton needs more than 64 bytes do decode in dst_hmac_md5_key_from_file_format()
349 u_char *tmp; in dst_hmac_md5_key_from_file_format()
[all …]
H A Ddst_api.c240 const u_char *data, const int len, in dst_sign_data()
241 u_char *signature, const int sig_len) in dst_sign_data()
283 const u_char *data, const int len, in dst_verify_data()
404 u_char encoded_block[RAW_KEY_SIZE]; in dst_s_write_private_key()
464 u_char deckey[RAW_KEY_SIZE]; in dst_s_read_public_key()
585 u_char out_key[RAW_KEY_SIZE]; in dst_s_write_public_key()
729 (u_char *) &out_storage[loc], in dst_key_to_dnskey()
763 u_char dns[2048]; in dst_buffer_to_key()
822 u_char in_buff[RAW_KEY_SIZE], *p; in dst_s_read_private_key_file()
825 u_char dns[2048]; in dst_s_read_private_key_file()
[all …]
/illumos-gate/usr/src/boot/include/netinet/
H A Dip_var.h42 u_char ih_x1[9]; /* (unused) */
43 u_char ih_pr; /* protocol */
58 u_char ipq_ttl; /* time for reass q to live */
59 u_char ipq_p; /* protocol of this fragment */
63 u_char ipq_nfrags; /* # frags in this packet */
90 u_char imo_multicast_ttl; /* TTL for outgoing multicasts */
91 u_char imo_multicast_loop; /* 1 => hear sends if a member */
182 extern u_char ip_protox[];
/illumos-gate/usr/src/lib/libresolv/
H A Dres_mkquery.c134 register u_char *cp;
136 u_char *dnptrs[10], **dpp, **lastdnptr;
175 cp = (u_char *)(buf + sizeof (HEADER));
178 *dpp++ = (u_char *)buf;
188 if ((n = dn_comp((u_char *)dname, cp, buflen,
204 if ((n = dn_comp((u_char *)data, cp, buflen,
262 if ((n = dn_comp((u_char *)dname, cp, buflen,
290 if ((n = dn_comp((u_char *)dname, cp, buflen,
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dipoptsec.c25 u_char seclevel(slevel) in seclevel()
38 return (u_char)so->on_value;
42 u_char secbit(class) in secbit()
55 return (u_char)so->on_bit;
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Drlib.h61 extern void putlong(u_long l, u_char *msgp);
62 extern void putshort(u_short l, u_char *msgp);
63 extern u_int32_t _getlong(register const u_char *msgp);
64 extern u_int16_t _getshort(register const u_char *msgp);
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dipf.h153 u_char fb_t;
154 u_char fb_f;
181 extern u_char flags[];
287 extern u_char tcp_flags __P((char *, u_char *, int));
288 extern u_char tcpflags __P((char *));
292 extern u_char secbit __P((int));
293 extern u_char seclevel __P((char *));

12345678