shithub: riscv

ref: bc0e5ffa2293526ed3cf65a025263d2599c1f331
dir: /sys/src/cmd/nusb/ether/dat.h/

View raw version
enum
{
	Cdcunion = 6,
	Scether = 6,
	Fnether = 15,
};

int debug;
int setmac;

/* to be filled in by *init() */
uchar macaddr[6];
int (*epread)(Dev *, uchar *, int);
void (*epwrite)(Dev *, uchar *, int);

/* temporary buffers */
uchar bout[4*1024];
uchar bin[4*1024];
int nbin;