Lines Matching +full:short +full:- +full:descriptor

7  * copyrights (c) 1994 by Michael Hipp (hippm@informatik.uni-tuebingen.de)
10 * crynwr-packet-driver by Russ Nelson
11 * Garret A. Wollman's i82586-driver for BSD
47 unsigned short zero_dum0; /* has to be zero */
50 unsigned short zero_dum2;
51 unsigned short zero_dum3;
52 char *iscp; /* pointer to the iscp-block */
63 unsigned short scb_offset; /* pointeroffset to the scb_base */
64 char *scb_base; /* base-address of all 16-bit offsets */
76 unsigned short cbl_offset; /* pointeroffset, command block list */
77 unsigned short rfa_offset; /* pointeroffset, receive frame area */
78 unsigned short crc_errs; /* CRC-Error counter */
79 unsigned short aln_errs; /* allignmenterror counter */
80 unsigned short rsc_errs; /* Resourceerror counter */
81 unsigned short ovrn_errs; /* OVerrunerror counter */
88 #define RUC_NOP 0x0000 /* NOP-command */
95 #define CUC_NOP 0x00 /* NOP-command */
126 * Receive Frame Descriptor (RFD)
134 unsigned short next; /* linkoffset to next RFD */
135 unsigned short rbd_offset; /* pointeroffset to RBD-buffer */
136 unsigned char dest[ETH_ALEN]; /* ethernet-address, destination */
137 unsigned char source[ETH_ALEN]; /* ethernet-address, source */
138 unsigned short length; /* 802.3 frame-length */
139 unsigned short zero_dummy; /* dummy */
147 #define RFD_ERR_LEN 0x10 /* Length error (if enabled length-checking */
153 #define RFD_ERR_FTS 0x0080 /* Frame too short */
160 * Receive Buffer Descriptor (RBD)
164 unsigned short status; /* status word,number of used bytes in buff */
165 unsigned short next; /* pointeroffset to next RBD */
167 unsigned short size; /* size of this buffer */
168 unsigned short zero_dummy; /* dummy */
173 #define RBD_MASK 0x3fff /* size-mask for length */
183 * Action-Commands
202 * NOP - command
206 unsigned short cmd_status; /* status of this command */
207 unsigned short cmd_cmd; /* the command itself (+bits) */
208 unsigned short cmd_link; /* offsetpointer to next command */
216 unsigned short cmd_status;
217 unsigned short cmd_cmd;
218 unsigned short cmd_link;
227 unsigned short cmd_status;
228 unsigned short cmd_cmd;
229 unsigned short cmd_link;
230 unsigned char byte_cnt; /* size of the config-cmd */
233 unsigned char adr_len; /* adr_len(0-2),al_loc(3),pream(4-5),loopbak(6-7)*/
234 unsigned char priority; /* lin_prio(0-2),exp_prio(4-6),bof_metd(7) */
237 unsigned char time_high; /* slot time high(0-2) and max. retries(4-7) */
238 unsigned char promisc; /* promisc-mode(0) , et al (1-7) */
239 unsigned char carr_coll; /* carrier(0-3)/collision(4-7) stuff */
249 unsigned short cmd_status;
250 unsigned short cmd_cmd;
251 unsigned short cmd_link;
252 unsigned short mc_cnt; /* number of bytes in the MC-List */
261 unsigned short cmd_status;
262 unsigned short cmd_cmd;
263 unsigned short cmd_link;
264 unsigned short dump_offset; /* pointeroffset to DUMP space */
272 unsigned short cmd_status;
273 unsigned short cmd_cmd;
274 unsigned short cmd_link;
275 unsigned short tbd_offset; /* pointeroffset to TBD */
277 unsigned short length; /* user defined: 802.3 length / Ether type */
292 unsigned short cmd_status;
293 unsigned short cmd_cmd;
294 unsigned short cmd_link;
295 unsigned short status;
301 #define TDR_ET_SRT 0x1000 /* TDR detected a short circuit */
305 * Transmit Buffer Descriptor (TBD)
309 unsigned short size; /* size + EOF-Flag(15) */
310 unsigned short next; /* pointeroffset to next TBD */
314 #define TBD_LAST 0x8000 /* EOF-Flag, indicates last buffer in list */