Home
last modified time | relevance | path

Searched refs:u_char (Results 1 – 25 of 1286) sorted by relevance

12345678910>>...52

/openbsd/src/usr.sbin/tcpdump/
Dinterface.h132 extern const u_char *packetp;
133 extern const u_char *snapend;
144 (const u_char *)&(var) <= snapend - (l))
160 extern int fn_print(const u_char *, const u_char *);
161 extern int fn_printn(const u_char *, u_int, const u_char *);
177 extern char *isonsap_string(const u_char *);
178 extern char *llcsap_string(u_char);
179 extern char *protoid_string(const u_char *);
187 extern int ether_encap_print(u_short, const u_char *, u_int, u_int);
188 extern int llc_print(const u_char *, u_int, u_int, const u_char *,
[all …]
Dprint-l2tp.c43 static u_char *l2tp_message_type_string[] = {
64 static void l2tp_msgtype_print(const u_char *dat, u_int length);
65 static void l2tp_result_code_print(const u_char *dat, u_int length);
66 static void l2tp_proto_ver_print(const u_char *dat, u_int length);
67 static void l2tp_framing_cap_print(const u_char *dat, u_int length);
68 static void l2tp_bearer_cap_print(const u_char *dat, u_int length);
69 static void l2tp_tie_breaker_print(const u_char *dat, u_int length);
70 static void l2tp_firm_ver_print(const u_char *dat, u_int length);
71 static void l2tp_host_name_print(const u_char *dat, u_int length);
72 static void l2tp_vendor_name_print(const u_char *dat, u_int length);
[all …]
Dprint-dvmrp.c68 static void print_probe(const u_char *, const u_char *, u_int);
69 static void print_report(const u_char *, const u_char *, u_int);
70 static void print_neighbors(const u_char *, const u_char *, u_int);
71 static void print_neighbors2(const u_char *, const u_char *, u_int);
72 static void print_prune(const u_char *, const u_char *, u_int);
73 static void print_graft(const u_char *, const u_char *, u_int);
74 static void print_graft_ack(const u_char *, const u_char *, u_int);
79 dvmrp_print(const u_char *bp, u_int len) in dvmrp_print()
81 const u_char *ep; in dvmrp_print()
82 u_char type; in dvmrp_print()
[all …]
Dappletalk.h29 u_char dst;
30 u_char src;
31 u_char type;
44 u_char dstNode;
45 u_char srcNode;
46 u_char dstSkt;
47 u_char srcSkt;
48 u_char type;
53 u_char dstSkt;
54 u_char srcSkt;
[all …]
Dprint-isoclns.c46 static int osi_cksum(const u_char *, u_int, const u_char *, u_char *, u_char *);
47 static void esis_print(const u_char *, u_int);
50 isoclns_print(const u_char *p, u_int length, u_int caplen, in isoclns_print()
51 const u_char *esrc, const u_char *edst) in isoclns_print()
120 u_char version;
121 u_char reserved;
122 u_char type;
123 u_char tmo[2];
124 u_char cksum[2];
128 esis_print(const u_char *p, u_int length) in esis_print()
[all …]
Digrp.h9 u_char ig_v:4; /* protocol version number */
10 u_char ig_op:4; /* opcode */
12 u_char ig_op:4; /* opcode */
13 u_char ig_v:4; /* protocol version number */
15 u_char ig_ed; /* edition number */
29 u_char igr_net[3]; /* 3 significant octets of IP address */
30 u_char igr_dly[3]; /* delay in tens of microseconds */
31 u_char igr_bw[3]; /* bandwidth in units of 1 kb/s */
32 u_char igr_mtu[2]; /* MTU in octets */
33 u_char igr_rel; /* percent packets successfully tx/rx */
[all …]
/openbsd/src/usr.sbin/makefs/cd9660/
Dcd9660_eltorito.h64 u_char boot_record_indicator [ISODCL(0x00,0x00)];
65 u_char identifier [ISODCL(0x01,0x05)];
66 u_char version [ISODCL(0x06,0x06)];
67 u_char boot_system_identifier [ISODCL(0x07,0x26)];
68 u_char unused1 [ISODCL(0x27,0x46)];
69 u_char boot_catalog_pointer [ISODCL(0x47,0x4A)];
70 u_char unused2 [ISODCL(0x4B,0x7FF)];
74 u_char header_id [ISODCL(0x00,0x00)];
75 u_char platform_id [ISODCL(0x01,0x01)];
76 u_char reserved1 [ISODCL(0x02,0x03)];
[all …]
Diso9660_rrip.h101 u_char mode [ISODCL(5,12)];
102 u_char links [ISODCL(13,20)];
103 u_char uid [ISODCL(21,28)];
104 u_char gid [ISODCL(29,36)];
105 u_char serial [ISODCL(37,44)];/* Not used */
110 u_char high [ISODCL(5,12)];
111 u_char low [ISODCL(13,20)];
116 u_char flags [ISODCL ( 4, 4)];
117 u_char component [ISODCL ( 4, 256)];
123 u_char flags [ISODCL ( 4, 4)];
[all …]
/openbsd/src/sys/arch/luna88k/stand/boot/
Dscsireg.h43 volatile u_char scsi_bdid, p0, p1, p2; /* 000 */
44 volatile u_char scsi_sctl, p3, p4, p5; /* 004 */
53 volatile u_char scsi_scmd, p6, p7, p8; /* 008 */
68 volatile u_char scsi_tmod, p9, p10, p11; /* 00C */
70 volatile u_char scsi_ints, p12, p13, p14; /* 010 */
79 volatile u_char scsi_psns, p15, p16, p17; /* 014 */
87 volatile u_char scsi_ssts, p18, p19, p20; /* 018 */
97 volatile u_char scsi_serr, p21, p22, p23; /* 01C */
105 volatile u_char scsi_pctl, p24, p25, p26; /* 020 */
107 volatile u_char scsi_mbc, p27, p28, p29; /* 024 */
[all …]
/openbsd/src/usr.bin/spell/
Dlook.c42 u_char *binary_search(u_char *, u_char *, u_char *);
43 u_char *linear_search(u_char *, u_char *, u_char *);
44 int compare(u_char *, u_char *, u_char *);
45 int look(u_char *, u_char *, u_char *);
48 look(u_char *string, u_char *front, u_char *back) in look()
50 u_char *s; in look()
105 u_char *
106 binary_search(u_char *string, u_char *front, u_char *back) in binary_search()
108 u_char *p; in binary_search()
139 u_char *
[all …]
/openbsd/src/sys/sys/
Dcdio.h14 u_char unused;
15 u_char minute;
16 u_char second;
17 u_char frame;
20 u_char addr[4];
24 u_char nothing1;
33 u_char track;
34 u_char nothing2;
39 u_char nothing1;
40 u_char audio_status;
[all …]
/openbsd/src/usr.bin/ssh/
Dsshbuf.h108 const u_char *sshbuf_ptr(const struct sshbuf *buf);
114 u_char *sshbuf_mutable_ptr(const struct sshbuf *buf);
137 int sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp);
165 int sshbuf_get_u8(struct sshbuf *buf, u_char *valp);
169 int sshbuf_put_u8(struct sshbuf *buf, u_char val);
179 u_char *valp);
188 int sshbuf_poke_u8(struct sshbuf *buf, size_t offset, u_char val);
196 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
208 int sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp,
215 int sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp,
[all …]
Dumac.h55 struct umac_ctx *umac_new(const u_char key[]);
65 int umac_update(struct umac_ctx *ctx, const u_char *input, long len);
68 int umac_final(struct umac_ctx *ctx, u_char tag[], const u_char nonce[8]);
77 int umac(struct umac_ctx *ctx, u_char *input,
78 long len, u_char tag[],
79 u_char nonce[8]);
91 uhash_ctx_t uhash_alloc(u_char key[16]);
106 u_char *input,
110 u_char output[]);
113 u_char *input,
[all …]
/openbsd/src/sys/arch/luna88k/dev/
Dmb89352var.h74 u_char *data_addr; /* Saved data pointer */
77 u_char target_stat; /* SCSI status byte */
104 u_char flags;
107 u_char period; /* Period suggestion */
108 u_char offset; /* Offset suggestion */
109 u_char width; /* Width suggestion */
126 u_char *sc_dp; /* Current data pointer */
128 u_char *sc_cp; /* Current command pointer */
132 u_char sc_phase; /* Current bus phase */
133 u_char sc_prevphase; /* Previous bus phase */
[all …]
/openbsd/src/sys/dev/ic/
Daic6360var.h79 u_char *data_addr; /* Saved data pointer */
82 u_char target_stat; /* SCSI status byte */
111 u_char flags;
114 u_char period; /* Period suggestion */
115 u_char offset; /* Offset suggestion */
116 u_char width; /* Width suggestion */
136 u_char *sc_dp; /* Current data pointer */
138 u_char *sc_cp; /* Current command pointer */
142 u_char sc_phase; /* Current bus phase */
143 u_char sc_prevphase; /* Previous bus phase */
[all …]
Dncr53c9xvar.h108 u_char msg[3]; /* Selection Id msg */
114 u_char stat; /* SCSI status byte */
115 u_char tag[2]; /* TAG bytes */
116 u_char pad[1];
162 u_char flags;
171 u_char period; /* Period suggestion */
172 u_char offset; /* Offset suggestion */
173 u_char cfg3; /* per target config 3 */
174 u_char nextag; /* Next available tag */
175 u_char width; /* width suggestion */
[all …]
/openbsd/src/usr.bin/rdist/
Dexpand.c65 static void Cat(u_char *, u_char *);
70 Cat(u_char *s1, u_char *s2) /* quote in s1 and s2 */ in Cat()
141 expstr((u_char *)nl->n_name); in expand()
164 u_char *
165 xstrchr(u_char *str, int ch) in xstrchr()
167 u_char *cp; in xstrchr()
177 expstr(u_char *s) in expstr()
179 u_char *cp, *cp1; in expstr()
181 u_char *tail; in expstr()
182 u_char ebuf[BUFSIZ]; in expstr()
[all …]
/openbsd/src/lib/libc/net/
Dres_comp.c66 static int dn_find(u_char *, u_char *, u_char **, u_char **);
76 dn_expand(const u_char *msg, const u_char *eomorig, const u_char *comp_dn, in dn_expand()
79 const u_char *cp; in dn_expand()
165 dn_comp(const char *exp_dn, u_char *comp_dn, int length, u_char **dnptrs, in dn_comp()
166 u_char **lastdnptr) in dn_comp()
168 u_char *cp, *dn; in dn_comp()
170 u_char **cpp, **lpp, *sp, *eob; in dn_comp()
171 u_char *msg; in dn_comp()
173 dn = (u_char *)exp_dn; in dn_comp()
243 __dn_skipname(const u_char *comp_dn, const u_char *eom) in __dn_skipname()
[all …]
/openbsd/src/games/gomoku/
Dgomoku.h149 u_char a; /* # moves to complete force */
150 u_char b; /* # moves to win */
153 u_char b; /* # moves to win */
154 u_char a; /* # moves to complete force */
179 u_char c_nframes; /* number of frames in the combo */
180 u_char c_dir; /* C:loop frame or F:frame direction */
181 u_char c_flg; /* C:combo flags */
182 u_char c_frameindex; /* C:intersection frame index */
183 u_char c_framecnt[2]; /* number of frames left to attach */
184 u_char c_emask[2]; /* C:bit mask of completion spots for
[all …]
/openbsd/src/usr.sbin/mopd/common/
Dget.h33 u_char mopGetChar(u_char *,int *);
34 u_short mopGetShort(u_char *,int *);
35 u_long mopGetLong(u_char *,int *);
36 void mopGetMulti(u_char *,int *,u_char *,int);
37 int mopGetTrans(u_char *, int);
38 void mopGetHeader(u_char *, int *, u_char **, u_char **, u_short *,
40 u_short mopGetLength(u_char *, int);
Dput.h33 void mopPutChar(u_char *, int *, u_char);
34 void mopPutShort(u_char *, int *, u_short);
35 void mopPutLong(u_char *, int *, u_long);
36 void mopPutMulti(u_char *, int *, u_char *, int);
37 void mopPutTime(u_char *, int *, time_t);
38 void mopPutHeader(u_char *, int *, u_char *, u_char *, u_short, int);
39 void mopPutLength(u_char *, int, u_short);
/openbsd/src/usr.bin/vi/common/
Dlog.c67 static void log_trace(SCR *, char *, recno_t, u_char *);
176 BINC_RET(sp, ep->l_lp, ep->l_len, sizeof(u_char) + sizeof(MARK)); in log_cursor1()
178 memmove(ep->l_lp + sizeof(u_char), &ep->l_cursor, sizeof(MARK)); in log_cursor1()
183 data.size = sizeof(u_char) + sizeof(MARK); in log_cursor1()
250 ep->l_lp, ep->l_len, len + sizeof(u_char) + sizeof(recno_t)); in log_line()
252 memmove(ep->l_lp + sizeof(u_char), &lno, sizeof(recno_t)); in log_line()
253 memmove(ep->l_lp + sizeof(u_char) + sizeof(recno_t), lp, len); in log_line()
258 data.size = len + sizeof(u_char) + sizeof(recno_t); in log_line()
319 ep->l_len, sizeof(u_char) + sizeof(LMARK)); in log_mark()
321 memmove(ep->l_lp + sizeof(u_char), lmp, sizeof(LMARK)); in log_mark()
[all …]
/openbsd/src/lib/libc/stdlib/
Dradixsort.c52 const u_char **sa;
57 (const u_char **, int, int, const u_char *, u_int);
58 static void r_sort_a(const u_char **, int, int, const u_char *, u_int);
59 static void r_sort_b(const u_char **,
60 const u_char **, int, int, const u_char *, u_int);
85 radixsort(const u_char **a, int n, const u_char *tab, u_int endch) in radixsort()
87 const u_char *tr; in radixsort()
89 u_char tr0[256]; in radixsort()
97 sradixsort(const u_char **a, int n, const u_char *tab, u_int endch) in sradixsort()
99 const u_char *tr, **ta; in sradixsort()
[all …]
/openbsd/src/lib/libc/string/
Dstrcasecmp.c34 typedef unsigned char u_char; typedef
41 static const u_char charmap[] = {
79 const u_char *cm = charmap; in strcasecmp()
80 const u_char *us1 = (const u_char *)s1; in strcasecmp()
81 const u_char *us2 = (const u_char *)s2; in strcasecmp()
94 const u_char *cm = charmap; in strncasecmp()
95 const u_char *us1 = (const u_char *)s1; in strncasecmp()
96 const u_char *us2 = (const u_char *)s2; in strncasecmp()
/openbsd/src/sys/dev/usb/
Duslhcomreg.h19 #define USLHCOM_TX_HEADER_SIZE sizeof(u_char)
47 u_char tx_fifo[2]; /* (big endian) */
48 u_char rx_fifo[2]; /* (big endian) */
49 u_char error_status;
50 u_char break_status;
63 u_char product_id;
64 u_char product_revision;
69 u_char baud_rate[4]; /* (big endian) */
70 u_char parity;
71 u_char data_control;
[all …]

12345678910>>...52