source: trunk/minix/servers/inet/osdep_eth.h@ 10

Last change on this file since 10 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 590 bytes
RevLine 
[9]1/*
2inet/osdep_eth.h
3
4Created: Dec 30, 1991 by Philip Homburg
5
6Copyright 1995 Philip Homburg
7*/
8
9#ifndef INET__OSDEP_ETH_H
10#define INET__OSDEP_ETH_H
11
12#include "generic/event.h"
13
14#define IOVEC_NR 16
15#define RD_IOVEC ((ETH_MAX_PACK_SIZE + BUF_S -1)/BUF_S)
16
17typedef struct osdep_eth_port
18{
19 int etp_task;
20 int etp_port;
21 int etp_recvconf;
22 iovec_t etp_wr_iovec[IOVEC_NR];
23 iovec_t etp_rd_iovec[RD_IOVEC];
24 event_t etp_recvev;
25 message etp_sendrepl;
26 message etp_recvrepl;
27} osdep_eth_port_t;
28
29#endif /* INET__OSDEP_ETH_H */
30
31/*
32 * $PchId: osdep_eth.h,v 1.6 2001/04/20 06:39:54 philip Exp $
33 */
Note: See TracBrowser for help on using the repository browser.