Lines Matching +full:frame +full:- +full:buffer

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
17 #define NI52_TENA 3 /* 2-5 possibly wrong, Xmit enable */
24 #define NI52_MAGICVAL1 0x00 /* magic-values for ni5210 card */
44 u32 iscp; /* pointer to the iscp-block */
56 u32 scb_base; /* base-address of all 16-bit offsets */
69 u16 rfa_offset; /* pointeroffset, receive frame area */
70 u16 crc_errs; /* CRC-Error counter */
80 #define RUC_NOP 0x0000 /* NOP-command */
87 #define CUC_NOP 0x00 /* NOP-command */
104 #define STAT_FR 0x40 /* RU finished receiving a frame */
118 * Receive Frame Descriptor (RFD)
125 u8 last; /* Bit15,Last Frame on List / Bit14,suspend */
127 u16 rbd_offset; /* pointeroffset to RBD-buffer */
128 u8 dest[6]; /* ethernet-address, destination */
129 u8 source[6]; /* ethernet-address, source */
130 u16 length; /* 802.3 frame-length */
139 #define RFD_ERR_LEN 0x10 /* Length error (if enabled length-checking */
145 #define RFD_ERR_FTS 0x0080 /* Frame to short */
147 #define RFD_ERR_TRUN 0x0020 /* (82596 only/SF mode) indicates truncated frame */
152 * Receive Buffer Descriptor (RBD)
158 u32 buffer; /* receive buffer address pointer */ member
159 u16 size; /* size of this buffer */
163 #define RBD_LAST 0x8000 /* last buffer */
164 #define RBD_USED 0x4000 /* this buffer has data */
165 #define RBD_MASK 0x3fff /* size-mask for length */
170 #define STAT_COMPL 0x8000 /* status: frame/command is complete */
171 #define STAT_BUSY 0x4000 /* status: frame/command is busy */
172 #define STAT_OK 0x2000 /* status: frame/command is ok */
175 * Action-Commands
194 * NOP - command
222 u8 byte_cnt; /* size of the config-cmd */
225 u8 adr_len; /* adr_len(0-2),al_loc(3),pream(4-5),loopbak(6-7)*/
226 u8 priority; /* lin_prio(0-2),exp_prio(4-6),bof_metd(7) */
227 u8 ifs; /* inter frame spacing */
229 u8 time_high; /* slot time high(0-2) and max. retries(4-7) */
230 u8 promisc; /* promisc-mode(0) , et al (1-7) */
231 u8 carr_coll; /* carrier(0-3)/collision(4-7) stuff */
232 u8 fram_len; /* minimal frame len */
244 u16 mc_cnt; /* number of bytes in the MC-List */
268 u8 dest[6]; /* destination address of the frame */
297 * Transmit Buffer Descriptor (TBD)
301 u16 size; /* size + EOF-Flag(15) */
303 u32 buffer; /* pointer to buffer */ member
306 #define TBD_LAST 0x8000 /* EOF-Flag, indicates last buffer in list */