1 typedef struct Block Block;
15 #define BLEN(s) ((s)->wp - (s)->rp)
17 Block* allocb(int size);
19 Block* copyblock(Block*, int);
21 typedef struct Ehdr Ehdr;
44 /* to be filled in by *init() */
47 void etheriq(Block*, int wire);
49 int (*epreceive)(Dev*);
50 void (*eptransmit)(Dev*, Block*);