minix/servers/inet/osdep_eth.h
2005-06-28 15:19:58 +00:00

33 lines
590 B
C

/*
inet/osdep_eth.h
Created: Dec 30, 1991 by Philip Homburg
Copyright 1995 Philip Homburg
*/
#ifndef INET__OSDEP_ETH_H
#define INET__OSDEP_ETH_H
#include "generic/event.h"
#define IOVEC_NR 16
#define RD_IOVEC ((ETH_MAX_PACK_SIZE + BUF_S -1)/BUF_S)
typedef struct osdep_eth_port
{
int etp_task;
int etp_port;
int etp_recvconf;
iovec_t etp_wr_iovec[IOVEC_NR];
iovec_t etp_rd_iovec[RD_IOVEC];
event_t etp_recvev;
message etp_sendrepl;
message etp_recvrepl;
} osdep_eth_port_t;
#endif /* INET__OSDEP_ETH_H */
/*
* $PchId: osdep_eth.h,v 1.6 2001/04/20 06:39:54 philip Exp $
*/