Addrlen = 64,
Maxproto = 20,
Nhash = 64,
- Maxincall = 5,
+ Maxincall = 500,
Nchans = 256,
MAClen = 16, /* longest mac address */
};
// INFERNO
enum {
- MaxEther = 4,
+ MaxEther = 32,
MaxFID = 16,
Ntypes = 8,
};
int ctlrno;
char *type;
int irq;
+ unsigned int tbdf;
int port;
int minmtu;
int maxmtu;
void (*closed) (struct ether *);
void (*detach) (struct ether *);
void (*transmit) (struct ether *);
- void (*interrupt) (struct hw_trapframe *, void *);
long (*ifstat) (struct ether *, void *, long, uint32_t);
long (*ctl) (struct ether *, void *, long); /* custom ctl messages */
void (*power) (struct ether *, int); /* power on/off */
/* another case where we wish we had anon struct members. */
struct netif netif;
-
- /* xxxx -- this is a defect in this implementation. */
- unsigned int tbdf;
};
extern struct block *etheriq(struct ether *, struct block *, int);