/* 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; int etp_send_ev; iovec_s_t etp_wr_iovec[IOVEC_NR]; cp_grant_id_t etp_wr_vec_grant; iovec_s_t etp_rd_iovec[RD_IOVEC]; cp_grant_id_t etp_rd_vec_grant; 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 $ */